- This topic has 23 replies, 2 voices, and was last updated 20 years, 1 month ago by Riyad Kalla.
-
AuthorPosts
-
Andrew ChengParticipantI suddenly can not auto deploy my file(JSP or Java) to Tomcat
after make change, also, toggle breakpoint, no longer stop on the
breakpoint. DO they have any relation? They come almost at the ame time. They both working before last week. Do I accidentally change something?
Riyad KallaMemberTry and remove your deployment and recreate it. If this doesn’t work, then deploy your app with an exploded deployment, open up your Eclipse log file (workspace dir\.metadata\.log) and then change a file in your project that would normall cause a hot-deploy, then check the log file.. is there an exception?
Andrew ChengParticipantI delete the deployment under Tomecat webapps and redeploy use Myeclipse still doesn’t work.
The metadata was a error show below, but Nov 18th look no error. I don’t what to change, please advice.at org.eclipse.core.internal.jobs.Worker.run(Worker.java:66)
!SUBENTRY 1 org.eclipse.core.resources 4 566 Nov 17, 2004 11:37:47.84
!MESSAGE An error occurred while traversing resources.
!STACK 0
java.lang.NullPointerException
at com.genuitec.eclipse.j2eedt.taglib.AbstractWebTaglibLocator.getServerRoot(Unknown Source)
at com.genuitec.eclipse.j2eedt.taglib.AbstractTaglibLocator.calculateURIForFile(Unknown Source)
at com.genuitec.eclipse.j2eedt.taglib.WebProjectTaglibLocator.searchTLDFile(Unknown Source)
at com.genuitec.eclipse.j2eedt.taglib.WebProjectTaglibLocator.searchFile(Unknown Source)
at com.genuitec.eclipse.j2eedt.taglib.WebProjectTaglibLocator$2.visit(Unknown Source)
at org.eclipse.core.internal.resources.Resource$2.visit(Resource.java:108)
at org.eclipse.core.internal.resources.Resource$1.visitElement(Resource.java:55)
at org.eclipse.core.internal.watson.ElementTreeIterator.doIteration(ElementTreeIterator.java:78)
at org.eclipse.core.internal.watson.ElementTreeIterator.iterate(ElementTreeIterator.java:123)
at org.eclipse.core.internal.resources.Resource.accept(Resource.java:65)
at org.eclipse.core.internal.resources.Resource.accept(Resource.java:106)
at org.eclipse.core.internal.resources.Resource.accept(Resource.java:85)
at com.genuitec.eclipse.j2eedt.taglib.WebProjectTaglibLocator.search(Unknown Source)
at com.genuitec.eclipse.j2eedt.taglib.AbstractTaglibRegistry.searchForTaglibs(Unknown Source)
at com.genuitec.eclipse.j2eedt.taglib.AbstractTaglibRegistry.processFile(Unknown Source)
at com.genuitec.eclipse.j2eedt.taglib.AbstractTaglibRegistry$1.visit(Unknown Source)
at org.eclipse.core.internal.resources.Resource$2.visit(Resource.java:108)
at org.eclipse.core.internal.resources.Resource$1.visitElement(Resource.java:55)
at org.eclipse.core.internal.watson.ElementTreeIterator.doIteration(ElementTreeIterator.java:78)
at org.eclipse.core.internal.watson.ElementTreeIterator.doIteration(ElementTreeIterator.java:82)
at org.eclipse.core.internal.watson.ElementTreeIterator.doIteration(ElementTreeIterator.java:82)
at org.eclipse.core.internal.watson.ElementTreeIterator.doIteration(ElementTreeIterator.java:82)
at org.eclipse.core.internal.watson.ElementTreeIterator.iterate(ElementTreeIterator.java:123)
at org.eclipse.core.internal.resources.Resource.accept(Resource.java:65)
at org.eclipse.core.internal.resources.Resource.accept(Resource.java:106)
at org.eclipse.core.internal.resources.Resource.accept(Resource.java:85)
at com.genuitec.eclipse.j2eedt.taglib.AbstractTaglibRegistry.handleResourceModified(Unknown Source)
at com.genuitec.eclipse.j2eedt.taglib.AbstractTaglibRegistry.handleResourceAdded(Unknown Source)
at com.genuitec.eclipse.j2eedt.taglib.AbstractTaglibRegistry.refresh(Unknown Source)
at com.genuitec.eclipse.j2eedt.taglib.AbstractTaglibRegistry.<init>(Unknown Source)
at com.genuitec.eclipse.j2eedt.taglib.WebTaglibRegistry.<init>(Unknown Source)
at com.genuitec.eclipse.j2eedt.taglib.TaglibRegistryManager.createNewRegistry(Unknown Source)
at com.genuitec.eclipse.j2eedt.taglib.TaglibRegistryManager.getTaglibRegistry(Unknown Source)
at com.genuitec.eclipse.j2eedt.core.J2EEProjectUtil.getTaglibURIStream(Unknown Source)
at com.ibm.sse.model.util.ProjectResolver.getURIStream(Unknown Source)
at com.ibm.sse.model.jsp.contentmodel.tld.TLDCMDocumentManager.loadTaglib(Unknown Source)
at com.ibm.sse.model.jsp.contentmodel.tld.TLDCMDocumentManager.getCMDocument(Unknown Source)
at com.ibm.sse.model.jsp.contentmodel.tld.TLDCMDocumentManager$DirectiveStructuredDocumentRegionHandler.enableTaglibFromURI(Unknown Source)
at com.ibm.sse.model.jsp.contentmodel.tld.TLDCMDocumentManager$DirectiveStructuredDocumentRegionHandler.processTaglib(Unknown Source)
at com.ibm.sse.model.jsp.contentmodel.tld.TLDCMDocumentManager$DirectiveStructuredDocumentRegionHandler.processTaglib(Unknown Source)
at com.ibm.sse.model.jsp.contentmodel.tld.TLDCMDocumentManager$DirectiveStructuredDocumentRegionHandler.nodeParsed(Unknown Source)
at com.ibm.sse.model.xml.internal.parser.XMLSourceParser.fireNodeParsed(Unknown Source)
at com.ibm.sse.model.jsp.parser.JSPSourceParser.parseNodes(Unknown Source)
at com.ibm.sse.model.xml.internal.parser.XMLSourceParser.getDocumentRegions(Unknown Source)
at com.ibm.sse.model.internal.text.BasicStructuredDocument.setText(Unknown Source)
at com.ibm.sse.model.internal.text.BasicStructuredDocument.set(Unknown Source)
at com.ibm.sse.model.jsp.modelquery.ModelQueryAdapterFactoryForJSP$TaglibSupportModelLifecycleListener.setDocument(Unknown Source)
at com.ibm.sse.model.jsp.modelquery.ModelQueryAdapterFactoryForJSP$TaglibSupportModelLifecycleListener.processPostModelEvent(Unknown Source)
at com.ibm.sse.model.LifecycleNotificationManager.signalLifecycleEvent(Unknown Source)
at com.ibm.sse.model.AbstractStructuredModel.signalLifecycleEvent(Unknown Source)
at com.ibm.sse.model.AbstractStructuredModel.setStructuredDocument(Unknown Source)
at com.ibm.sse.model.xml.internal.document.XMLModelImpl.setStructuredDocument(Unknown Source)
at com.ibm.sse.model.AbstractModelLoader.load(Unknown Source)
at com.ibm.sse.model.ModelManagerImpl._commonGetModel(Unknown Source)
at com.ibm.sse.model.ModelManagerImpl._commonGetModel(Unknown Source)
at com.ibm.sse.model.ModelManagerImpl.getModelForRead(Unknown Source)
at com.ibm.sse.model.jsp.internal.java.search.JSPSearchDocument.createCompilationUnit(Unknown Source)
at com.ibm.sse.model.jsp.internal.java.search.JSPSearchDocument.<init>(Unknown Source)
at com.ibm.sse.model.jsp.internal.java.search.JSPSearchSupport.addJspFile(Unknown Source)
at com.ibm.sse.model.jsp.internal.java.search.JSPIndexManager$2.visit(Unknown Source)
at org.eclipse.core.internal.events.ResourceDelta.accept(ResourceDelta.java:68)
at org.eclipse.core.internal.events.ResourceDelta.accept(ResourceDelta.java:77)
at org.eclipse.core.internal.events.ResourceDelta.accept(ResourceDelta.java:77)
at org.eclipse.core.internal.events.ResourceDelta.accept(ResourceDelta.java:77)
at org.eclipse.core.internal.events.ResourceDelta.accept(ResourceDelta.java:49)
at com.ibm.sse.model.jsp.internal.java.search.JSPIndexManager$1.run(Unknown Source)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:66)!ENTRY com.ibm.sse.model.jsp 2 2 Nov 17, 2004 17:07:22.889
!MESSAGE SAXParseException while reading descriptorValue must be quoted.!ENTRY com.ibm.sse.model.jsp 2 2 Nov 17, 2004 17:07:22.982
!MESSAGE SAXException while reading descriptororg.xml.sax.SAXParseException: Value must be quoted.
Riyad KallaMemberjava.lang.NullPointerException
at com.genuitec.eclipse.j2eedt.taglib.AbstractWebTaglibLocator.getServerRoot(Unknown Source)Strange! Can you open your project properties and go to “MyEclipse-Web”, do you have a Web Root and Context Root setup? Are either of them blank?
Andrew ChengParticipantBoth have value, but I use ‘web’ instead of using ‘WebRoot’ as
normal MyEclipse default. I use ‘web’ for a long time.
Andrew ChengParticipantmy other big problem is Debug no long work as well. AutoDeploy is tighted with Debug.
Riyad KallaMemberUsing ‘web’ should be fine…
Can you shut down Eclipse, erase your log file, then restart Eclipse and then erase and recreate your deployment, then start your application server, then make some changes that would cause an autodeploy and check your log file? Does it exist? Are there any exceptions in it?
I want to make sure we are tracking down the right problem here…
Andrew ChengParticipant@ayc868 wrote:
my other big problem is that Debug no long work. AutoDeploy is tighted with Debug I believe
Riyad KallaMemberDebugging is broken too? There must have been something that changed on your machine recently…. try checking your JDK version and Application server version… what are they? What version of Eclipse are you using?
Andrew ChengParticipantWhich log file? Tomcat or MyEclipse Metadata
Andrew ChengParticipantMy JDK, WEB Server, and MyEclipse have never change for at least two months. Autodeployment and debug is still working last week.
Andrew ChengParticipantMy JDK, WEB Server, and MyEclipse have never change for at least two months. Autodeployment and debug is still working last week. The only different is working on different project this week. I just proved that my the other project debug is still working
Riyad KallaMemberThe Eclipse log file (workspace dir\.metadata\.log).
Please tell me what your JDK/WEbServer and MyEclipse version are.
Can you look into your .mymetadata file and compare the two files between the Working project and the Not Working project? Is the ‘not working’ project a Web Project or a Java Project?
Andrew ChengParticipantI only see either .metadata(on webapps) or .myeclipse(on each project). .metadata only content .log
.myeclipse is empty for every project.WEbServer Tomcat 5.0
JDK 1.4.2_02
MyEclipse 3.8.2
Riyad KallaMemberYou should have a file .mymetadata for each file, you likely have to change to the Navigator view to see it… do the contents look similar?
-
AuthorPosts