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
gags_78
Post subject: JSP debugging doesn't work in Java Project [Closed]  PostPosted: Dec 14, 2004 - 10:38 PM



Joined: Dec 14, 2004
Posts: 6

Hi there,

I have two jsp files int two seperate projects with breakpoints in both. Debugging stops in one yet not in the other.

I have the same extra weblogic configuration in both.

The only thing I can think of is that one of the projects was a struts project I created with the aid of the online tutorial you guys provided here. [Nice one by the way].

The second project is just a run of the mill java project with some jsps in it. Debugging doesn't work in this project.
If indeed the project type is the problem is there anyway to port it from one project type to another?

I'm running Eclipse 2.1.1 with the MyEclipse Plugin and deploying within MyEclipse to a Weblogic 8.1 server.
I've looking the weblogic console for both web deployments and JSP debugging is checked for both.

Thanks in advance,
Mark.

P.s. Excellent product you have here but I'm finding it hard to get people here interested in it? Could you provide me with a few bullet points I can hit folks with to try and spread the good news?
 
 View user's profile Send private message  
Reply with quote Back to top
support-rkalla
Post subject:   PostPosted: Dec 14, 2004 - 11:02 PM
Registered Member
Registered Member


Joined: Jan 06, 2004
Posts: 23824

Quote:
If indeed the project type is the problem is there anyway to port it from one project type to another?

No problem, just right click on your existing project, MyEclipse > Add Web Capabilities; this will convert the project to a Web Project and is most likely the problem.

Quote:
I'm running Eclipse 2.1.1 with the MyEclipse Plugin

Development for the Eclipse 2.x platform stopped a few months back, all our new features and development efforts are going into our MyEclipse 3.x series... 3.8.3 just came out today and is really a huge leap in functionality over the version you are most likely running (2.8 Beta is the most recent 2.x series release). We would encourage you to upgrade unless you need to stick with the 2.x series for now (corporate rule).

Quote:
P.s. Excellent product you have here but I'm finding it hard to get people here interested in it? Could you provide me with a few bullet points I can hit folks with to try and spread the good news?

First let us thank you for the support, we appreciate it. You can check out our features matrix for a great overview of everything: http://www.myeclipseide.com/ContentExpress-display-ceid-15.html

_________________
Riyad
MyEclipse Support
 
 View user's profile Send private message Visit poster's website  
Reply with quote Back to top
gags_78
Post subject:   PostPosted: Dec 16, 2004 - 02:44 PM



Joined: Dec 14, 2004
Posts: 6

Thanks a million for the quick heads up.

I haven't moved to Eclipse 3 myself at this stage.
I was using it a couple of weeks ago but for some reason it kept building in the background on me? There'd be two or three build's waiting to happen.

Some of my colleagues have used it with success though so I'll probably give it another go when I can spare the time.

THanks again for your help,

Mark.
 
 View user's profile Send private message  
Reply with quote Back to top
gags_78
Post subject:   PostPosted: Dec 16, 2004 - 03:11 PM



Joined: Dec 14, 2004
Posts: 6

Hi Rkalla,

I tried that Adding the Web Capabilities.
Unfortunately it hung the workbench and meant I had to kill it at the task manager. when I brought it back up I tried it again and this time after entering in the WebRoot as the Web Root Directory and clicking finish it didn't do anything and I could press the finish button repeatedly.

The first time when it crashed the suite I had weblogic running within MyEclipse at the same time. Could that have caused conflict?

THanks
Mark.
 
 View user's profile Send private message  
Reply with quote Back to top
support-rkalla
Post subject:   PostPosted: Dec 16, 2004 - 03:18 PM
Registered Member
Registered Member


Joined: Jan 06, 2004
Posts: 23824

Mark,
Check your log file for exceptions that might help us figure out what is going on: <workspace dir>\.metadata\.log

_________________
Riyad
MyEclipse Support
 
 View user's profile Send private message Visit poster's website  
Reply with quote Back to top
gags_78
Post subject:   PostPosted: Dec 16, 2004 - 04:24 PM



Joined: Dec 14, 2004
Posts: 6

Hi Rkalla,

Here's the exception that's is being thrown.

