You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@tuscany.apache.org by kr...@gmx.de on 2006/10/04 18:16:35 UTC

Viewing deployed Services and debugging SCA-Modules

Hi!

Is there a possibility to view the deployed Webservices? I use the SCA-modified Tomcat with its Axis2. Normally, Axis2 has a Web-Frontend for viewing the services, but SCA uses only the Axis2-Kernel without this tool.

How can I debug the deployed .war-Modules? I am new to Maven, so I don't know how to integrate the project correctly with Eclipse. I succeeded in creating Eclipse-Projects, but these are "normal" Java-Projects and to attach the webserver a Web-Project is needed.

Hoping for help,
best regards,
Katja
-- 
Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen! 
Ideal für Modem und ISDN: http://www.gmx.net/de/go/smartsurfer

---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-user-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-user-help@ws.apache.org


Re: Viewing deployed Services and debugging SCA-Modules

Posted by kr...@gmx.de.
Hi Raymond!

Thanks for your answer!
I'm really happy, that I can debug my application now!

Yes, I tried the Axis2 web-page. I installed the Axis2 .war-achive into tomcat. But this installed another "normal" instance of Axis2. Its web-page showed only the bundled service of Axis2 called "version". So viewing my deployed services in the SCA-Axis2 is not possible. Have you any idea?

Best regards,
Katja

-------- Original-Nachricht --------
Datum: Wed, 4 Oct 2006 17:07:48 -0700
Von: "Raymond Feng" <en...@gmail.com>
An: tuscany-user@ws.apache.org
Betreff: Re: Viewing deployed Services and debugging SCA-Modules

> Hi,
> 
> 1) Did you try the Axis2 web page to see if it shows Tuscany web services?
> 
> 2) You can use maven eclipse plugin to generate .classpath and .project 
> files so that you can import them into your Eclipse workspace.
> 
> After checking out the Tuscany code from SVN, run the following mvn 
> commands:
> 
> > mvn -Declipse.workspace=<path-to-eclipse-workspace>
> eclipse:add-maven-repo
> > mvn eclipse:eclipse
> 
> Then you can use the "Import existing projects" wizard to load them into 
> your Eclipse workspace.
> 
> For more information, please check: 
> http://maven.apache.org/plugins/maven-eclipse-plugin/overview.html
> 
> 3) You can start Tomcat in debug mode by modifying the scripts to start 
> Tomcat with the following options.
> 
> -Djava.compiler=NONE -Xdebug -Xnoagent
> -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=8000
> 
> Then create Debug profile with "Remote Java Application" in Eclipse.
> Running 
> that profile will attach Eclipse to the Tomcat process.
> 
> Thanks,
> Raymond
> 
> ----- Original Message ----- 
> From: <kr...@gmx.de>
> To: <tu...@ws.apache.org>
> Sent: Wednesday, October 04, 2006 9:16 AM
> Subject: Viewing deployed Services and debugging SCA-Modules
> 
> 
> > Hi!
> >
> > Is there a possibility to view the deployed Webservices? I use the 
> > SCA-modified Tomcat with its Axis2. Normally, Axis2 has a Web-Frontend
> for 
> > viewing the services, but SCA uses only the Axis2-Kernel without this 
> > tool.
> >
> > How can I debug the deployed .war-Modules? I am new to Maven, so I don't
> > know how to integrate the project correctly with Eclipse. I succeeded in
> > creating Eclipse-Projects, but these are "normal" Java-Projects and to 
> > attach the webserver a Web-Project is needed.
> >
> > Hoping for help,
> > best regards,
> > Katja
> > -- 
> > Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen!
> > Ideal für Modem und ISDN: http://www.gmx.net/de/go/smartsurfer
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: tuscany-user-unsubscribe@ws.apache.org
> > For additional commands, e-mail: tuscany-user-help@ws.apache.org
> > 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tuscany-user-unsubscribe@ws.apache.org
> For additional commands, e-mail: tuscany-user-help@ws.apache.org

-- 
GMX DSL-Flatrate 0,- Euro* - Überall, wo DSL verfügbar ist!
NEU: Jetzt bis zu 16.000 kBit/s! http://www.gmx.net/de/go/dsl

---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-user-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-user-help@ws.apache.org


Re: Viewing deployed Services and debugging SCA-Modules

Posted by Raymond Feng <en...@gmail.com>.
Hi,

1) Did you try the Axis2 web page to see if it shows Tuscany web services?

2) You can use maven eclipse plugin to generate .classpath and .project 
files so that you can import them into your Eclipse workspace.

After checking out the Tuscany code from SVN, run the following mvn 
commands:

> mvn -Declipse.workspace=<path-to-eclipse-workspace> eclipse:add-maven-repo
> mvn eclipse:eclipse

Then you can use the "Import existing projects" wizard to load them into 
your Eclipse workspace.

For more information, please check: 
http://maven.apache.org/plugins/maven-eclipse-plugin/overview.html

3) You can start Tomcat in debug mode by modifying the scripts to start 
Tomcat with the following options.

-Djava.compiler=NONE -Xdebug -Xnoagent -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=8000

Then create Debug profile with "Remote Java Application" in Eclipse. Running 
that profile will attach Eclipse to the Tomcat process.

Thanks,
Raymond

----- Original Message ----- 
From: <kr...@gmx.de>
To: <tu...@ws.apache.org>
Sent: Wednesday, October 04, 2006 9:16 AM
Subject: Viewing deployed Services and debugging SCA-Modules


> Hi!
>
> Is there a possibility to view the deployed Webservices? I use the 
> SCA-modified Tomcat with its Axis2. Normally, Axis2 has a Web-Frontend for 
> viewing the services, but SCA uses only the Axis2-Kernel without this 
> tool.
>
> How can I debug the deployed .war-Modules? I am new to Maven, so I don't 
> know how to integrate the project correctly with Eclipse. I succeeded in 
> creating Eclipse-Projects, but these are "normal" Java-Projects and to 
> attach the webserver a Web-Project is needed.
>
> Hoping for help,
> best regards,
> Katja
> -- 
> Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen!
> Ideal für Modem und ISDN: http://www.gmx.net/de/go/smartsurfer
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tuscany-user-unsubscribe@ws.apache.org
> For additional commands, e-mail: tuscany-user-help@ws.apache.org
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-user-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-user-help@ws.apache.org