Log4j with Jboss

hi i wanted to implement my own log4j logging in JBoss not the default log4j logging ..for which we made classes which extends log4j classes ..it is working fine with applications ..but the problem is when using with .ear file in jboss ..
can someone tell me how to package our own logging jars in EAR file on jboss

Can you share your current custom log4j logging settings? the XML file entries.
Without much to debug the problem I would suggest that you configure logging in:
/META-INF/jboss-app.xml
and not in individual WAR - web files:
/WEB-INF/jboss-web.xml

Similar Messages

  • Configuring log4j in jboss ??

    Hi All,
    i am using jboss.i need to configure log4j with my log4j.properties file.
    i did for this is ..
    1) under WEB-INF i created one xml file named ,jboss-web.xml. under this..
    <jboss-web>
    <class-loading java2ClassLoadingCompliance="false">
    <loader-repository>
         com.WIL:loader=WIL.war
    <loader-repository-config>java2ParentDelegation=false</loader- repository-config>
    </loader-repository>
    </class-loading>
    </jboss-web>
    2) raname \server\default\conf\log4j.xml to jboss-log4j.xml
    3) change in \server\default\conf\jboss-service.xml ......... reource:log4j.xml to resource:jboss-log4j.xml
    <mbean code="org.jboss.logging.Log4jService"
    name="jboss.system:type=Log4jService,service=Logging">
    <attribute name="ConfigurationURL">resource:jboss-log4j.xml</attribute>
    4) write log4j.properties...
    log4j.rootCategory=DEBUG, Default
    log4j.appender.Default=org.apache.log4j.FileAppender
    log4j.appender.Default.File=c:/newLog.log
    log4j.appender.Default.layout=org.apache.log4j.PatternLayout
    log4j.appender.Default.layout.ConversionPattern=%d{DATE} %-5p: %m%n
    log4j.appender.Default.Append=false
    i restarted the jboss server.
    Every time i am getting ClassCastException..
    java.lang.ClassCastException
    at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1001)
    can anybody solve this. it is very urgent.
    Thanks in advance.

    In my web.xml i wrote like this..
    <!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" "http://java.sun.com/dtd/web-app_2_3.dtd">
    <web-app>
    <display-name>Times Warner Cable</display-name>
    <servlet>
         <servlet-name>RequestHandler</servlet-name>
         <servlet-class>com.mportal.twc.wil.controller.RequestHandler</servlet-class>
    <load-on-startup>1</load-on-startup>
    </servlet>
    <servlet-mapping>
         <servlet-name>RequestHandler</servlet-name>
         <url-pattern>/RequestHandler/*</url-pattern>
    </servlet-mapping>
    <listener>
    <listener-class>com.mportal.twc.wil.common.WILSessionListener</listener-class>
    </listener>
    </web-app>
    i need Request Handler class has to be load on start up.
    when i started jboss server i am getting exception..
    08:53:20,750 INFO [TomcatDeployer] deploy, ctxPath=/WIL, warUrl=file:/C:/jboss-3.2.8.SP1/server/default/deploy/WIL.war/
    08:53:22,578 INFO [Engine] StandardContext[WIL]Marking servlet RequestHandler as unavailable
    08:53:22,578 ERROR [Engine] StandardContext[WIL]Servlet /WIL threw load() exception
    javax.servlet.ServletException: Class com.mportal.twc.wil.controller.RequestHandler is not a Servlet
    at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1005)
    at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:876)
    at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4017)
    at org.apache.catalina.core.StandardContext.start(StandardContext.java:4337)
    at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:823)
    at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:807)
    at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:595)
    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:324)
    at org.apache.commons.modeler.BaseModelMBean.invoke(BaseModelMBean.java:503)
    at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:163)
    at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:484)
    at org.apache.catalina.core.StandardContext.init(StandardContext.java:5456)
    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:324)
    at org.apache.commons.modeler.BaseModelMBean.invoke(BaseModelMBean.java:503)
    at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:163)
    at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:484)
    at org.jboss.web.tomcat.tc5.TomcatDeployer.performDeployInternal(TomcatDeployer.java:288)
    at org.jboss.web.tomcat.tc5.TomcatDeployer.performDeploy(TomcatDeployer.java:98)
    at org.jboss.web.AbstractWebDeployer.start(AbstractWebDeployer.java:334)
    at org.jboss.web.WebModule.startModule(WebModule.java:83)
    at org.jboss.web.WebModule.startService(WebModule.java:61)
    at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
    at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
    at sun.reflect.GeneratedMethodAccessor37.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:324)
    at org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.java:74)
    at org.jboss.mx.server.Invocation.dispatch(Invocation.java:76)
    at org.jboss.mx.server.Invocation.dispatch(Invocation.java:68)
    at org.jboss.mx.server.Invocation.invoke(Invocation.java:96)
    at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:213)
    at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:484)
    at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:968)
    at $Proxy0.start(Unknown Source)
    at org.jboss.system.ServiceController.start(ServiceController.java:404)
    at sun.reflect.GeneratedMethodAccessor5.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:324)
    at org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.java:74)
    at org.jboss.mx.server.Invocation.dispatch(Invocation.java:76)
    at org.jboss.mx.server.Invocation.dispatch(Invocation.java:68)
    at org.jboss.mx.server.Invocation.invoke(Invocation.java:96)
    at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:213)
    at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:484)
    at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:184)
    at $Proxy27.start(Unknown Source)
    at org.jboss.web.AbstractWebContainer.start(AbstractWebContainer.java:371)
    at org.jboss.deployment.MainDeployer.start(MainDeployer.java:841)
    at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:653)
    at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:616)
    at sun.reflect.GeneratedMethodAccessor38.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:324)
    at org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.java:74)
    at org.jboss.mx.server.Invocation.dispatch(Invocation.java:76)
    at org.jboss.mx.server.Invocation.dispatch(Invocation.java:68)
    at org.jboss.mx.server.Invocation.invoke(Invocation.java:96)
    at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:213)
    at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:484)
    at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:184)
    at $Proxy7.deploy(Unknown Source)
    at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:316)
    at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:490)
    at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:213)
    at org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(AbstractDeploymentScanner.java:286)
    at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
    at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
    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:324)
    at org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.java:74)
    at org.jboss.mx.server.Invocation.dispatch(Invocation.java:76)
    at org.jboss.mx.server.Invocation.dispatch(Invocation.java:68)
    at org.jboss.mx.server.Invocation.invoke(Invocation.java:96)
    at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:213)
    at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:484)
    at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:968)
    at $Proxy0.start(Unknown Source)
    at org.jboss.system.ServiceController.start(ServiceController.java:404)
    at sun.reflect.GeneratedMethodAccessor5.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:324)
    at org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.java:74)
    at org.jboss.mx.server.Invocation.dispatch(Invocation.java:76)
    at org.jboss.mx.server.Invocation.dispatch(Invocation.java:68)
    at org.jboss.mx.server.Invocation.invoke(Invocation.java:96)
    at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:213)
    at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:484)
    at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:184)
    at $Proxy4.start(Unknown Source)
    at org.jboss.deployment.SARDeployer.start(SARDeployer.java:263)
    at org.jboss.deployment.MainDeployer.start(MainDeployer.java:841)
    at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:653)
    at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:616)
    at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:600)
    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:324)
    at org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.java:74)
    at org.jboss.mx.server.Invocation.dispatch(Invocation.java:76)
    at org.jboss.mx.server.Invocation.dispatch(Invocation.java:68)
    at org.jboss.mx.server.Invocation.invoke(Invocation.java:96)
    at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:213)
    at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:484)
    at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:184)
    at $Proxy5.deploy(Unknown Source)
    at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:462)
    at org.jboss.system.server.ServerImpl.start(ServerImpl.java:353)
    at org.jboss.Main.boot(Main.java:201)
    at org.jboss.Main$1.run(Main.java:459)
    at java.lang.Thread.run(Thread.java:534)
    08:53:22,578 ERROR [Engine] ----- Root Cause -----
    java.lang.ClassCastException
    at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1001)
    at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:876)
    at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4017)
    at org.apache.catalina.core.StandardContext.start(StandardContext.java:4337)
    at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:823)
    at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:807)
    at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:595)
    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:324)
    at org.apache.commons.modeler.BaseModelMBean.invoke(BaseModelMBean.java:503)
    at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:163)
    at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:484)
    at org.apache.catalina.core.StandardContext.init(StandardContext.java:5456)
    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:324)
    at org.apache.commons.modeler.BaseModelMBean.invoke(BaseModelMBean.java:503)
    at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:163)
    at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:484)
    at org.jboss.web.tomcat.tc5.TomcatDeployer.performDeployInternal(TomcatDeployer.java:288)
    at org.jboss.web.tomcat.tc5.TomcatDeployer.performDeploy(TomcatDeployer.java:98)
    at org.jboss.web.AbstractWebDeployer.start(AbstractWebDeployer.java:334)
    at org.jboss.web.WebModule.startModule(WebModule.java:83)
    at org.jboss.web.WebModule.startService(WebModule.java:61)
    at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
    at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
    at sun.reflect.GeneratedMethodAccessor37.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:324)
    at org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.java:74)
    at org.jboss.mx.server.Invocation.dispatch(Invocation.java:76)
    at org.jboss.mx.server.Invocation.dispatch(Invocation.java:68)
    at org.jboss.mx.server.Invocation.invoke(Invocation.java:96)
    at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:213)
    at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:484)
    at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:968)
    at $Proxy0.start(Unknown Source)
    at org.jboss.system.ServiceController.start(ServiceController.java:404)
    at sun.reflect.GeneratedMethodAccessor5.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:324)
    at org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.java:74)
    at org.jboss.mx.server.Invocation.dispatch(Invocation.java:76)
    at org.jboss.mx.server.Invocation.dispatch(Invocation.java:68)
    at org.jboss.mx.server.Invocation.invoke(Invocation.java:96)
    at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:213)
    at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:484)
    at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:184)
    at $Proxy27.start(Unknown Source)
    at org.jboss.web.AbstractWebContainer.start(AbstractWebContainer.java:371)
    at org.jboss.deployment.MainDeployer.start(MainDeployer.java:841)
    at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:653)
    at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:616)
    at sun.reflect.GeneratedMethodAccessor38.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:324)
    at org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.java:74)
    at org.jboss.mx.server.Invocation.dispatch(Invocation.java:76)
    at org.jboss.mx.server.Invocation.dispatch(Invocation.java:68)
    at org.jboss.mx.server.Invocation.invoke(Invocation.java:96)
    at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:213)
    at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:484)
    at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:184)
    at $Proxy7.deploy(Unknown Source)
    at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:316)
    at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:490)
    at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:213)
    at org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(AbstractDeploymentScanner.java:286)
    at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
    at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
    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:324)
    at org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.java:74)
    at org.jboss.mx.server.Invocation.dispatch(Invocation.java:76)
    at org.jboss.mx.server.Invocation.dispatch(Invocation.java:68)
    at org.jboss.mx.server.Invocation.invoke(Invocation.java:96)
    at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:213)
    at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:484)
    at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:968)
    at $Proxy0.start(Unknown Source)
    at org.jboss.system.ServiceController.start(ServiceController.java:404)
    at sun.reflect.GeneratedMethodAccessor5.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:324)
    at org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.java:74)
    at org.jboss.mx.server.Invocation.dispatch(Invocation.java:76)
    at org.jboss.mx.server.Invocation.dispatch(Invocation.java:68)
    at org.jboss.mx.server.Invocation.invoke(Invocation.java:96)
    at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:213)
    at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:484)
    at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:184)
    at $Proxy4.start(Unknown Source)
    at org.jboss.deployment.SARDeployer.start(SARDeployer.java:263)
    at org.jboss.deployment.MainDeployer.start(MainDeployer.java:841)
    at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:653)
    at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:616)
    at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:600)
    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:324)
    at org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.java:74)
    at org.jboss.mx.server.Invocation.dispatch(Invocation.java:76)
    at org.jboss.mx.server.Invocation.dispatch(Invocation.java:68)
    at org.jboss.mx.server.Invocation.invoke(Invocation.java:96)
    at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:213)
    at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:484)
    at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:184)
    at $Proxy5.deploy(Unknown Source)
    at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:462)
    at org.jboss.system.server.ServerImpl.start(ServerImpl.java:353)
    at org.jboss.Main.boot(Main.java:201)
    at org.jboss.Main$1.run(Main.java:459)
    at java.lang.Thread.run(Thread.java:534)
    Can Plaease give me solution.It is very urgent..

  • Log4j and Jboss are acting weird

    This question is reagards to Log4j and JBoss and I thought this is the best place to ask this question.
    I am using Jboss 3.2.3. My purpose was to log messages in a seperate file "developer.log" using Log4j. These messages has to be logged in this file only. So in my WAR's folder under WEB-INF/classes I created a file log4j.properties:
    log4j.logger.standard=DEBUG, devlog
    log4j.appender.devlog=org.apache.log4j.RollingFileAppender
    log4j.appender.devlog.File=C:/logs/developer.log
    log4j.appender.devlog.layout=org.apache.log4j.PatternLayout
    log4j.appender.devlog.layout.ConversionPattern=%d{ABSOLUTE} %5p %c{1}:%L - %m%nNow my code :
    import org.apache.log4j.Logger;
    private static Logger log = Logger.getLogger("standard");
    log.debug("a debug message");
    log.info("a info message");
    log.warn("a war message");I test run this code without Jboss and it works perfect. It created a file "developer.log" in the desired location and logs messages in it.
    Now i run with JBoss. JBoss does not create "developer.log" file at all. Instead it logs all the messages in server.log
    2005-09-30 23:07:35,459 DEBUG [standard] a debug message
    Jboss is recognizing that it is standard but after that it is not gving me the desired results. Any input on how to fix this problem?
    TIA

    You can tell it you don't want to inherit, by adding
    this to your "standard" category tag:
    <category name="standard" additivity="false">
    thanks. it works perfect.
    ok i got it working kind of. Jboss already comeswith
    a log4j.xml so i put my log4j stuff in this file :You should be able to deploy your own log4j.xml with
    your app's resource files and make it use yours when
    it is running your app.Ok I took out my stuff from Jboss log4j.xml, create a new xml progtest.log4j.xml like this:
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE log4j:configuration SYSTEM "log4j.dtd">
    <log4j:configuration xmlns:log4j="http://jakarta.apache.org/log4j/" debug="false">
      <appender name="DEVLOG" class="org.apache.log4j.RollingFileAppender">
        <param name="File" value="${jboss.server.home.dir}/log/developer.log" />
        <param name="Append" value="true" />
        <layout class="org.apache.log4j.PatternLayout">
          <param name="ConversionPattern" value="%d{ABSOLUTE} %5p %c{1}:%L - %m%n" />
        </layout>
      </appender>
      <category name="standard" additivity="false">
        <priority value="INFO"/>
        <appender-ref ref="DEVLOG" />
      </category>
    </log4j:configuration>My web application is in a ProgTest.WAR folder. I put the above file "progtest.log4j.xml" under WEB-INF/classes in ProgTest.WAR folder. When i run the app the very first problem again arises that no developer.log file was created; instead the concerned messages were put into server.log and console.
    All my classes are in one jar file. I include progtest.log4j.xml in that jar file, redeploy it and test it but still the same problem.
    What i am doing wrong here?
    Thanks

  • How do you use Struts with Jboss Portal

    I am trying to use strust with jboss portal but I am getting the following error:
    An error occured while rendering window 'default.MyPortlet2.myportlet2Window'
    org.apache.jasper.JasperException: Exception in JSP: /WEB-INF/jsp/SearchResultPage.jsp:71 68: List searchresult = (List) request.getAttribute("searchresult"); 69: %> 70: Stacktrace:
    I am getting this is in the log file
    Caused by: org.apache.jasper.JasperException: Exception in JSP: /WEB-INF/jsp/SearchResultPage.jsp:71
    68: List searchresult = (List) request.getAttribute("searchresult");
    69: %>
    70: <%
    71: for (Iterator itr=searchresult.iterator(); itr.hasNext(); )
    72: {
    73: testPackage.net.dao.hibernate.WorkList workList = (testPackage.net.dao.hibernate.WorkList)itr.next();
    74: %>
    Stacktrace:
    at org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:504)
    at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:393)
    at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
    at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
    at org.jboss.portal.portlet.impl.jsr168.PortletRequestDispatcherImpl.execute(PortletRequestDispatcherImpl.ja
    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.portal.server.servlet.CommandFilter.doFilter(CommandFilter.java:65)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
    at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:672)
    at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:574)
    at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:499)
    at org.jboss.portal.portlet.impl.jsr168.PortletRequestDispatcherImpl.include(PortletRequestDispatcherImpl.ja
    ... 238 more
    Caused by: java.lang.NullPointerException
    at org.apache.jsp.WEB_002dINF.jsp.SearchResultPage_jsp._jspService(SearchResultPage_jsp.java:152)
    at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
    at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:332)
    ... 255 more

    I am trying to use strust with jboss portal but I am getting the following error:
    An error occured while rendering window 'default.MyPortlet2.myportlet2Window'
    org.apache.jasper.JasperException: Exception in JSP: /WEB-INF/jsp/SearchResultPage.jsp:71 68: List searchresult = (List) request.getAttribute("searchresult"); 69: %> 70: Stacktrace:
    I am getting this is in the log file
    Caused by: org.apache.jasper.JasperException: Exception in JSP: /WEB-INF/jsp/SearchResultPage.jsp:71
    68: List searchresult = (List) request.getAttribute("searchresult");
    69: %>
    70: <%
    71: for (Iterator itr=searchresult.iterator(); itr.hasNext(); )
    72: {
    73: testPackage.net.dao.hibernate.WorkList workList = (testPackage.net.dao.hibernate.WorkList)itr.next();
    74: %>
    Stacktrace:
    at org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:504)
    at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:393)
    at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
    at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
    at org.jboss.portal.portlet.impl.jsr168.PortletRequestDispatcherImpl.execute(PortletRequestDispatcherImpl.ja
    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.portal.server.servlet.CommandFilter.doFilter(CommandFilter.java:65)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
    at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:672)
    at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:574)
    at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:499)
    at org.jboss.portal.portlet.impl.jsr168.PortletRequestDispatcherImpl.include(PortletRequestDispatcherImpl.ja
    ... 238 more
    Caused by: java.lang.NullPointerException
    at org.apache.jsp.WEB_002dINF.jsp.SearchResultPage_jsp._jspService(SearchResultPage_jsp.java:152)
    at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
    at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:332)
    ... 255 more

  • OIM installation with JBoss 4.2.3GA

    Hello..
    I have installed OIM 9.1.0.1 with JBoss 4.2.3GA. And getting the following error when access the http://localhost:8080/xlWebApp
    INFO [TomcatDeployer] deploy, ctxPath=/xlScheduler, warUrl=.../tmp/deploy/tmp21688xlScheduler-exp.war/
    INFO [WEBSTARTUP] Start the Scheduler on server startup : true
    INFO [WEBSTARTUP] SchedulerInitServlet/initializeScheduler method reads data from TSK/TSA tables and initialize Quartz scheduler with the task and trigger details
    ERROR [STDERR] javax.naming.NamingException: Could not dereference object [Root exception is javax.naming.NameNotFoundException: jdbc not bound]
    ERROR [STDERR]      at org.jnp.interfaces.NamingContext.resolveLink(NamingContext.java:1215)
    ERROR [STDERR]      at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:758)
    ERROR [STDERR]      at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:774)
    ERROR [STDERR]      at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:627)
    ERROR [STDERR]      at javax.naming.InitialContext.lookup(InitialContext.java:392)
    ERROR [STDERR]      at com.thortech.xl.util.DirectDB.getDataSource(Unknown Source)
    ERROR [STDERR]      at com.thortech.xl.util.DirectDB.getConnection(Unknown Source)
    ERROR [STDERR]      at com.thortech.xl.util.DirectDB.getConnection(Unknown Source)
    ERROR [STDERR]      at com.thortech.xl.scheduler.common.SchedulerUtil.getManagedConnection(Unknown Source)
    ERROR [STDERR]      at com.thortech.xl.scheduler.deployment.webapp.SchedulerInitServlet.initializeScheduler(Unknown Source)
    ERROR [STDERR]      at com.thortech.xl.scheduler.deployment.webapp.SchedulerInitServlet.startScheduler(Unknown Source)
    ERROR [STDERR]      at com.thortech.xl.scheduler.deployment.webapp.SchedulerInitServlet.init(Unknown Source)
    ERROR [STDERR]      at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1161)
    ERROR [DATABASE] Class/Method: DirectDB/getConnection encounter some problems: Error while retrieving database connection.Please check for the follwoing
    Database srever is running.
    Datasource configuration settings are correct.
    java.lang.NullPointerException
         at com.thortech.xl.util.DirectDB.getConnection(Unknown Source)
         at com.thortech.xl.util.DirectDB.getConnection(Unknown Source)
         at com.thortech.xl.scheduler.common.SchedulerUtil.getManagedConnection(Unknown Source)
         at com.thortech.xl.scheduler.deployment.webapp.SchedulerInitServlet.initializeScheduler(Unknown Source)
         at com.thortech.xl.scheduler.deployment.webapp.SchedulerInitServlet.startScheduler(Unknown Source)
         at com.thortech.xl.scheduler.deployment.webapp.SchedulerInitServlet.init(Unknown Source)
         at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1161)
         at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:981)
         at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4071)
    please help me resolve this issue. Thanks in advance

    Hi,
    The server started with some errors.
    INFO [WEBSTARTUP] SchedulerInitServlet/initializeScheduler method reads data from TSK/TSA tables and initialize Quartz scheduler with the task and trigger details
    ERROR [STDERR] javax.naming.NamingException: Could not dereference object [Root exception is javax.naming.NameNotFoundException: jdbc not bound
    Oracle DB is running fine. But not sure on how to verity the connectivity between the OIM and the database. Some more hints would be helpful
    Thanks.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • Ear file  cant be deployed from  eclipse with jboss 3.2.7

    I am using eclipse with JBOSS IDE1.5
    I want to work with EJB in eclipse. I have created configured all neccessary directory structure , xml files and jar,war,ear files(using XDoclet Configureations).
    But i am not able to deploy my "ear" file . At that time i am getiing following message in JBOSS Console.
    16:48:41,937 INFO [EARDeployer] Init J2EE application: file:/F:/jboss-3.2.7/server/default/deploy/FiboApp.ear
    16:48:42,421 WARN [verifier] EJB spec violation:
    Bean : Fibo
    Section: 22.2
    Warning: The bean provider must specify the fully-qualified name of the enterprise bean's remote home interface, if any, in the <home> element.
    Info : Class not found on 'tutorial.interfaces.FiboHome': No ClassLoaders found for: tutorial.interfaces.FiboHome
    16:48:42,453 WARN [verifier] EJB spec violation:
    Bean : Fibo
    Section: 22.2
    Warning: The bean provider must specify the fully-qualified name of the enterprise bean's remote interface, if any, in the <remote> element.
    Info : Class not found on 'tutorial.interfaces.Fibo': No ClassLoaders found for: tutorial.interfaces.Fibo
    16:48:42,453 WARN [verifier] EJB spec violation:
    Bean : Fibo
    Section: 7.10.1
    Warning: The session bean must implement either a remote home and remote, or a local home and a local interface.
    Any suggestions or remarks will be greatly appreciated
    Thanks in advance
    satheesh

    Atlast it worked. The problem was that in my ejb-jar.xml I was referring to 2_0.dtd. I have changed that to 2.1 and it worked.
    Older ejb-jar.xml had:
    <!DOCTYPE ejb-jar PUBLIC "-//Sun Microsystems, Inc.//DTD Enterprise JavaBeans 2.0//EN" "C:/jboss-4.0.1sp1/docs/dtd/ejb-jar_2_0.dtd">
    I changed that to:
    <ejb-jar xmlns="http://java.sun.com/xml/ns/j2ee" version="2.1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/ejb-jar_2_1.xsd">
    And it worked.
    -Sathish

  • Problem in Blazeds with Jboss Clustering ( Mod_JK with SSL )

    Hi,
         We are running our flex application in jboss clustering environment with the help of Apache mod_jk(Apache Web server as front end with mod_ssl enabled). We are using the SecureAMFChannel as we deploy the application in SSL. We use the RemoteObject for communicating with Java.
    The Application is running fine when we have only one node of JBoss. But once we add one more node to the cluster the application throws the following exception .
    Duplicate HTTP-based FlexSession error: A request for FlexClient 'FDCA49A7-9317-4D8A-881F-9248B1136E7A' arrived over a new FlexSession 'C9C563B8266A03C2207C00796CD7DFF1', but FlexClient is already associated with  FlexSession '8A328320F5C530D55E94568996A1B552', therefore it cannot be associated with the new session.
    As I am maintaing the session in the server, I need to use the JBoss cluster for session replication. I heard that flex clustering is not needed as we have mod_jk and it will do all the stuff for us.
    I checked with simple application without any session data also then too I faced the same problem.
    After the very first login, I can see 2 session created simultaneously and destroyed. I checked the application whether it calls twice before the session is created, but it is calling only once.
    Also when application connects with server2 and if I down the server2 my flex application throws the error that the server is not found, It is not detecting the other server.But it works once I refresh the browser.
    Application Environment Details
    JBoss 6
    Blaze Ds 4.5
    Apache Web server 2.2.21
    Mod_JK   1.2.32
    Mod_SSL 2.8.31
    Thanks,
    Suresh T
    I enabled the sticky session in Mod_jk .
    It is working when the connection is not secure(http) in both apache web server and jboss web server ). But when the connection is https the above problem is happening .
    Message was edited by: suresh.thirumurugan

    Hi,
     Thanks for your info.
      It worked for me as well.
    Thanks,
    Prasad
    On 6/26/08,
    Matthieu Labour <
    [email protected]> wrote:
    A new message was posted by Matthieu Labour in
    Configuration and Getting Started Discussion --
      Problem with configuring BlazeDS with JBOSS
    You might want to download the following tutorial
    http://sebastien-arbogast.com/2008/04/10/flex-spring-and-blazeds-the-full-stack/
    it works on jboss
    Best
    Matt
    View/reply at
    Problem with configuring BlazeDS with JBOSS
    Replies by email are OK.
    Use the
    unsubscribe form to cancel your email subscription.

  • Install OIM 9.0.2 on Linux with JBOSS or OAS 10.1.3.1

    Hi all,
    I try to install OIM on RHEL 4 update 3 .
    First I installed OIM 9.0.2 in Oracle 10.2.0.1 with JBOSS and I obstacled with errors during compilling adapters of OEBS and OID from Connectors Pack.
    After that I desided to install OIM in existing Oracle 10.2.0.1 on OAS 10.1.3.1 during installation I obstacle with follow error "Oracle Identity Manager installer has found that Oracle Application Server is not running. So, start Oracle Application Server and then proceed with installation."
    I tested my OAS and I's starting
    Please give me advise about my abilities with installation OIM 9.0.2 on Linux.

    For JBOSS I use
    ./java -version
    java version "1.4.2_13"
    Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_13-b06)
    Java HotSpot(TM) Client VM (build 1.4.2_13-b06, mixed mode)
    For OAS 10.1.3.1 I use
    ./java -version
    java version "1.5.0_06"
    Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_06-b05)
    Java HotSpot(TM) Server VM (build 1.5.0_06-b05, mixed mode)
    After all, I installed OIM 9.0.2 on OAS 10.1.3.1 but I have same problems which I have with JBOSS installation:
    1. I have warnings during import xml files of adapters such as
    OID User
    [Warning] Warn:Target has more recent definition.
    Lookup.OID.Department
    [Warning] Warn:Target has more recent definition.
    Lookup.OID.Location
    [Warning] Warn:Target has more recent definition.
    UD_OID_ROLE
    [Warning] Warn:Target has more recent definition.
    adpOIDADDUSERTOGROUP
    [Warning] Warn:Target has more recent definition.
    AttrName.Prov.Map.OID
    [Warning] Warn:Target has more recent definition.
    com.thortech.xl.dataobj.tcUD_OID_ROLE
    [Warning] Warn:Target has more recent definition.
    com.thortech.xl.dataobj.tcOBJ
    [Warning] Warn:Target has more recent definition.
    etc ...
    2. I have errors during compilling adapters in Design Console, It's error such as ""CODE GEN EXCEPTION" "

  • Oracle Apps Adapter with jboss

    Hi,
    I'm using BPEL 10.1.2 with JBoss and I'm having trouble getting the Apps Adapter to work. I've tried configuring AppsAdapter-ds.xml in the deploy directory but I get the error message below when I invoke the process. Basically, the connection URL is invalid ? Looks ok to me, am I missing something. All the doco, even that with JBoss only talks about oracle BPEL engine. Not particularly helpful.
    matt.
    13:42:22,835 INFO [STDOUT] <2006-02-06 13:42:22,835> <INFO> <default.collaxa.cube.ws> <AdapterFramework::Outbound> file:/C:/development/orabpel_jboss1012/domains/default/tmp/.bpel_BPELProcess1_1.0.jar/OracleDev11.wsdl [ OracleDev11_ptt::OracleDev11Select(OracleDev11Select_inparameters,ArCustomersCollection) ] - Using JCA Connection Pool - max size = <unbounded>
    13:42:23,788 INFO [STDOUT] <2006-02-06 13:42:23,788> <ERROR> <default.collaxa.cube.ws> <Database Adapter::Outbound> <oracle.tip.adapter.db.DBManagedConnectionFactory acquireClientSession> unable to build the TopLink Session
    13:42:23,804 INFO [STDOUT] <2006-02-06 13:42:23,804> <ERROR> <default.collaxa.cube.ws> <Database Adapter::Outbound> <oracle.tip.adapter.db.DBInteraction executeOutboundRead> unable to execute the NamedQuery: BPELProcess1.ArCustomers.OracleDev11Select
    13:42:23,804 INFO [STDOUT] <2006-02-06 13:42:23,804> <ERROR> <default.collaxa.cube.ws> <AdapterFramework::Outbound> file:/C:/development/orabpel_jboss1012/domains/default/tmp/.bpel_BPELProcess1_1.0.jar/OracleDev11.wsdl [ OracleDev11_ptt::OracleDev11Select(OracleDev11Select_inparameters,ArCustomersCollection) ] - Could not invoke operation 'OracleDev11Select' against the 'Database Adapter' due to:
    ORABPEL-11622
    Could not create/access the TopLink Session.
    This session is used to connect to the datastore.
    See root exception for the specific exception. You may need to configure the connection settings in the deployment descriptor (i.e. orabpel/system/app
    server/jboss/server/default/deploy/DbAdapter-ds.xml) and restart the server. Caused by Exception [TOPLINK-4002] (OracleAS TopLink - 10g (9.0.4.5) (Build 040930)): oracle.toplink.exceptions.DatabaseException
    Exception Description: java.sql.SQLException: Invalid Oracle URL specified
    Internal Exception: java.sql.SQLException: Invalid Oracle URL specified
    Error Code: 17067.
    13:42:23,804 INFO [STDOUT] <2006-02-06 13:42:23,804> <INFO> <default.collaxa.cube.ws> <AdapterFramework::Outbound> Change logging level for Logger 'default.collaxa.cube.ws' to DEBUG to see full error stack
    13:42:23,804 INFO [STDOUT] <2006-02-06 13:42:23,804> <ERROR> <default.collaxa.cube.ws> <AdapterFramework::Outbound> file:/C:/development/orabpel_jboss1012/domains/default/tmp/.bpel_BPELProcess1_1.0.jar/OracleDev11.wsdl [ OracleDev11_ptt::OracleDev11Select(OracleDev11Select_inparameters,ArCustomersCollection) ] - Rolling back JCA LocalTransaction
    13:42:23,976 INFO [STDOUT] <2006-02-06 13:42:23,976> <ERROR> <default.collaxa.cube.sensor> <PCException::<init>> JMS connection factory lookup failed.
    13:42:23,976 INFO [STDOUT] <2006-02-06 13:42:23,976> <ERROR> <default.collaxa.cube.sensor> <PCException::<init>> Please verify the JMS configuration.
    13:42:23,976 INFO [STDOUT] <2006-02-06 13:42:23,976> <ERROR> <default.collaxa.cube.sensor> <DefaultDataRouter::send> JMS connection factory lookup failed.
    13:42:23,976 INFO [STDOUT] <2006-02-06 13:42:23,976> <ERROR> <default.collaxa.cube.sensor> <DefaultDataRouter::send> Please verify the JMS configuration.

    I don't know if this is the answer or not, but at least worth a try.
    A few years ago, JBoss was VERY unforgiving if installed on a windows machine with a space in the path. Most JBoss functionality would work fine, but in some situations, it would complain about the URL, just as it has in your case. It looks to me as if you do have a space in your path. I don't know if they ever got around to fixing it (I filed the original bug on the JBoss bug system). It's at least worth a try, or at least a search through the JBoss site to see if this issue still exists.
    Catherine

  • JSF 1.2 compatibility with JBoss

    I would like to know how to configure (or what is required) JSF 1.2 with JBoss 3.2.x

    Indianparadesi wrote:
    I would like to know how to configure (or what is required) JSF 1.2 with JBoss 3.2.xI don't think JBoss 3.2.x supports JSF, although I could be wrong.

  • Log4J with Weblogic Server 10

    Hi,
    We are migrating an EJB application from Weblogic 8.1 to Weblogic 10.0
    In the current configuration, we simply include the following in the server startup script, so as to specify the log4j configuration file, and this takes care of the logging part.
    -Dlog4j.configuration=file:<complete file name>
    The same thing doesn't work with WL 10. Is there any other (special) way of using Log4j with WL 10?
    Note that inside the code, we use commons-logging to get hold of the logger as follows:-
    org.apache.commons.logging.LogFactory.getLog(class)
    I would be grateful for any help on this.
    Thanks in advance.
    Regards,
    Neelesh

    Tricky questions.. this problem needs more analysing. I see that you are on R27.6.0, we've come with a few updates to that one. Download the latest greatest and see if that works things out: http://www.oracle.com/technology/software/products/jrockit/index.html. If not, then report this issue to JRockit support (see how to below)!
    Best Regards,
    Tuva
    JRockit PM
    How to report to JRockit support:
    You must register and file the issue on Metalink, http://metalink.oracle.com. Note that you must have purchased support to continue.
    If you have problems during the registration or filing you can call our support +1.800.223.1711* or 1-800-633-0738 directly.
    In case you have not purchased support call 1.800.833.3536* for support sales.
    More information on our support site: http://www.oracle.com/support/index.html.
    *) US numbers - for global technical support contacts see: http://www.oracle.com/support/contact.html

  • Creating SSL certificate and configuring it with JBOSS 4.0.1

    I have to post some data to a secured site from my application.
    For this, I am creating connection to that site using URLConnection and to send data I create OutputStream using the connection.
    But, while creating the stream it is showing SSLException and message is No trusted certificate found.
    For this, I need to create SSL certificate (mostly using keytool command) and configure it with my application server which is JBOSS 4.0.1
    Now, my problem is that I don't know the exact steps to create a certificate and configure it with JBOSS. Please provide the steps in detail.

    I think you have this back to front. Unless this exception came from the server, in which case it is misconfigured, you don't have to create a certificate, you have to import the server's certificate, or that of one of its signers, into the client's truststore, and tell Java where the truststore is if it's in a non-standard location.
    See http://java.sun.com/j2se/1.5.0/docs/guide/security/jsse/JSSERefGuide.html. You'll have to ask about the JBoss part in a JBoss forum.

  • BlazeDS clustering with JBoss AS

    Greetings,
    I'm currently working on a system that uses Adobe Flex 3 and BlazeDS. It works fine in the actual TomCat standalone server, but we got plans to upgrade our infrastructure to a cluster environment running JBoss AS.
    I got really concern when I begin to read many articles and forum posts about BlazeDS issues with clustering.
    Is this a risk to my project ? Should I quit using BlazeDS ?
    Thanks is advance,
    Daniel Cheida

    Hi Mauricio,
    I installed OCMS in JBOSS AS 4.0.5.GA installation mode.I m facing the same problem on ocms startup, i.e., proxyregistrar war file is not deployed properly. OCMS not working properly with JBOSS AS 4.2.1 GA and JBOSS AS 4.2.2 GA too i.e., OCMS MBeans are not shown in the jmx-console page and the oc is not getting connected to the ocms, traffic.log file shows that application proxyregistrar is not found. Please help me out in solving this issue.
    Regards,
    Harini Dhanasekaran.

  • Using Microsoft Network Load Balancing for Livecycle ES 2/2.5 with JBoss clustering?

    Hi,
    Has anyone tried using Microsoft NLB for Livecycle with JBoss clustering and get it working? Able to login to livecycle's admin ui page with the NLB IP
    My enviroment:
    - 2 jboss application server (different IP address)
    - Horizontal clustered
    - LC ES2 installed on both servers
    For those who setup successfully, hope you can share your experience.
    Thank you.

    Thanks!
    Just a few more questions...hehehe
    In the document: Configuring LiveCycle ES2 Application Server Clusters Using JBoss.
    Page 35 item 3.4. Have you had to configure the Caching Locators? If yes, where did you put them, in only one machine or in all of the nodes?
    On page 29, iten 2.7 (Testing the JBoss Application Server cluster) says that for testing we can run the command specifying the server, in my case is:
    run.bat -c lc_sqlserver_cl -b <ipAddress>
    But in the Appendix C: Configuring JBoss as a Windows Service, it says: call run.bat -c all -b <ipAddress>
    So when should I start JBoss with "lc_sqlserver_cl" or "all" ?

  • BPEL 10.1.2.0.2 with JBOSS deployment descriptor of database adapter

    We use Oracle BPEL Process Manager 10.1.2.0.2 with JBOSS v3.2.6 . In our BPEL processes we use also the DatabaseAdapter.
    We deploy our processe manually with obant, because we are only able to access our productiv-system about putty(ssh).
    For that we have to manually adapt our DatabaseConnectionData,which were created on our development enviroment, in the apropriate wsdl files.
    On our productiv-system we see in the domain-log files following lines:
    <2006-11-08 04:52:44,465> <INFO> <condis.collaxa.cube.ws> <AdapterFramework::Outbound>
    file:/opt/etmn/jboss_bpel/domains/condis/tmp/.bpel_WF_Notifikation_1.0.jar/SetFaultedWS.wsdl [ SetFaultedWS_ptt::SetFaultedWS(InputParameters) ] - Using JCA Connection Pool -
    max size = <unbounded>
    <2006-11-08 04:52:44,468> <WARN> <condis.collaxa.cube.ws> <AdapterFramework::Outbound>
    file:/opt/etmn/jboss_bpel/domains/condis/tmp/.bpel_WF_Notifikation_1.0.jar/SetFaultedWS.wsdl [ SetFaultedWS_ptt::SetFaultedWS(InputParameters) ] - JNDI lookup of
    'java:/eis/DB/DBL_WFMODUL' failed due to: DBL_WFMODUL not bound
    <2006-11-08 04:52:44,469> <INFO> <condis.collaxa.cube.ws> <AdapterFramework::Outbound> Since unable to locate the JCA Resource Adapter deployed at 'java:/eis/DB/DBL_WFMODUL',
    will then attempt to instantiate ManagedConnectionFactory oracle.tip.adapter.db.DBManagedConnectionFactory directly.
    After some reading in the "Adapters UserGuide" you can find some lines about necessary configuration of the "deployment descriptor of the database adapter"
    concerning the "<jca:address location=..." used in the apropriate wsdl files:
    The adapter service WSDL refers to the run-time connection configured in the
    deployment descriptor of the database adapter. (In Oracle Application Server, it is
    oc4j-ra.xml). The relevant code example for the service WSDL follows:
    <jca:address location="eis/DB/DBL_WFMODUL" UIConnectionName="DBL_WFMODUL"
    ManagedConnectionFactory="oracle.tip.adapter.db.DBManagedConnectionFactory"
    The questions are now:
    What is the apropriate file for the "deployment descriptor of the database adapter" for Oracle BPEL Process Manager 10.1.2.0.2 with JBOSS 3.2.6 ??
    Exist there a description for that?
    What are really the consequences if you configure the "deployment descriptor of the database adapter" or not ?

    Hi Martin,
    Thanks for sharing valuable information of bpel install .
    We are stuck installing bpel pm 10.1.2.0.2 on linux from past one week ,can u plz help us in giving some pointers.
    We downloaded mrca utility from otn and tried to upload the repository into 10g database but we got "ultra search schema not found" error and few other errors.
    Can we use any 10g database or is there any version that we need to use.Can you plz specify the database version that u used for ur install.
    Then we tried to create a repository while installing Oracle Application Server 10.1.2.0.2(J2EE and Web Cache with new OID), which creates a new dbase with a repository loaded into it.
    we tried to run the ldap search command to get the encrypted password but failed to execute that command successfully.finally we tried to change orabpel pwd with alter command. And when we finally started with BPEL PM install and pointed to the above AS home it didnt recognize it and giving error as "plz point to the appropriate Application Server(AS) home and it cant find the AS home in folder in which we specified."
    Can u plz help us and give some pointers in resolving our issues.
    Thanks a lot in advance.
    Vandana.

Maybe you are looking for

  • Saving to Windows Phone Documents Folder

    Greetings, I tried to look through the forum but could not find anything on saving to the Windows Phone Documents folder. From what I researched online on the Windows Phone 8 it was not possible to do this as Microsoft had blocked the ability to do t

  • Creative Audigy OEM + Genius SW-HF 5.1 5000 = grand problem with subwoo

    Hello! I bought Audigy OEM 2 days ago, connected it to my motherboard and installed provided software. After updating I pluged in my headphones - everything was brilliant. But in the evening I connected my 5. speakers - Genius SW-HF 5. 5000 Home Thea

  • How to change the type of Case selector

    Hallo, I'm running LV 6i on NT4.0. I have a Case structure with several strings as cases, lets say stringA (Standard), stringB, stringC, stringD and so on. So my Case selector is of type string. That works fine so far. Now I want to change that struc

  • SSH in Solaris 10 & zones

    I have recently seen this problem connecting via ssh ( from an windows box using Secure ssh ( www.ssh.com ) particulary to solaris 10 sparc , ( connection problem to both global and zones ) complaining of a different alogrithm; and not connecting . I

  • NI 7852R output not working

    Hello, Any examples (analog or digital output) after moving to 7852R PCIe and compiling are runs, but no output signals we can see by oscilloscope. Any help ? Thanks, Serg. Solved! Go to Solution.