Discussions
Categories
- 197K All Categories
- 2.5K Data
- 546 Big Data Appliance
- 1.9K Data Science
- 450.8K Databases
- 221.9K General Database Discussions
- 3.8K Java and JavaScript in the Database
- 31 Multilingual Engine
- 552 MySQL Community Space
- 479 NoSQL Database
- 7.9K Oracle Database Express Edition (XE)
- 3.1K ORDS, SODA & JSON in the Database
- 556 SQLcl
- 4K SQL Developer Data Modeler
- 187.2K SQL & PL/SQL
- 21.4K SQL Developer
- 296.3K Development
- 17 Developer Projects
- 139 Programming Languages
- 293K Development Tools
- 110 DevOps
- 3.1K QA/Testing
- 646.1K Java
- 28 Java Learning Subscription
- 37K Database Connectivity
- 158 Java Community Process
- 105 Java 25
- 22.1K Java APIs
- 138.2K Java Development Tools
- 165.3K Java EE (Java Enterprise Edition)
- 19 Java Essentials
- 162 Java 8 Questions
- 86K Java Programming
- 81 Java Puzzle Ball
- 65.1K New To Java
- 1.7K Training / Learning / Certification
- 13.8K Java HotSpot Virtual Machine
- 94.3K Java SE
- 13.8K Java Security
- 205 Java User Groups
- 24 JavaScript - Nashorn
- Programs
- 468 LiveLabs
- 39 Workshops
- 10.2K Software
- 6.7K Berkeley DB Family
- 3.5K JHeadstart
- 5.7K Other Languages
- 2.3K Chinese
- 175 Deutsche Oracle Community
- 1.1K Español
- 1.9K Japanese
- 233 Portuguese
Eclipse Mars + Glassfish Tools 8.6.1 -> Error getting URL for WebResource

Hi @All,
I'm using Eclipse Mars with Oohmp and the "Use bundle" option to install my different eclipse versions. The Glassfishtools are version 8.6.1.
When deploying an application with "Run on server" I receive:
GlassFish: Error getting URL for WebResource [module=Module[ISG-BKSelfservice,org.eclipse.jst.jee.server:ISG-BKSelfservice], path=]
java.lang.NullPointerException
at org.eclipse.jst.common.internal.modulecore.SingleRootExportParticipant.getMembers(SingleRootExportParticipant.java:151)
at org.eclipse.jst.common.internal.modulecore.SingleRootExportParticipant.optimize(SingleRootExportParticipant.java:103)
at org.eclipse.wst.common.componentcore.internal.flat.FlatVirtualComponent.optimize(FlatVirtualComponent.java:212)
at org.eclipse.wst.common.componentcore.internal.flat.FlatVirtualComponent.cacheResources(FlatVirtualComponent.java:186)
at org.eclipse.wst.common.componentcore.internal.flat.FlatVirtualComponent.getChildModules(FlatVirtualComponent.java:160)
at org.eclipse.wst.web.internal.deployables.FlatComponentDeployable.getExportModelChildren(FlatComponentDeployable.java:252)
at org.eclipse.wst.web.internal.deployables.FlatComponentDeployable.getModules(FlatComponentDeployable.java:263)
at org.eclipse.jst.server.core.internal.J2EEUtil.getEnterpriseApplications(J2EEUtil.java:95)
at oracle.eclipse.tools.glassfish.AbstractGlassfishServer.getRootEarModulesOnThisServer(AbstractGlassfishServer.java:927)
at oracle.eclipse.tools.glassfish.AbstractGlassfishServer.getModuleRootPath(AbstractGlassfishServer.java:888)
at oracle.eclipse.tools.glassfish.AbstractGlassfishServer.getModuleRootURL(AbstractGlassfishServer.java:869)
......
- The application I try to deploy worked fine until recently on Glassfish 3.1.1.
- I can install the war directly on the server with no problems on Glassfish 3.1.1 and Payara 4.1
- I'm using a glassfish-web.xml as suggested in former posts.
- When I try to add the application to the server with "Add and remove" I see -> "There are no resources that can be added or removed from the server"
This is the case since a long time ago, but until now I was able to deploy by "Run on server" without a problem.
- I uninstalled the Glassfishtools and tried using an older version (8.6.0 and 8.5.0) but this didn't work too.
- I created a completely new workspace and a new dummy project. This could be added to the server once. As soon as I imported my projects from git and tried to deploy them I ran into the same error as above. From that moment on I also coundn't readd the newly created dummyproject.
This situation is rather serious because I'm not able use eclipse to work on my project, so I hope you can help me out with this
Thank you in advance
Thomas
Answers
-
For us to help you, you need to provide us with full details on what error you are getting and what steps you are taking that result in this error.
-
I pressed the enter button too quick . The details are provided now.
-
Danny and Raj,
Could you guys follow up on this?
https://community.oracle.com/message/13765630?et=watches.email.thread#13765630
Thanks,
- Konstantin
-
Additional Information:
I did a fresh installation of Java Mars EE (no Oohmp) and only installed Glassfishtools and JBoss CDI Tools. I removed all .plugins entries refering to oracle and/or glassfish in my workspace and loaded it within the fresh installation.
=> Same problem.
-
I solved the problem ->
I created a new project and copied only the java source code and the jsf pages. Now I can see the project when perssing the "add...." button in the servers context menu and the deployment works without an error. I assume, that somewhere in the projects config files was an old an entry the caused the problem.
Nevertheless, it would be interresting what caused the problem - because I wouldn't want to do that again in case this problems appears again with a new plugin or serverversion.
br
Thomas