!SESSION Dec 16, 2004 16:24:53.79 ----------------------------------------------
java.version=1.4.2_04
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
Command-line arguments: -os win32 -ws win32 -arch x86 -install file:C:/eclipse2.1.1/
!ENTRY com.genuitec.eclipse.j2eedt.core 1 1 Dec 16, 2004 16:24:53.79
!MESSAGE WebProject Capabilities Error:
!STACK 1
Java Model Exception: Java Model Status [Classpath contains duplicate entry: C:MyEclipse/eclipse/plugins/com.genuitec.eclipse.j2eedt.core_2.7.101/data/libraryset/1.3/activation.jar]
at org.eclipse.jdt.internal.core.JavaModelOperation.execute(JavaModelOperation.java:367)
at org.eclipse.jdt.internal.core.JavaModelOperation.run(JavaModelOperation.java:684)
at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1595)
at org.eclipse.jdt.internal.core.JavaElement.runOperation(JavaElement.java:543)
at org.eclipse.jdt.internal.core.JavaProject.setRawClasspath(JavaProject.java:2159)
at org.eclipse.jdt.internal.core.JavaProject.setRawClasspath(JavaProject.java:2123)
at com.genuitec.eclipse.j2eedt.core.builder.WebProjectConverter.ā(Unknown Source)
at com.genuitec.eclipse.j2eedt.core.builder.WebProjectConverter.convert(Unknown Source)
at com.genuitec.eclipse.j2eedt.ui.wizard.WebProjectConversionWizard.performFinish(Unknown Source)
at org.eclipse.jface.wizard.WizardDialog.finishPressed(WizardDialog.java:608)
at org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDialog.java:321)
at org.eclipse.jface.dialogs.Dialog$1.widgetSelected(Dialog.java:423)
at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:89)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:81)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:840)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:1838)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:1545)
at org.eclipse.jface.window.Window.runEventLoop(Window.java:583)
at org.eclipse.jface.window.Window.open(Window.java:563)
at com.genuitec.eclipse.j2eedt.ui.action.WebProjectConversionActionDelegate.basicRun(Unknown Source)
at com.genuitec.eclipse.j2eedt.ui.action.WebProjectConversionActionDelegate.run(Unknown Source)
at com.genuitec.eclipse.core.ui.action.LicenseValidatingActionDelegate.runWithEvent(Unknown Source)
at org.eclipse.ui.internal.PluginAction.runWithEvent(PluginAction.java:241)
at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:456)
at org.eclipse.jface.action.ActionContributionItem.handleWidgetEvent(ActionContributionItem.java:403)
at org.eclipse.jface.action.ActionContributionItem.access$0(ActionContributionItem.java:397)
at org.eclipse.jface.action.ActionContributionItem$ActionListener.handleEvent(ActionContributionItem.java:72)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:81)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:840)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:1838)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:1545)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1402)
at org.eclipse.ui.internal.Workbench.run(Workbench.java:1385)
at org.eclipse.core.internal.boot.InternalBootLoader.run(InternalBootLoader.java:858)
at org.eclipse.core.boot.BootLoader.run(BootLoader.java:461)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.core.launcher.Main.basicRun(Main.java:291)
at org.eclipse.core.launcher.Main.run(Main.java:747)
at org.eclipse.core.launcher.Main.main(Main.java:583)
!ENTRY org.eclipse.jdt.core 4 977 Dec 16, 2004 16:24:53.79
!MESSAGE Classpath contains duplicate entry: C:MyEclipse/eclipse/plugins/com.genuitec.eclipse.j2eedt.core_2.7.101/data/libraryset/1.3/activation.jar

Thanks,
Mark.
 
 View user's profile Send private message  
Reply with quote Back to top
support-rkalla
Post subject:   PostPosted: Dec 16, 2004 - 04:29 PM
Registered Member
Registered Member


Joined: Jan 06, 2004
Posts: 23824

Mark,
Can you fix this problem first:
Quote:
!MESSAGE Classpath contains duplicate entry: C:MyEclipse/eclipse/plugins/com.genuitec.eclipse.j2eedt.core_2.7.101/data/libraryset/1.3/activation.jar
?
I think maybe you have added JavaMail manually to your project and subsequently your classpath, but its already included in our 1.3 Library Set, so you are getting a conflict and the web caps are freaking out.

_________________
Riyad
MyEclipse Support
 
 View user's profile Send private message Visit poster's website  
Reply with quote Back to top
gags_78
Post subject:   PostPosted: Dec 16, 2004 - 05:21 PM



Joined: Dec 14, 2004
Posts: 6

Hi Riyad,

I can't find any other activation.jar in my classpath? Would it be the activation.jar that's been included twice?

thanks,
Mark.
 
 View user's profile Send private message  
Reply with quote Back to top
support-rkalla
Post subject:   PostPosted: Dec 16, 2004 - 05:32 PM
Registered Member
Registered Member


Joined: Jan 06, 2004
Posts: 23824

Hmm, try and remove the Library Set from your classpath, then navigate to the MyEclipse > J2EE Projects > Library Sets prefrence panel, select the 1.3 library set and hit "Restore Defaults" then Apply and OK. Then go and re-add it. Tehn try and add web caps, does it work?

If it doesn't I would encourage you to move to Eclipse 3.0.1 and MyEclipse 3.8.3.

_________________
Riyad
MyEclipse Support
 
 View user's profile Send private message Visit poster's website  
Reply with quote Back to top
gags_78
Post subject:   PostPosted: Dec 16, 2004 - 05:52 PM



Joined: Dec 14, 2004
Posts: 6

I tried that and after clicking apply -> ok I got the following error twice
'Missing Required library:C:MyEclipse......activation.jar'
I've since replaced the jar into the classpath and am refreshing the project now.

I removed the activation.jar from the classpath by renaming it to activation.jar.old
Is this what you meant?

Thanks,
Mark.
 
 View user's profile Send private message  
Reply with quote Back to top
support-rkalla
Post subject:   PostPosted: Dec 16, 2004 - 06:01 PM
Registered Member
Registered Member


Joined: Jan 06, 2004
Posts: 23824

I actually mean just removing it from your classpath
Java Build Path > Libraries > (select it) > Remove

_________________
Riyad
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