facebook

Tomcat 5.0 smart deployment

  1. MyEclipse Archived
  2.  > 
  3. Application Servers and Deployment
Viewing 11 posts - 1 through 11 (of 11 total)
  • Author
    Posts
  • #218285 Reply

    junid
    Member

    – System Setup ——————————-
    Operating System and version: Window XP SP1
    Eclipse version: 3.0.0
    Eclipse build id: 200406251208
    Fresh Eclipse install (y/n): y
    If not, was it upgraded to its current version using the update manager?
    Other installed external plugins:
    Number of plugins in the <eclipse>/plugins directory that begin with org.eclipse.pde.*: 8
    MyEclipse version: 3.8.2
    Eclipse JDK version: 1.4.2
    Application Server JDK version: 1.4.2
    Are there any exceptions in the Eclipse log file? N

    – Message Body ——————————-
    Hi, I’m working on a web project that includes another Java project in MyEclipse. When deploying to Tomcat 5.0.25 using the smart deployment option, the included Java project is not included in the deployment. The problem is it works in my previous computer. I even tried to copy the previous workspace but still got the same problem.

    #218296 Reply

    Riyad Kalla
    Member

    You may want to double check the deployment settings for that Web project with respect to its dependencies… go to your project properties and then MyEclipse-Web, I believe you’ll want to setup your dependent project to be copied into your WEB-INF/classes folder. If you set it up to JAR it up and put it in /lib, it will not do that real-time as re-creating a JAR and deploying it every single time something changes is not only potentially too expensive, but likely won’t work as Tomcat will probably have the JAR locked for reading/loading.

    #218426 Reply

    junid
    Member

    Done that. The problem is it works in some machine but not others. Tried this because I happened to move to other project.
    Got another problem today, I went back to the machine that was working (with smart deployment option), update the project from CVS, suddenly it does not work. The dependent project was not merged into teh WEB-INF/classes. I then changed to the JAR setting, removed the deployment and redeployed. The JAR-ed dependent project is included in the /lib directory.
    Have no idea what really cause it and haven’t found any clue yet. Same settings on different machines cause different behavior. It actually works on some machine, just as you suggested. But the same setting cannot do on others. When deploying, the dependent project just is not processed. When deploying, the progress just stop on the main web project. Try to change the settings to JAR, and it works.
    Got any clue?

    #218427 Reply

    Riyad Kalla
    Member

    If you then change it BACK to the /classes type of deployment from the JAR one on the machines that it doesn’t work on, does it all the sudden work again?

    #218428 Reply

    junid
    Member

    I tried to change it back to the /classes type of deployment, and still not working. Tried several options: change to JAR, deploy, change to smart, redeploy, still does not work. Previously the same problem occured, decided to stick to JAR, but after some time get quite annoyed (because the project is quite big and take quite some time to redeploy), I tried to change to Smart deployment and it just work. Do you need any other information/settings that may help you in determining the cause?

    #218429 Reply

    Riyad Kalla
    Member

    See if there are any exceptions related to this in the Eclipse log file: <workspace dir>\.metadata\.log, this might help us determine what is going on.

    #218439 Reply

    junid
    Member

    Here is the exception on the .log file:

    More later exceptions:

    !ENTRY org.eclipse.core.runtime 4 2 Oct 20, 2004 14:34:41.433
    !MESSAGE Problems occurred when invoking code from plug-in: “org.eclipse.core.runtime”.
    !STACK 0
    java.lang.NullPointerException
    at com.genuitec.eclipse.ast.deploy.core.DeployedResourceEventProcessor.�(Unknown Source)
    at com.genuitec.eclipse.ast.deploy.core.DeployedResourceEventProcessor.access$0(Unknown Source)
    at com.genuitec.eclipse.ast.deploy.core.DeployedResourceEventProcessor$B.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:49)
    at com.genuitec.eclipse.ast.deploy.core.DeployedResourceEventProcessor.resourceChanged(Unknown Source)
    at org.eclipse.core.internal.events.NotificationManager$2.run(NotificationManager.java:283)
    at org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java:615)
    at org.eclipse.core.runtime.Platform.run(Platform.java:747)
    at org.eclipse.core.internal.events.NotificationManager.notify(NotificationManager.java:277)
    at org.eclipse.core.internal.events.NotificationManager.broadcastChanges(NotificationManager.java:151)
    at org.eclipse.core.internal.resources.Workspace.broadcastChanges(Workspace.java:172)
    at org.eclipse.core.internal.resources.Workspace.endOperation(Workspace.java:900)
    at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1682)
    at org.eclipse.core.internal.events.NotificationManager$NotifyJob.run(NotificationManager.java:38)
    at org.eclipse.core.internal.jobs.Worker.run(Worker.java:66)
    !SESSION Oct 28, 2004 15:13:41.293 ———————————————

    !ENTRY org.eclipse.core.runtime 4 2 Oct 28, 2004 15:13:55.128
    !MESSAGE Problems occurred when invoking code from plug-in: “org.eclipse.core.runtime”.
    !STACK 0
    java.lang.NullPointerException
    at com.genuitec.eclipse.ast.deploy.core.DeployedResourceEventProcessor.�(Unknown Source)
    at com.genuitec.eclipse.ast.deploy.core.DeployedResourceEventProcessor.access$0(Unknown Source)
    at com.genuitec.eclipse.ast.deploy.core.DeployedResourceEventProcessor$B.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:49)
    at com.genuitec.eclipse.ast.deploy.core.DeployedResourceEventProcessor.resourceChanged(Unknown Source)
    at org.eclipse.core.internal.events.NotificationManager$2.run(NotificationManager.java:283)
    at org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java:615)
    at org.eclipse.core.runtime.Platform.run(Platform.java:747)
    at org.eclipse.core.internal.events.NotificationManager.notify(NotificationManager.java:277)
    at org.eclipse.core.internal.events.NotificationManager.broadcastChanges(NotificationManager.java:151)
    at org.eclipse.core.internal.resources.Workspace.broadcastChanges(Workspace.java:172)
    at org.eclipse.core.internal.resources.Workspace.endOperation(Workspace.java:900)
    at org.eclipse.core.internal.resources.Resource.delete(Resource.java:695)
    at org.eclipse.jdt.internal.core.builder.BatchImageBuilder$3.visit(BatchImageBuilder.java:153)
    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.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.jdt.internal.core.builder.BatchImageBuilder.cleanOutputFolders(BatchImageBuilder.java:141)
    at org.eclipse.jdt.internal.core.builder.BatchImageBuilder.build(BatchImageBuilder.java:35)
    at org.eclipse.jdt.internal.core.builder.JavaBuilder.buildAll(JavaBuilder.java:213)
    at org.eclipse.jdt.internal.core.builder.JavaBuilder.build(JavaBuilder.java:141)
    at org.eclipse.core.internal.events.BuildManager$2.run(BuildManager.java:564)
    at org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java:615)
    at org.eclipse.core.runtime.Platform.run(Platform.java:747)
    at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:157)
    at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:249)
    at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:202)
    at org.eclipse.core.internal.events.BuildManager$1.run(BuildManager.java:229)
    at org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java:615)
    at org.eclipse.core.runtime.Platform.run(Platform.java:747)
    at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:232)
    at org.eclipse.core.internal.events.BuildManager.basicBuildLoop(BuildManager.java:268)
    at org.eclipse.core.internal.events.BuildManager.build(BuildManager.java:297)
    at org.eclipse.core.internal.events.AutoBuildJob.doBuild(AutoBuildJob.java:155)
    at org.eclipse.core.internal.events.AutoBuildJob.run(AutoBuildJob.java:212)
    at org.eclipse.core.internal.jobs.Worker.run(Worker.java:66)

    Most recent exceptions:

    !ENTRY org.eclipse.core.runtime 4 2 Oct 28, 2004 15:48:33.608
    !MESSAGE Problems occurred when invoking code from plug-in: “org.eclipse.core.runtime”.
    !STACK 0
    java.lang.NullPointerException
    at com.genuitec.eclipse.ast.deploy.core.DeployedResourceEventProcessor.�(Unknown Source)
    at com.genuitec.eclipse.ast.deploy.core.DeployedResourceEventProcessor.access$0(Unknown Source)
    at com.genuitec.eclipse.ast.deploy.core.DeployedResourceEventProcessor$B.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:49)
    at com.genuitec.eclipse.ast.deploy.core.DeployedResourceEventProcessor.resourceChanged(Unknown Source)
    at org.eclipse.core.internal.events.NotificationManager$2.run(NotificationManager.java:283)
    at org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java:615)
    at org.eclipse.core.runtime.Platform.run(Platform.java:747)
    at org.eclipse.core.internal.events.NotificationManager.notify(NotificationManager.java:277)
    at org.eclipse.core.internal.events.NotificationManager.broadcastChanges(NotificationManager.java:151)
    at org.eclipse.core.internal.resources.Workspace.broadcastChanges(Workspace.java:172)
    at org.eclipse.core.internal.resources.Workspace.endOperation(Workspace.java:900)
    at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1682)
    at org.eclipse.core.internal.events.NotificationManager$NotifyJob.run(NotificationManager.java:38)
    at org.eclipse.core.internal.jobs.Worker.run(Worker.java:66)

    !ENTRY org.eclipse.core.runtime 4 2 Oct 28, 2004 15:48:35.190
    !MESSAGE Problems occurred when invoking code from plug-in: “org.eclipse.core.runtime”.
    !STACK 0
    java.lang.NullPointerException
    at com.genuitec.eclipse.ast.deploy.core.DeployedResourceEventProcessor.�(Unknown Source)
    at com.genuitec.eclipse.ast.deploy.core.DeployedResourceEventProcessor.access$0(Unknown Source)
    at com.genuitec.eclipse.ast.deploy.core.DeployedResourceEventProcessor$B.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:49)
    at com.genuitec.eclipse.ast.deploy.core.DeployedResourceEventProcessor.resourceChanged(Unknown Source)
    at org.eclipse.core.internal.events.NotificationManager$2.run(NotificationManager.java:283)
    at org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java:615)
    at org.eclipse.core.runtime.Platform.run(Platform.java:747)
    at org.eclipse.core.internal.events.NotificationManager.notify(NotificationManager.java:277)
    at org.eclipse.core.internal.events.NotificationManager.broadcastChanges(NotificationManager.java:151)
    at org.eclipse.core.internal.resources.Workspace.broadcastChanges(Workspace.java:172)
    at org.eclipse.core.internal.resources.Workspace.endOperation(Workspace.java:900)
    at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1682)
    at org.eclipse.core.internal.events.NotificationManager$NotifyJob.run(NotificationManager.java:38)
    at org.eclipse.core.internal.jobs.Worker.run(Worker.java:66)

    !ENTRY org.eclipse.core.runtime 4 2 Oct 28, 2004 15:48:36.753
    !MESSAGE Problems occurred when invoking code from plug-in: “org.eclipse.core.runtime”.
    !STACK 0
    java.lang.NullPointerException
    at com.genuitec.eclipse.ast.deploy.core.DeployedResourceEventProcessor.�(Unknown Source)
    at com.genuitec.eclipse.ast.deploy.core.DeployedResourceEventProcessor.access$0(Unknown Source)
    at com.genuitec.eclipse.ast.deploy.core.DeployedResourceEventProcessor$B.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:49)
    at com.genuitec.eclipse.ast.deploy.core.DeployedResourceEventProcessor.resourceChanged(Unknown Source)
    at org.eclipse.core.internal.events.NotificationManager$2.run(NotificationManager.java:283)
    at org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java:615)
    at org.eclipse.core.runtime.Platform.run(Platform.java:747)
    at org.eclipse.core.internal.events.NotificationManager.notify(NotificationManager.java:277)
    at org.eclipse.core.internal.events.NotificationManager.broadcastChanges(NotificationManager.java:151)
    at org.eclipse.core.internal.resources.Workspace.broadcastChanges(Workspace.java:172)
    at org.eclipse.core.internal.resources.Workspace.endOperation(Workspace.java:900)
    at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1682)
    at org.eclipse.core.internal.events.NotificationManager$NotifyJob.run(NotificationManager.java:38)
    at org.eclipse.core.internal.jobs.Worker.run(Worker.java:66)

    !ENTRY org.eclipse.core.runtime 4 2 Oct 28, 2004 15:48:38.716
    !MESSAGE Problems occurred when invoking code from plug-in: “org.eclipse.core.runtime”.
    !STACK 0
    java.lang.NullPointerException
    at com.genuitec.eclipse.ast.deploy.core.DeployedResourceEventProcessor.�(Unknown Source)
    at com.genuitec.eclipse.ast.deploy.core.DeployedResourceEventProcessor.access$0(Unknown Source)
    at com.genuitec.eclipse.ast.deploy.core.DeployedResourceEventProcessor$B.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:49)
    at com.genuitec.eclipse.ast.deploy.core.DeployedResourceEventProcessor.resourceChanged(Unknown Source)
    at org.eclipse.core.internal.events.NotificationManager$2.run(NotificationManager.java:283)
    at org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java:615)
    at org.eclipse.core.runtime.Platform.run(Platform.java:747)
    at org.eclipse.core.internal.events.NotificationManager.notify(NotificationManager.java:277)
    at org.eclipse.core.internal.events.NotificationManager.broadcastChanges(NotificationManager.java:151)
    at org.eclipse.core.internal.resources.Workspace.broadcastChanges(Workspace.java:172)
    at org.eclipse.core.internal.resources.Workspace.endOperation(Workspace.java:900)
    at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1682)
    at org.eclipse.core.internal.events.NotificationManager$NotifyJob.run(NotificationManager.java:38)
    at org.eclipse.core.internal.jobs.Worker.run(Worker.java:66)

    #218475 Reply

    Riyad Kalla
    Member

    junid,
    I talked with the devs about this and there are two things:

    1) If you have “automatically build project” turned off in Eclipse, this would cause the deployment problem you are seeing

    ALSO

    2) The exceptions you are seeing are due to something being null/missing that shouldn’t be and is project specific. Can you create a simple project that exhibits this behavior and zip it up and email it to us at support@genuitec.com and refer to this thread so we can file the issue and have a test case for it?

    #218493 Reply

    junid
    Member

    I did try to set the “automatically build project” to off, and try to clean the projects manually one-by-one, in effort to solve the problem, but it does not help.
    I’ll try to create a simple project as you requested, but dunno if I’d be able to create the same behavior, because as I said, the same workspace in different machine causes different behavior, even in the same machine it caused different behavior.
    You know what, in my desperate effort, I reverted back to MyEclipse 3.8 beta 2 and it is now running well, I can do the smart deployment option. I’ll get back to you asap.

    #219130 Reply

    junid
    Member

    Hi Riyad, sorry I haven’t been able to create a simple project that represent the problem and send it to you. I found the same error on another machine and got this from the .log file. Perhaps it can help. Thanks.

    !ENTRY com.genuitec.eclipse.j2eedt.core 1 1 Nov 09, 2004 17:25:55.360
    !MESSAGE
    !STACK 0
    org.xml.sax.SAXParseException: Relative URI “web-jsptaglibrary_1_2.dtd”; can not be resolved without a base URI.
    at org.apache.crimson.parser.Parser2.fatal(Parser2.java:3339)
    at org.apache.crimson.parser.Parser2.fatal(Parser2.java:3333)
    at org.apache.crimson.parser.Parser2.resolveURI(Parser2.java:2915)
    at org.apache.crimson.parser.Parser2.maybeExternalID(Parser2.java:2887)
    at org.apache.crimson.parser.Parser2.maybeDoctypeDecl(Parser2.java:1276)
    at org.apache.crimson.parser.Parser2.parseInternal(Parser2.java:623)
    at org.apache.crimson.parser.Parser2.parse(Parser2.java:333)
    at org.apache.crimson.parser.XMLReaderImpl.parse(XMLReaderImpl.java:448)
    at org.apache.crimson.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:185)
    at com.genuitec.eclipse.j2eedt.taglib.TLDDigester.createDocument(Unknown Source)
    at com.genuitec.eclipse.j2eedt.taglib.TLDDigester.getDocument(Unknown Source)
    at com.genuitec.eclipse.j2eedt.taglib.TLDDigester.<init>(Unknown Source)
    at com.genuitec.eclipse.j2eedt.taglib.AbstractTaglibLocator.getTLDDigester(Unknown Source)
    at com.genuitec.eclipse.j2eedt.taglib.AbstractTaglibLocator.getTLDDigester(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.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.processResourceChanged(Unknown Source)
    at com.genuitec.eclipse.j2eedt.taglib.TaglibRegistryManager.resourceChanged(Unknown Source)
    at com.genuitec.eclipse.j2eedt.taglib.TaglibRegistryManager$A.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:77)
    at org.eclipse.core.internal.events.ResourceDelta.accept(ResourceDelta.java:49)
    at com.genuitec.eclipse.j2eedt.taglib.TaglibRegistryManager$A.resourceChanged(Unknown Source)
    at org.eclipse.core.internal.events.NotificationManager$2.run(NotificationManager.java:283)
    at org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java:615)
    at org.eclipse.core.runtime.Platform.run(Platform.java:747)
    at org.eclipse.core.internal.events.NotificationManager.notify(NotificationManager.java:277)
    at org.eclipse.core.internal.events.NotificationManager.broadcastChanges(NotificationManager.java:151)
    at org.eclipse.core.internal.resources.Workspace.broadcastChanges(Workspace.java:172)
    at org.eclipse.core.internal.resources.Workspace.endOperation(Workspace.java:900)
    at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1682)
    at org.eclipse.core.internal.events.NotificationManager$NotifyJob.run(NotificationManager.java:38)
    at org.eclipse.core.internal.jobs.Worker.run(Worker.java:66)

    !ENTRY com.genuitec.eclipse.j2eedt.core 1 1 Nov 09, 2004 17:25:58.387
    !MESSAGE
    !STACK 0
    org.xml.sax.SAXParseException: Relative URI “web-jsptaglibrary_1_2.dtd”; can not be resolved without a base URI.
    at org.apache.crimson.parser.Parser2.fatal(Parser2.java:3339)
    at org.apache.crimson.parser.Parser2.fatal(Parser2.java:3333)
    at org.apache.crimson.parser.Parser2.resolveURI(Parser2.java:2915)
    at org.apache.crimson.parser.Parser2.maybeExternalID(Parser2.java:2887)
    at org.apache.crimson.parser.Parser2.maybeDoctypeDecl(Parser2.java:1276)
    at org.apache.crimson.parser.Parser2.parseInternal(Parser2.java:623)
    at org.apache.crimson.parser.Parser2.parse(Parser2.java:333)
    at org.apache.crimson.parser.XMLReaderImpl.parse(XMLReaderImpl.java:448)
    at org.apache.crimson.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:185)
    at com.genuitec.eclipse.j2eedt.taglib.TLDDigester.createDocument(Unknown Source)
    at com.genuitec.eclipse.j2eedt.taglib.TLDDigester.getDocument(Unknown Source)
    at com.genuitec.eclipse.j2eedt.taglib.TLDDigester.<init>(Unknown Source)
    at com.genuitec.eclipse.j2eedt.taglib.AbstractTaglibLocator.getTLDDigester(Unknown Source)
    at com.genuitec.eclipse.j2eedt.taglib.AbstractTaglibLocator.getTLDDigester(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.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.WebProjectTaglibLocator.search(Unknown Source)
    at com.genuitec.eclipse.j2eedt.taglib.WebTaglibRegistry.processDirectory(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.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.processResourceChanged(Unknown Source)
    at com.genuitec.eclipse.j2eedt.taglib.TaglibRegistryManager.resourceChanged(Unknown Source)
    at com.genuitec.eclipse.j2eedt.taglib.TaglibRegistryManager$A.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:77)
    at org.eclipse.core.internal.events.ResourceDelta.accept(ResourceDelta.java:49)
    at com.genuitec.eclipse.j2eedt.taglib.TaglibRegistryManager$A.resourceChanged(Unknown Source)
    at org.eclipse.core.internal.events.NotificationManager$2.run(NotificationManager.java:283)
    at org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java:615)
    at org.eclipse.core.runtime.Platform.run(Platform.java:747)
    at org.eclipse.core.internal.events.NotificationManager.notify(NotificationManager.java:277)
    at org.eclipse.core.internal.events.NotificationManager.broadcastChanges(NotificationManager.java:151)
    at org.eclipse.core.internal.resources.Workspace.broadcastChanges(Workspace.java:172)
    at org.eclipse.core.internal.resources.Workspace.endOperation(Workspace.java:900)
    at org.eclipse.core.internal.resources.InternalWorkspaceJob.run(InternalWorkspaceJob.java:45)
    at org.eclipse.core.internal.jobs.Worker.run(Worker.java:66)

    !ENTRY com.genuitec.eclipse.j2eedt.core 1 1 Nov 09, 2004 17:25:59.186
    !MESSAGE
    !STACK 0
    org.xml.sax.SAXParseException: Relative URI “web-jsptaglibrary_1_2.dtd”; can not be resolved without a base URI.
    at org.apache.crimson.parser.Parser2.fatal(Parser2.java:3339)
    at org.apache.crimson.parser.Parser2.fatal(Parser2.java:3333)
    at org.apache.crimson.parser.Parser2.resolveURI(Parser2.java:2915)
    at org.apache.crimson.parser.Parser2.maybeExternalID(Parser2.java:2887)
    at org.apache.crimson.parser.Parser2.maybeDoctypeDecl(Parser2.java:1276)
    at org.apache.crimson.parser.Parser2.parseInternal(Parser2.java:623)
    at org.apache.crimson.parser.Parser2.parse(Parser2.java:333)
    at org.apache.crimson.parser.XMLReaderImpl.parse(XMLReaderImpl.java:448)
    at org.apache.crimson.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:185)
    at com.genuitec.eclipse.j2eedt.taglib.TLDDigester.createDocument(Unknown Source)
    at com.genuitec.eclipse.j2eedt.taglib.TLDDigester.getDocument(Unknown Source)
    at com.genuitec.eclipse.j2eedt.taglib.TLDDigester.<init>(Unknown Source)
    at com.genuitec.eclipse.j2eedt.taglib.AbstractTaglibLocator.getTLDDigester(Unknown Source)
    at com.genuitec.eclipse.j2eedt.taglib.AbstractTaglibLocator.getTLDDigester(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.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.processResourceChanged(Unknown Source)
    at com.genuitec.eclipse.j2eedt.taglib.TaglibRegistryManager.resourceChanged(Unknown Source)
    at com.genuitec.eclipse.j2eedt.taglib.TaglibRegistryManager$A.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:77)
    at org.eclipse.core.internal.events.ResourceDelta.accept(ResourceDelta.java:49)
    at com.genuitec.eclipse.j2eedt.taglib.TaglibRegistryManager$A.resourceChanged(Unknown Source)
    at org.eclipse.core.internal.events.NotificationManager$2.run(NotificationManager.java:283)
    at org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java:615)
    at org.eclipse.core.runtime.Platform.run(Platform.java:747)
    at org.eclipse.core.internal.events.NotificationManager.notify(NotificationManager.java:277)
    at org.eclipse.core.internal.events.NotificationManager.broadcastChanges(NotificationManager.java:151)
    at org.eclipse.core.internal.resources.Workspace.broadcastChanges(Workspace.java:172)
    at org.eclipse.core.internal.resources.Workspace.endOperation(Workspace.java:900)
    at org.eclipse.core.internal.resources.InternalWorkspaceJob.run(InternalWorkspaceJob.java:45)
    at org.eclipse.core.internal.jobs.Worker.run(Worker.java:66)

    #219142 Reply

    Riyad Kalla
    Member

    Well that is a little more specific:

    org.xml.sax.SAXParseException: Relative URI “web-jsptaglibrary_1_2.dtd”; can not be resolved without a base URI.

    Where are you accessing this DTD from and what is the line of code doing it?

    Sending us a project that exhibits the problem (and make sure to quickly summarize the problem and reference this thread) is the sure-fire way to get this fixed… can you extract a project from either of the two broken projects you have?

Viewing 11 posts - 1 through 11 (of 11 total)
Reply To: Tomcat 5.0 smart deployment

You must be logged in to post in the forum log in