Topic
2 replies Latest Post - ‏2012-09-24T15:15:09Z by SystemAdmin
vijaymanda
vijaymanda
5 Posts
ACCEPTED ANSWER

Pinned topic Filenet issue in Jboss server

‏2012-09-14T14:14:10Z |
Hi,

We are connecting to the filenet server from JBoss server in Linux environment. While connecting to the server , we are getting the following error.

Note: The same war file is working fine in windows environment & Our other linux box also.

Environment:

Server:JBoss
Os:Linux
Error Details:

ERROR STDERR com.filenet.api.exception.EngineRuntimeException: API_SESSION_NOT_IMPL_CORRECTLY: Session class com.filenet.apiimpl.wsi.ServiceSession is not implemented correctly.
ERROR STDERR at com.filenet.apiimpl.util.SessionLocator.createNewSoapSession(SessionLocator.java:637)
ERROR STDERR at com.filenet.apiimpl.util.SessionLocator.createNewSession(SessionLocator.java:498)
ERROR STDERR at com.filenet.apiimpl.util.SessionLocator.getSession(SessionLocator.java:149)
ERROR STDERR at com.filenet.apiimpl.core.IndependentObjectImpl.getObject(IndependentObjectImpl.java:153)
ERROR STDERR at com.filenet.apiimpl.core.IndependentObjectImpl.refresh(IndependentObjectImpl.java:161)
ERROR STDERR at com.filenet.api.core.Factory$Domain.fetchInstance(Factory.java:1543)
ERROR STDERR at com.ge.cse.eot.service.FilenetServiceImpl.connectToFileNet(FilenetServiceImpl.java:154)
ERROR STDERR at com.ge.cse.eot.service.FilenetServiceImpl.retrieveDocuments(FilenetServiceImpl.java:51)
ERROR STDERR at com.ge.cse.eot.web.FilenetController.getDocuments(FilenetController.java:48)
ERROR STDERR at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
ERROR STDERR at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
ERROR STDERR at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
ERROR STDERR at java.lang.reflect.Method.invoke(Method.java:585)
ERROR STDERR at org.springframework.web.bind.annotation.support.HandlerMethodInvoker.invokeHandlerMethod(HandlerMethodInvoker.java:176)
ERROR STDERR at org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandlerAdapter.invokeHandlerMethod(AnnotationMethodHandlerAdapter.java:426)
ERROR STDERR at org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandlerAdapter.handle(AnnotationMethodHandlerAdapter.java:414)
ERROR STDERR at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:790)
ERROR STDERR at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:719)
ERROR STDERR at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:644)
ERROR STDERR at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:549)
ERROR STDERR at javax.servlet.http.HttpServlet.service(HttpServlet.java:690)
ERROR STDERR at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
ERROR STDERR at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
ERROR STDERR at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
ERROR STDERR at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
ERROR STDERR at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
ERROR STDERR at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
ERROR STDERR at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
ERROR STDERR at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
ERROR STDERR at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:179)
ERROR STDERR at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:432)
ERROR STDERR at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
ERROR STDERR at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
ERROR STDERR at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
ERROR STDERR at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)
ERROR STDERR at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
ERROR STDERR at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:262)
ERROR STDERR at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
ERROR STDERR at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
ERROR STDERR at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:446)
ERROR STDERR at java.lang.Thread.run(Thread.java:595)
ERROR STDERR Caused by: java.lang.NoClassDefFoundError
ERROR STDERR at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
ERROR STDERR at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)

Can you please any one suggest us for resolving this issue.

Thanks,
Vijay
Updated on 2012-09-24T15:15:09Z at 2012-09-24T15:15:09Z by SystemAdmin
  • vijaymanda
    vijaymanda
    5 Posts
    ACCEPTED ANSWER

    Re: Filenet issue in Jboss server

    ‏2012-09-24T11:22:21Z  in response to vijaymanda
    Hi,

    we have resolved this issue by seeting the following two variables in the JBoss system properties.

    -Djava.security.auth.login.config=/app/CE/config/samples/jaas.conf.JBoss
    -Dwasp.location=/app/CE/wsi

    Thanks,
    Vijay
    • SystemAdmin
      SystemAdmin
      693 Posts
      ACCEPTED ANSWER

      Re: Filenet issue in Jboss server

      ‏2012-09-24T15:15:09Z  in response to vijaymanda
      You don't mention what CE release you are using, but since you use "wasp.location" it must be 4.5.0 or earlier. When you move to 4.5.1 or later, Systinet WASP is gone completely, so you'll want to remove the "wasp.location" setting and make sure you don't have any of it on your classpath.