[JBoss Tools (users)] - Compatability with JBossIDE packaging
by kkoster
I am trying to use the new JBossTools Project archives view to construct packages. I have run into an issue that seem to prevent me from replicating the "old" style JBoss IDE packages.
There doesn't seem to be a way to place files or folders in a specific target folder in the a compressed jar file similar to using the prefix directive under JBossIDE. You can add a folder to an archive. But, even though you have instructed the archive to be a jarred, it builds it in exploded form. Even when I try to use this new exploded archive as the source for a compressed archive, the derived archive is still exploded.
It seems that once you create an exploded archive within a project all archives are created in their exploded form.
I am using:
Eclipse 3.3 Build I20070625-1500
JBossTools nightly build from 7/2/2007
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4059976#4059976
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4059976
18Â years, 9Â months
[Tomcat, HTTPD, Servlets & JSP] - Re: Jasper Exception when migrating from 4.0.5.CR1 to 4.2.0.
by vetalok
I have different behaviour too.
With jboss-4.0.3SP1 my jsp has compiled and works well but with jboss-4.2.0GA jboss can't compile my jsp, it says:
11:52:21,284 ERROR [[jsp]] Servlet.service() for servlet jsp threw exception
org.apache.jasper.JasperException: Unable to compile class for JSP:
An error occurred at line: 22 in the generated java file
The method getJspApplicationContext(ServletContext) is undefined for the type JspFactory
Stacktrace:
at org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:92)
at org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:330)
at org.apache.jasper.compiler.JDTCompiler.generateClass(JDTCompiler.java:415)
at org.apache.jasper.compiler.Compiler.compile(Compiler.java:308)
at org.apache.jasper.compiler.Compiler.compile(Compiler.java:286)
at org.apache.jasper.compiler.Compiler.compile(Compiler.java:273)
=============
What does it mean?
I have not any js*.jar in my ear file.
Any ideas?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4059970#4059970
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4059970
18Â years, 9Â months
[JBossWS] - NullPointerException in ServiceEndpointManagerFactory
by tweedledee
I'm currently running a fresh install of JBoss AS 4.2.0 and have installed JBossWS 1.2.1 using the installation notes i.e. via the Ant script.
I've tried to run the examples that come with the 1.2.1 release but I keep getting a NullPointerException within the ServiceEndpointManagerFactory class:
| java.lang.NullPointerException
| org.jboss.ws.core.server.ServiceEndpointManagerFactory.getServiceEndpointManager(ServiceEndpointManagerFactory.java:52)
| org.jboss.ws.core.server.AbstractServiceEndpointServlet.initServiceEndpointManager(AbstractServiceEndpointServlet.java:135)
| org.jboss.ws.core.server.AbstractServiceEndpointServlet.init(AbstractServiceEndpointServlet.java:60)
| org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:179)
| org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
| org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:104)
| org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:156)
| org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:241)
| org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
| org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:580)
| org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
| java.lang.Thread.run(Thread.java:619)
|
|
It appears that the code is trying to obtain a KernelRegistry object but is failing:
public ServiceEndpointManager getServiceEndpointManager()
| {
| KernelRegistry registry = KernelLocator.getKernel().getRegistry();
| KernelRegistryEntry entry = registry.getEntry(ServiceEndpointManager.BEAN_NAME);
| return (ServiceEndpointManager)entry.getTarget();
| }
Does anyone know if this is an installation issue or a bug?
Regards.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4059969#4059969
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4059969
18Â years, 9Â months