MyEclipse Forums
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Author Message
gilesparnell
Post subject: Trying to debug using my existing project  PostPosted: Jul 16, 2003 - 07:19 AM



Joined: Jul 15, 2003
Posts: 6

Hi there

This is a follow on from this article: http://www.myeclipseide.com/index.php? name=PNphpBB2&file=viewtopic&t=184

I've installed Tomcat and have gone through the tutorial of debugging jsps with myEclipse. All very very nice - works like a treat.

Now I'm currently using Orion2.02 as my webserver aswell as my app server.... but now i want to use the good stuff of being able to debug my jsps. (but only possible through Tomcat, weblogic blaa). So my question is really how do i separate my web app layer from orion and use tomcat to service this layer?

Is it going to be possible for me to:
A) Use Tomcat as my webserver ?
(i've checked the Atlassian and Orion forms - most folks seem to be tring to go the other way .... Tomcat to Orion)
B) And hopefully, once spearated i assume i can debug (using tomcat)


I'm using struts and my actions only make calls to one session facade (with a remote interface)
 
 View user's profile Send private message  
Reply with quote Back to top
gilesparnell
Post subject: continued ....  PostPosted: Jul 16, 2003 - 07:26 AM



Joined: Jul 15, 2003
Posts: 6

(bugger) ...sorry submitted before i had finished (damn tabs)

The last point was just 'wonderings' on how the jndi lookup would happen?

I suppose one has to ask.. are the likes of orion etc moving towards JSR-045 compatibility at any stage soon ?

Hope this all makes some sort of sense.

Cheers

PS: Not being nosey -> but are you the same Scott from Atlasian (if it is indeed scott replying) ??? :D
 
 View user's profile Send private message  
Reply with quote Back to top
support-scott
Post subject:   PostPosted: Jul 16, 2003 - 03:01 PM
Moderator
Moderator


Joined: May 06, 2003
Posts: 6760

Giles,

Good set of questions.

Quote:

I've installed Tomcat and have gone through the tutorial of debugging jsps with myEclipse. All very very nice - works like a treat.


Great to hear.

Quote:

Now I'm currently using Orion2.02 as my webserver aswell as my app server.... but now i want to use the good stuff of being able to debug my jsps.


Unfortunately, Orion 2.02 doesn't support JSR-045 debugging yet so there's not much we can do about that one.

Quote:

So my question is really how do i separate my web app layer from orion and use tomcat to service this layer?


Unfortunately, there's more to it than that. Orion would actually have to be using Tomcat, internally, to handle its JSP pages. This would be similar to the way you can download the integrated JBoss/Tomcat bundle. The JBoss guys do a direct integration, run in the same VM and share class loaders. Unfortunately, they don't integrate with Tomcat 5 yet.

Thinking about it further, you should be able to set up a standalone web project and deploy it to Tomcat 5. Then take your EJB project, and deploy it to Orion. Like I said, that should work and give you JSP debugging on Tomcat 5 while running the rest of your app on Orion.

Quote:

I'm using struts and my actions only make calls to one session facade (with a remote interface)


That's a nice clean separation so it will be relatively straightforward. Naturally, you'll have to package the "shared" classes into both projects since without an EAR structure you can't take advantage of the normal classloader hierarchies. And the EJB interfaces, of course.

Quote:

The last point was just 'wonderings' on how the jndi lookup would happen?


Instead of using 'new InitialContext()' you'll use new InitialContext(properties)'. The properties item will tell where to locate the naming factory, among other things. Those settings are appserver dependent and I've forgotten what they are for Orion at the moment. I always seem to be able to find it on either orionserver.com or orionsupport.com.

Quote:

I suppose one has to ask.. are the likes of orion etc moving towards JSR-045 compatibility at any stage soon ?


That's a good question for Atlasian. The don't mention it on their website, as far as I've determined.

Quote:

PS: Not being nosey -> but are you the same Scott from Atlasian


Nope. Simply a naming collision caused by unimaginative parents. ;-)

--Scott
MyEclipse Support

_________________
--Scott
MyEclipse Support
 
 View user's profile Send private message Visit poster's website  
Reply with quote Back to top
Display posts from previous:     
Jump to:  
All times are GMT - 6 Hours
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Powered by PNphpBB2 © 2003-2004 The PNphpBB Group
Credits