[Installation, Configuration & DEPLOYMENT] - Deploying Jboss
by gakins
I'm getting an error while starting JBoss 4.2.3 and am not sure how to troubleshoot from here. Any help would be greatly appreciated.
Jboss 4.2.3 on Mac OS X 10.5 using Java 1.5. I've included Jbossws-native as well.
I have run Jboss successfully with my ear file deployed in server/default
My application requires javax.xml.rpc.Service. Under JBoss 4.2.0, I used axis11.jar, but I'm not having luck deploying that under JBoss 4.2.3, and from a Google search it appears I should move to JBossWS.
So, I included jboss-jaxrpc.jar which includes the class I need. Then I started getting subsequent NoClassDefFoundErrors. I also included jboss-commons.jar
My classpath is listed below.
The error I'm at now is listed in the stacktrace below. Note that it doesn't tell me what class it's not finding.
07:34:40,147 INFO [Server] Core system initialized
| 07:34:40,239 ERROR [MainDeployer] Could not initialise deployment: file:/towercare/jboss-4.2.3.GA/server/default/conf/jboss-service.xml
| java.lang.NoClassDefFoundError
| at org.jboss.deployment.SARDeployer.parseDocument(SARDeployer.java:623)
| at org.jboss.deployment.SARDeployer.init(SARDeployer.java:181)
| at org.jboss.deployment.MainDeployer.init(MainDeployer.java:872)
| at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:809)
| at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782)
| at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:766)
| at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
| at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| at java.lang.reflect.Method.invoke(Method.java:585)
| at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
| at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
| at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
| at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
| at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
| at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
| at $Proxy5.deploy(Unknown Source)
| at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:482)
| at org.jboss.system.server.ServerImpl.start(ServerImpl.java:362)
| at org.jboss.Main.boot(Main.java:200)
| at org.jboss.Main$1.run(Main.java:508)
| at java.lang.Thread.run(Thread.java:613)
| Failed to boot JBoss:
| org.jboss.deployment.DeploymentException: Could not initialise deployment: file:/towercare/jboss-4.2.3.GA/server/default/conf/jboss-service.xml; - nested throwable: (java.lang.NoClassDefFoundError)
| at org.jboss.deployment.DeploymentException.rethrowAsDeploymentException(DeploymentException.java:53)
| at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:814)
| at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782)
| at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:766)
| at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
| at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| at java.lang.reflect.Method.invoke(Method.java:585)
| at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
| at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
| at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
| at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
| at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
| at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
| at $Proxy5.deploy(Unknown Source)
| at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:482)
| at org.jboss.system.server.ServerImpl.start(ServerImpl.java:362)
| at org.jboss.Main.boot(Main.java:200)
| at org.jboss.Main$1.run(Main.java:508)
| at java.lang.Thread.run(Thread.java:613)
| Caused by: java.lang.NoClassDefFoundError
| at org.jboss.deployment.SARDeployer.parseDocument(SARDeployer.java:623)
| at org.jboss.deployment.SARDeployer.init(SARDeployer.java:181)
| at org.jboss.deployment.MainDeployer.init(MainDeployer.java:872)
| at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:809)
| ... 18 more
| 07:34:40,249 INFO [Server] Runtime shutdown hook called, forceHalt: true
| 07:34:40,250 INFO [Server] JBoss SHUTDOWN: Undeploying all packages
| 07:34:40,254 INFO [Server] Shutdown complete
| Shutdown complete
| Halting VM
|
CLASSPATH: :/towercare/jboss-4.2.3.GA/server/default/lib/log4j.jar:/towercare/jboss-4.2.3.GA/lib/jboss-common.jar:/towercare/jboss-4.2.3.GA/server/default/lib/servlet-api.jar:/towercare/jboss-4.2.3.GA/server/default/lib/activation.jar:/towercare/jboss-4.2.3.GA/server/default/lib/mail.jar:/towercare/jboss-4.2.3.GA/server/default/lib/mail-plugin.jar:/towercare/jboss-4.2.3.GA/server/default/lib/jboss-jaxrpc.jar:/towercare/jboss-4.2.3.GA/server/default/lib/tc/commons-fileupload-1.2.jar:/towercare/jboss-4.2.3.GA/server/default/lib/tc/mysql-connector-java-3.0.15-ga-bin.jar:/towercare/jboss-4.2.3.GA/server/default/lib/tc/pri.jar:/towercare/jboss-4.2.3.GA/bin/run.jar
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4213337#4213337
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4213337
17 years, 1 month
[JBoss Portal] - Portlet 2.0 Event from RichFaces (ajax) request
by ameo
Use: Faceslets, Richfaces 3.0.0.GA, Portletbridge 1.0.0.6, portal 2.7.1
Hello,
I want to send an Event to another portlet by using the portlet 2.0 API. And I want to send the Event within an ajax-request. So I use a <a4j:commandButton> instead of a <h:commandButton> -Komponent.
a4j :commandButton performs the following method:
| public void fire() {
| FacesContext facesContext = FacesContext.getCurrentInstance();
| ExternalContext externalContext = facesContext.getExternalContext();
| Object responseObject = externalContext.getResponse();
| if (responseObject != null && responseObject instanceof ActionResponse) {
| ActionResponse actionResponse = (ActionResponse) responseObject;
| actionResponse.set...
| }
| }
|
here I geht responseObject of type org.ajax4jsf.webapp.FilterServletResponseWrapper instead of an javax.portlet.ActionRequest.
How can I geht the ActionRequest/Response ??
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4213331#4213331
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4213331
17 years, 1 month
[Beginners Corner] - Re: Secure jmx-console and web-console
by acastanheira2001
Hi Pj,
Thanks for the wiki SecureJboss.
I tried to implement the SecureTheJmxConsole (http://www.jboss.org/community/docs/DOC-12190).
Before applying the configuration I can access jmx-console without any access control.
After applying the configuration I get a BLANK PAGE and the following error in APACHE.LOG:
2009-02-26 09:42:19,729 WARN [FormAuthenticator] Unexpected error forwarding to login page
java.lang.NullPointerException
at org.apache.catalina.authenticator.FormAuthenticator.forwardToLoginPage(FormAuthenticator.java:316)
at org.jboss.web.tomcat.security.ExtendedFormAuthenticator.forwardToLoginPage(ExtendedFormAuthenticator.java:141)
at org.apache.catalina.authenticator.FormAuthenticator.authenticate(FormAuthenticator.java:244)
at org.jboss.web.tomcat.security.ExtendedFormAuthenticator.authenticate(ExtendedFormAuthenticator.java:86)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:491)
at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:104)
at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)
at org.apache.catalina.authenticator.SingleSignOn.invoke(SingleSignOn.java:393)
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:543)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:241)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:580)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
at java.lang.Thread.run(Thread.java:595)
Any ideas,
Andre
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4213328#4213328
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4213328
17 years, 1 month