Java.lang.InternalError: internal error: SHA-1 not available

Hi All,
When starting my j2ee & portal I get the following error:
java.lang.InternalError: internal error: SHA-1 not available
Does anybody have an idea about this error?
Thanks
Steven

Hi All,
When starting my j2ee & portal I get the following error:
java.lang.InternalError: internal error: SHA-1 not available
Does anybody have an idea about this error?
Thanks
Steven

Similar Messages

  • Internal error: SHA-1 not available

    The password encryption application works fine wherever we have tested it except this particular TRU64 box. We hava HP version of java 1.4.2-5 on this box, which is basically built on Sun's 1.4.2-11. I have been having this problem for a while and recently reinstalled J2SDK. Nothing seems to help other than getting a different exception.
    If I have below order of security.provider in java.security file, I get the exception mentioned in the Subject line.
    security.provider.1=com.sun.crypto.provider.SunJCE
    security.provider.2=sun.security.provider.Sun
    When I reverse the order, I am getting below exception:
    Java.security.InvalidKeyException: Missing password
    Any help in getting this resolved is greatly appreciated.

    I just got this resolved. I realized that password encryption is done on an IBM JVM, so the decryption should also be done with IBMJCE(not sure if this is true), I have changed below in java.security
    security.provider.1=com.ibm.crypto.provider.IBMJCE
    security.provider.2=sun.security.provider.Sun
    security.provider.3=com.sun.crypto.provider.SunJCE
    then, I got a ClassNotFoundException for Debug class in some ibm package. I had to include ibmpkcs.jar along with ibmjceprovider.jar in the classpath and it started working fine.
    Regards,
    Prashanth

  • Java.lang.IllegalStateException: INTERNAL ERROR: Global root folder for pre-installed component archives not defined.

    Hi Gurus,
    I am working on NWDS 7.01.00 after opening NWDS, I am getting this error. My error log file is:
    java.lang.IllegalStateException: INTERNAL ERROR: Global root folder for pre-installed component archives not defined.
    at com.sap.tc.devconf.impl.DevConfFileSystemLayout.getRootPathForCompartment(DevConfFileSystemLayout.java:202)
    at com.sap.tc.devconf.impl.DevConfFileSystemLayout.getAbsoluteSCRoot(DevConfFileSystemLayout.java:76)
    at com.sap.tc.devconf.impl.DevConfFileSystemLayout.getAbsoluteTopLevelDCsRoot(DevConfFileSystemLayout.java:169)
    at com.sap.tc.devconf.impl.LocalSCNode.initializeTopLevelDCNodeList(LocalSCNode.java:41)
    at com.sap.tc.devconf.impl.LocalSCNode.<init>(LocalSCNode.java:24)
    at com.sap.tc.devconf.impl._Factory.createLocalSCNode(_Factory.java:385)
    at com.sap.tc.devconf.impl.DevelopmentConfiguration.getTopLevelDCsForLocalCompartment(DevelopmentConfiguration.java:3415)
    at com.sap.tc.devconf.impl.syncdb.ComponentSyncDB._initializeLocalEntries(ComponentSyncDB.java:788)
    at com.sap.tc.devconf.impl.syncdb.ComponentSyncDB.initializeLocalEntries(ComponentSyncDB.java:759)
    at com.sap.tc.devconf.impl.syncdb.ComponentSyncDB.initialize(ComponentSyncDB.java:436)
    at com.sap.tc.devconf.impl.syncdb.ComponentSyncDB.retainEntriesFromCompartment(ComponentSyncDB.java:824)
    at com.sap.tc.devconf.impl.LocalDCScanner.refreshSyncDBForLocalDCs(LocalDCScanner.java:103)
    at com.sap.tc.devconf.impl.DevelopmentConfiguration.<init>(DevelopmentConfiguration.java:378)
    at com.sap.tc.devconf.impl._Factory.createDevelopmentConfiguration(_Factory.java:354)
    at com.sap.tc.devconf.Factory.createDevelopmentConfiguration(Factory.java:103)
    at com.sap.tc.devconf.DevelopmentConfigurationFactory._addConfiguration(DevelopmentConfigurationFactory.java:2062)
    at com.sap.tc.devconf.DevelopmentConfigurationFactory.addConfiguration(DevelopmentConfigurationFactory.java:761)
    at com.sap.tc.devconf.DevelopmentConfigurationFactory.addConfiguration(DevelopmentConfigurationFactory.java:696)
    at com.sap.tc.devconf.DevelopmentConfigurationFactory.addConfiguration(DevelopmentConfigurationFactory.java:667)
    at com.sap.ide.eclipse.component.devconf.DevConfManager.createDefaultDevConf(DevConfManager.java:341)
    at com.sap.ide.eclipse.component.devconf.DevConfManager.getInstalledDevConfs(DevConfManager.java:442)
    at com.sap.ide.eclipse.component.devconf.DevConfManager.initializeDevConfs(DevConfManager.java:135)
    at com.sap.ide.eclipse.component.devconf.DevConfManager.initializeDevConfs(DevConfManager.java:109)
    at com.sap.ide.eclipse.component.provider.ComponentProviderPlugin$1.run(ComponentProviderPlugin.java:82)
    at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
    at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:98)
    at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:1999)
    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:1733)
    at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1402)
    at org.eclipse.ui.internal.Workbench.run(Workbench.java:1385)
    at com.tssap.util.startup.WBLauncher.run(WBLauncher.java:79)
    at org.eclipse.core.internal.boot.InternalBootLoader.run(InternalBootLoader.java:858)
    at org.eclipse.core.boot.BootLoader.run(BootLoader.java:461)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at com.sap.ide.eclipse.startup.Main.basicRun(Main.java:291)
    at com.sap.ide.eclipse.startup.Main.run(Main.java:789)
    at com.sap.ide.eclipse.startup.Main.main(Main.java:607)

    Maybe some plugins are missing. Try reinstall the latest version of the nwds that matches to you server version.
    http://wiki.scn.sap.com/wiki/display/Java/NWDS+Download+Links

  • Java.sql.SQLException: Internal error: Data array not allocated

    We got an error as follows: 'java.sql.SQLException: Internal error: Data array not allocated'. Does anyone know what does this error means? Thanks!

    Duplicate post:
    Re: ORA - 17044. Confused, please help
    Hippo,
    I have answered you in the other post.
    Good Luck,
    Avi.

  • Urgent: SQLException: Internal Error: Image is not in 8.1 format

    Hello there,
    I have never come accross such error.
    Scenario
    1 using JDeveloper EA1, Database 9i (9.2.0.6)
    2 calling Oracle package procedure with in/out parameters.
    3 Package has been imported into jDeveloper (jPublisher) with defaults settings.
    4 procedure call is successfull, but when accessing out value getting this error
    Code
    try{
    // imported package
    PailinWebPolicy webPolicy=new PailinWebPolicy(conn);
    System.out.println("web issue policy");
    // call of package procedure both parameters are in/out
    webPolicy.issuepolicy(policyData,errors,processStatus);
    System.out.println("web issue policy done");
    result=processStatus[0];
    System.out.println("result assigned policy length "+policyData.length);
    Wtpolicycore resultPolicy=policyData[0];
    System.out.println("policy data assigned");
    // error at accessing getPolicyno
    String policyRef =resultPolicy.getPolicydata().getPolicyno();
    System.out.println("policy ref assigned");
    catch(SQLException e)
    System.out.println("Exception "+e);
    System.out.println("Exception "+e.getErrorCode()+" state "+e.getSQLState());
    opus.close();
    output:
    web issue policy
    web issue policy done
    result assigned policy length 1
    policy data assigned
    Exception java.sql.SQLException: Internal Error: Image is not in 8.1 format
    Exception 17001 state null
    Any idea what might be wrong? I dont see any error on db side at all.
    ferdo
    Message was edited by:
    frpkoo

    I found similar bug reported on Metalink on April 8,2005
    Bug no 4294423
    Getting java.sql.SQLException: Internal Error: Image is not in 8.1 format Error Code: 17001 When running JDBC program that access many User defined Types .
    But cannot find out what is the status of it.
    Any idea?
    ferdo

  • Could not validate SPNEGO token.java.lang.Exception: Checksum error.

    Hello consultant:
    We are trying configurated SSO usind SPNEGO  module
    We have a portal 7.0 ehp1 and Active Directory Microsoft versión 2003 native
    we have followed the steps described in note Sap 1457499"Note 1457499 - SPNego add-on"
    When we have logged with user Active Directory and we try access to portal we obtain following error:
    Authorization check user error
    We have Deploy the Web diagtool from SAP Note 1045019 on the J2EE server, run it and perform the
    following steps:
    1. Select "Component" = "security" and "Activity" = "all"
    2. Click the "Go" button, followed by the "Add All" button
    3. Select "Component" = "All" and in the "Search pattern" field write "com.sap.security.spnego"
    4. Click the "Go" button, followed by the "Add All" button
    5. Start the tool
    Then we have reproduce the problem and stop the tool. The generated zip file will contain following error:
    15:45:20:078 Error J2EE_GST_PRD SAPEngine_Application_Thread[impl:3]_15 ~p.security.spnego.krb5.crypto.DesCrypto Checksum error! checksum: 0xc46bfed8d0dbc54221ee75405c8cd5ac; calculated checksum: 0x6ead7e801608b729a6957597327f2ba5
    15:45:20:078 Error J2EE_GST_PRD SAPEngine_Application_Thread[impl:3]_15 ~m.sap.security.spnego.SPNEGOLoginModule Could not validate SPNEGO token.
    java.lang.Exception: Checksum error.
    at com.sap.security.spnego.krb5.crypto.DesCrypto.decrypt(DesCrypto.java:43)
    at com.sap.security.spnego.krb5.KrbEncryptedData.decrypt(KrbEncryptedData.java:81)
    at com.sap.security.spnego.krb5.KrbApReq.decrypt(KrbApReq.java:67)
    at com.sap.security.spnego.SPNEGOLoginModule.parseAndValidateSPNEGOToken(SPNEGOLoginModule.java:234)
    at com.sap.security.spnego.SPNEGOLoginModule.processAuthorizationHeader(SPNEGOLoginModule.java:385)
    at com.sap.security.spnego.SPNEGOLoginModule.login(SPNEGOLoginModule.java:102)
    at com.sap.engine.services.security.login.LoginModuleLoggingWrapperImpl.login(LoginModuleLoggingWrapperImpl.java:185)
    at com.sap.engine.services.security.login.ModulesProcessAction.run(ModulesProcessAction.java:70)
    at java.security.AccessController.doPrivileged(AccessController.java:246)
    at com.sap.engine.services.security.login.FastLoginContext.login(FastLoginContext.java:181)
    at com.sap.engine.system.SystemLoginModule.login(SystemLoginModule.java:90)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:88)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:61)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:60)
    at java.lang.reflect.Method.invoke(Method.java:391)
    at javax.security.auth.login.LoginContext.invoke(LoginContext.java:699)
    at javax.security.auth.login.LoginContext.access$000(LoginContext.java:151)
    at javax.security.auth.login.LoginContext$4.run(LoginContext.java:634)
    at java.security.AccessController.doPrivileged(AccessController.java:246)
    at javax.security.auth.login.LoginContext.invokeModule(LoginContext.java:631)
    at javax.security.auth.login.LoginContext.login(LoginContext.java:557)
    at com.sap.security.core.logon.imp.SAPJ2EEAuthenticator.logon(SAPJ2EEAuthenticator.java:912)
    at com.sapportals.portal.prt.service.authenticationservice.AuthenticationService.login(AuthenticationService.java:367)
    at com.sapportals.portal.prt.connection.UMHandler.handleUM(UMHandler.java:126)
    at com.sapportals.portal.prt.connection.ServletConnection.handleRequest(ServletConnection.java:181)
    at com.sapportals.portal.prt.dispatcher.Dispatcher$doService.run(Dispatcher.java:541)
    at java.security.AccessController.doPrivileged(AccessController.java:246)
    at com.sapportals.portal.prt.dispatcher.Dispatcher.service(Dispatcher.java:430)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at com.sap.engine.services.servlets_jsp.server.servlet.InvokerServlet.service(InvokerServlet.java:156)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at com.sap.engine.services.servlets_jsp.server.runtime.RequestDispatcherImpl.doWork(RequestDispatcherImpl.java:321)
    at com.sap.engine.services.servlets_jsp.server.runtime.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:377)
    at com.sap.portal.navigation.Gateway.service(Gateway.java:126)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:401)
    at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:386)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:364)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:1039)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:265)
    at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95)
    at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:175)
    at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
    at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
    at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
    at java.security.AccessController.doPrivileged(AccessController.java:219)
    at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:104)
    at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:176)
    Could you help us?
    Many thanks for your collaboration

    << Do not post the same question across a number of forums >>

  • Java.lang.InternalError: jzentry == 0 after long idle time

    Hi,
    Our J2Se 1.4.1 Client/Server application works fine.
    However, after a long period of inactivity on the Windows 2000 client side (one hour or two, like during lunch), the icons in the toolbars have vanished and be replaced by black.
    Some other times, I get an internal error:
    java.lang.InternalError: jzentry == 0,
    jzfile = 9641264,
    total = 2427,
    name = L:\xxx\yyy\ourapplication.jar,
    i = 1,
    message = couldn't read LOC header
    It seems as if the memory content was swapped out and the classes loaded in the heap were lost due to some timeout.
    Can someone explain the phenomenon and propose a solution to this annoying behaviour?
    Jean-Pierre

    I have a similar (if not iqual) problem. The diferense is that I'm using XP and not 2000 edition.
    the error "begin" when I do my first Ctrl+Spacebar.... I think that eclipse begin to load the super classes, but stops because of some reason, that I dont know..
    what is LOC header? is that an JVM problem? I think so because of the error message witch apears after that long time waitng:
    "Virtual machine error jas occurred
    You are recommended to exit the workbench
    Subsequent errors may happen and may terminate the workbench without warring.
    here is my .log file:
    !SESSION Abr 30, 2004 14:16:25.932 ---------------------------------------------
    java.version=1.4.2_04
    java.vendor=Sun Microsystems Inc.
    BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=pt_BR
    Command-line arguments: -os win32 -ws win32 -arch x86
    !ENTRY org.eclipse.core.resources 2 1 Abr 30, 2004 14:16:25.932
    !MESSAGE Skipping builder for project Model. Either the builder is missing from the install, or it belongs to a project nature that is missing or disabled.
    !ENTRY org.eclipse.ui 4 4 Abr 30, 2004 14:35:10.329
    !MESSAGE Unhandled event loop exception
    !ENTRY org.eclipse.ui 4 0 Abr 30, 2004 14:35:10.339
    !MESSAGE jzentry == 0,
    jzfile = 50349248,
    total = 1049,
    name = \\xxx\yyy\zzz\Model\lib\fop.jar,
    i = 54,
    message = couldn't read LOC header
    !STACK 0
    java.lang.InternalError: jzentry == 0,
    jzfile = 50349248,
    total = 1049,
    name = \\xxx\yyy\zzz\Model\lib\fop.jar,
    i = 54,
    message = couldn't read LOC header
         at java.util.zip.ZipFile$2.nextElement(Unknown Source)
         at org.eclipse.jdt.internal.core.JarPackageFragmentRoot.computeChildren(JarPackageFragmentRoot.java:84)
         at org.eclipse.jdt.internal.core.PackageFragmentRoot.buildStructure(PackageFragmentRoot.java:173)
         at org.eclipse.jdt.internal.core.Openable.generateInfos(Openable.java:200)
         at org.eclipse.jdt.internal.core.JavaElement.openWhenClosed(JavaElement.java:488)
         at org.eclipse.jdt.internal.core.JavaElement.getElementInfo(JavaElement.java:280)
    ............

  • Java.lang.InternalError: name is too long to represent

    Hi All,
    I am using Jdevloper 11g version 4.
    When i run project in debug mod then i see error:
    Root cause of ServletException
    java.lang.InternalError: name is too long to represent
    If i run in run mod then i don't see above error.
    I have Install JRockit Real Time, and re-config your environment. Like this:
    set BEA_JAVA_HOME=「JRockit Real Time installed path」\jrrt-3.1.0-1.6.0
    but internally it use its own Java version and DJRockit
    java version "1.6.0_21"
    Java(TM) SE Runtime Environment (build 1.6.0_21-b51)
    Java HotSpot(TM) Client VM (build 17.0-b17, mixed mode)
    Starting WLS with line:
    D:\Oracle\MIDDLE~1\JDK160~1\bin\java -client -Xms256m -Xmx512m -XX:CompileThreshold=8000 -XX:PermSize=128m -XX:MaxPermSize=512m -Dweblogic.Name=DefaultServer -Djava.security.policy=D:\Oracle\MIDDLE~1\WLSERV~1.3\server\lib\weblogic.policy -agentlib:jdwp=transport=dt_socket,server=y,address=50465 -Djavax.net.ssl.trustStore=D:\Oracle\Middleware\wlserver_10.3\server\lib\DemoTrust.jks -Dweblogic.nodemanager.ServiceEnabled=true -Xverify:none -da -Dplatform.home=D:\Oracle\MIDDLE~1\WLSERV~1.3 -Dwls.home=D:\Oracle\MIDDLE~1\WLSERV~1.3\server -Dweblogic.home=D:\Oracle\MIDDLE~1\WLSERV~1.3\server -Djps.app.credential.overwrite.allowed=true -Dcommon.components.home=D:\Oracle\MIDDLE~1\ORACLE~1 -Djrf.version=11.1.1 -Dorg.apache.commons.logging.Log=org.apache.commons.logging.impl.Jdk14Logger -Ddomain.home=C:\Users\abc\AppData\Roaming\JDEVEL~1\SYSTEM~1.23\DEFAUL~1
    -Djrockit.optfile=*D:\Oracle\MIDDLE~1\ORACLE~1\modules\oracle.jrf_11.1.1\jrocket_optfile.txt -Doracle.server.config.dir=C:\Users\abc\AppData\Roaming\JDEVEL~1\SYSTEM~1.23\DEFAUL~1\config\FMWCON~1\servers\DefaultServer -Doracle.domain.config.dir=C:\Users\abc\AppData\Roaming\JDEVEL~1\SYSTEM~1.23\DEFAUL~1\config\FMWCON~1 -Digf.arisidbeans.carmlloc=C:\Users\abc\AppData\Roaming\JDEVEL~1\SYSTEM~1.23\DEFAUL~1\config\FMWCON~1\carml -Digf.arisidstack.home=C:\Users\abc\AppData\Roaming\JDEVEL~1\SYSTEM~1.23\DEFAUL~1\config\FMWCON~1\arisidprovider -Doracle.security.jps.config=C:\Users\abc\AppData\Roaming\JDEVEL~1\SYSTEM~1.23\DEFAUL~1\config\fmwconfig\jps-config.xml -Doracle.deployed.app.dir=C:\Users\abc\AppData\Roaming\JDEVEL~1\SYSTEM~1.23\DEFAUL~1\servers\DefaultServer\tmp\_WL_user -Doracle.deployed.app.ext=\- -Dweblogic.alternateTypesDirectory=D:\Oracle\MIDDLE~1\ORACLE~1\modules\oracle.ossoiap_11.1.1,D:\Oracle\MIDDLE~1\ORACLE~1\modules\oracle.oamprovider_11.1.1 -Djava.protocol.handler.pkgs=oracle.mds.net.protocol -Dweblogic.jdbc.remoteEnabled=false -Dwsm.repository.path=C:\Users\abc\AppData\Roaming\JDEVEL~1\SYSTEM~1.23\DEFAUL~1\oracle\store\gmds -Dweblogic.management.discover=true -Dwlw.iterativeDev= -Dwlw.testConsole= -Dwlw.logErrorsToConsole= -Dweblogic.ext.dirs=D:\Oracle\MIDDLE~1\patch_wls1034\profiles\default\sysext_manifest_classpath;D:\Oracle\MIDDLE~1\patch_jdev1111\profiles\default\sysext_manifest_classpath weblogic.Server
    Listening for transport dt_socket at address: 50465
    Thanks all for help !
    Regards,
    Dilkhush

    1) chk this post
    java.lang.InternalError: name is too long to represent
    Check your environment config file first. \jdeveloper\system\system11.1.1.0.31.51.88\DefaultDomain\bin\setDomainEnv.cmd
    IF there is no JRockit setting, you might get above problem. Because Sun's JVM has limitation of SourceDebugExtension. It was 64Kb.
    Install JRockit Real Time, and re-config your environment. Like this:
    set BEA_JAVA_HOME=「JRockit Real Time installed path」\jrrt-3.1.0-1.6.0
    if "%JAVA_VENDOR%"=="BEA" (
    set JAVA_HOME=%BEA_JAVA_HOME%
    ) else (
    if "%JAVA_VENDOR%"=="Sun" (
    set JAVA_HOME=%SUN_JAVA_HOME%
    ) else (
    set JAVA_VENDOR=BEA
    set JAVA_HOME=%BEA_JAVA_HOME%
    //Tips: install Weblogic before installing Jdeveloper 11g.and also.. if 1) not working
    2) Re: Name is too long to represent error in debug mode
    3) try after deletign system folder

  • 'java.lang.InternalError: undefined opcode' when startup weblogic web server

    hi,All
              I found a very strange error message when I startup weblogic server
              please check the following attachment.
              Fri Sep 27 17:11:09 EDT 2002:<I> <ServletContext-General> *.jsp: init
              A nonfatal internal JIT (3.10.107(x)) error 'Structured
              Exception(c0000005)' has occurred in :
              'jspclasses/_onlane/_jsp/_consignment/__consignmentsearchpage._jspService
              (Ljavax/servlet/http/Htt
              pServletRequest;Ljavax/servlet/http/HttpServletResponse;)V':
              Interpreting method.
              Please report this error in detail to
              http://java.sun.com/cgi-bin/bugreport.cgi
              Fri Sep 27 17:11:09 EDT 2002:<E> <ServletContext-General> Servlet failed
              with Exception
              java.lang.InternalError: undefined opcode
              at
              at weblogic.servlet.jsp.JspBase.service(JspBase.java:27)
              at
              weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:120)
              at
              weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:138)
              at
              weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImpl.java,
              Compi
              led Code)
              at
              weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImpl.java:905)
              at
              weblogic.servlet.internal.ServletContextManager.invokeServlet(ServletContextManager.java:
              269)
              at
              weblogic.socket.MuxableSocketHTTP.invokeServlet(MuxableSocketHTTP.java:391)
              at
              weblogic.socket.MuxableSocketHTTP.execute(MuxableSocketHTTP.java:273)
              at weblogic.kernel.ExecuteThread.run(ExecuteThread.java,
              Compiled Code)
              I use weblogic 5.1 sp 11 with JDK1.2.2_007 on WinNT2000 Advanced server
              environment.
              Did anyone meet this problem before?
              It looks to me the JIT found an unexpected error in one of my jsp page,
              but I check this jsp page, it looks normal and work fine even JIT
              compliant it.
              Any help would be very appreciated.
              thanks,
              Roy
              

    Hi,Ann
              Thanks for your help.
              Roy
              Ann Cao wrote:
              >Hello Roy,
              >
              >It sounds like a JIT problem. The version of SDK you are using is not certified for WAS 5.1
              >on Windows 2000 Advanced server. Please try a certified SDK. For certification information,
              >please see http://e-docs.bea.com/wls/certifications/certifications/win2000.html#40242.
              >
              >Regards,
              >Ann Cao
              >Developer Relations Engineer
              >BEA Support
              >
              >Roy Wu wrote:
              >
              >
              >
              >>hi,All
              >>I found a very strange error message when I startup weblogic server
              >>please check the following attachment.
              >>----------------
              >>Fri Sep 27 17:11:09 EDT 2002:<I> <ServletContext-General> *.jsp: init
              >>A nonfatal internal JIT (3.10.107(x)) error 'Structured
              >>Exception(c0000005)' has occurred in :
              >>
              >>'jspclasses/_onlane/_jsp/_consignment/__consignmentsearchpage._jspService
              >>(Ljavax/servlet/http/Htt
              >>pServletRequest;Ljavax/servlet/http/HttpServletResponse;)V':
              >>Interpreting method.
              >> Please report this error in detail to
              >>http://java.sun.com/cgi-bin/bugreport.cgi
              >>
              >>Fri Sep 27 17:11:09 EDT 2002:<E> <ServletContext-General> Servlet failed
              >>with Exception
              >>java.lang.InternalError: undefined opcode
              >> at
              >> at weblogic.servlet.jsp.JspBase.service(JspBase.java:27)
              >> at
              >>weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:120)
              >> at
              >>weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:138)
              >> at
              >>weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImpl.java,
              >>Compi
              >>led Code)
              >> at
              >>weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImpl.java:905)
              >> at
              >>weblogic.servlet.internal.ServletContextManager.invokeServlet(ServletContextManager.java:
              >>269)
              >> at
              >>weblogic.socket.MuxableSocketHTTP.invokeServlet(MuxableSocketHTTP.java:391)
              >> at
              >>weblogic.socket.MuxableSocketHTTP.execute(MuxableSocketHTTP.java:273)
              >> at weblogic.kernel.ExecuteThread.run(ExecuteThread.java,
              >>Compiled Code)
              >>---------------------------
              >>
              >>I use weblogic 5.1 sp 11 with JDK1.2.2_007 on WinNT2000 Advanced server
              >>environment.
              >>Did anyone meet this problem before?
              >>It looks to me the JIT found an unexpected error in one of my jsp page,
              >>but I check this jsp page, it looks normal and work fine even JIT
              >>compliant it.
              >>Any help would be very appreciated.
              >>
              >>thanks,
              >>
              >>Roy
              >>
              >>
              >
              >--
              >Regards,
              >Ann
              >Developer Relations Engineer
              >BEA Support
              >
              >
              >
              >
              [att1.html]
              

  • Java.lang.InternalError

    How can I got this error:
    java.lang.InternalError: Illegal removing from cache of SysServerConfigEJB sundev.ultradns.netinterfaceUserSuffixS, cache contains: [], retrieved instance 'null' != 'SysServerConfigEJB sundev.ultradns.netinterfaceUserSuffixS'
         at com.evermind[Oracle9iAS (9.0.3.0.0) Containers for J2EE].server.ejb.EntityEJBHome.removeInstance(EntityEJBHome.java:440)
         at com.evermind[Oracle9iAS (9.0.3.0.0) Containers for J2EE].server.ejb.EntityEJBObject.removeFromCacheCore(EntityEJBObject.java:357)
         at com.evermind[Oracle9iAS (9.0.3.0.0) Containers for J2EE].server.ejb.EntityEJBObject.removeFromCacheLocal(EntityEJBObject.java:304)
         at SysServerConfig_EntityBeanWrapper18.getValue(SysServerConfig_EntityBeanWrapper18.java:522)
         at com.ultradns.j2ee.dnsmanager.controller.web.util.init.AppInit.<init>(AppInit.java:101)
         at com.ultradns.j2ee.waf.view.template.TemplateServlet.init(TemplateServlet.java:54)
         at com.evermind[Oracle9iAS (9.0.3.0.0) Containers for J2EE].server.http.HttpApplication.loadServlet(HttpApplication.java:1685)
         at com.evermind[Oracle9iAS (9.0.3.0.0) Containers for J2EE].server.http.HttpApplication.findServlet(HttpApplication.java:4030)
         at com.evermind[Oracle9iAS (9.0.3.0.0) Containers for J2EE].server.http.HttpApplication.getRequestDispatcher(HttpApplication.java:2229)
         at com.evermind[Oracle9iAS (9.0.3.0.0) Containers for J2EE].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:587)
         at com.evermind[Oracle9iAS (9.0.3.0.0) Containers for J2EE].server.http.HttpRequestHandler.run(HttpRequestHandler.java:247)
         at com.evermind[Oracle9iAS (9.0.3.0.0) Containers for J2EE].util.ThreadPoolThread.run(ThreadPoolThread
    This is the code complained:
    InitialContext initial = new InitialContext();
    SysServerConfigHome sscHome = (SysServerConfigHome)initial.lookup(DNSManagerKeys.SYSSERVERCONFIG_EJBHOME);
    // get the user suffix
    SysServerConfig ssc = sscHome.findByServerDaemonItem(hostName, "interface", "UserSuffix");
    userSuffix = ssc.getValue();

    Thanks, Jeff.
    Yes, there could be sth wrong in the EJB-QL finder method. Actually I seldom got it to work properly.
    Here is the entity bean in ejb-jar.xml file:
    <entity>
    <description>Entity Bean ( Container-managed Persistence )</description>
    <display-name>SysServerConfigEJB</display-name>
    <ejb-name>SysServerConfigEJB</ejb-name>
    <local-home>com.ultradns.j2ee.components.ultradns.sysserverconfig.ejb.SysServerConfigHome</local-home>
    <local>com.ultradns.j2ee.components.ultradns.sysserverconfig.ejb.SysServerConfig</local>
    <ejb-class>com.ultradns.j2ee.components.ultradns.sysserverconfig.ejb.SysServerConfigEJB</ejb-class>
    <persistence-type>Container</persistence-type>
    <prim-key-class>com.ultradns.j2ee.components.ultradns.sysserverconfig.ejb.SysServerConfigPK</prim-key-class>
    <reentrant>False</reentrant>
         <cmp-version>2.x</cmp-version>
         <abstract-schema-name>sys_server_config</abstract-schema-name>
    <cmp-field>
    <field-name>server</field-name>
    </cmp-field>
    <cmp-field>
    <field-name>daemon</field-name>
    </cmp-field>
    <cmp-field>
    <field-name>item</field-name>
    </cmp-field>
    <cmp-field>
    <field-name>value</field-name>
    </cmp-field>
    <cmp-field>
    <field-name>modified</field-name>
    </cmp-field>
         <query>
              <query-method>
                   <method-name>findByServerDaemonItem</method-name>
                   <method-params>
                        <method-param>java.lang.String</method-param>
                        <method-param>java.lang.String</method-param>
                        <method-param>java.lang.String</method-param>     
                   </method-params>
              </query-method>
              <ejb-ql>
                   <![CDATA[ SELECT OBJECT(a) FROM sys_server_config AS a WHERE a.server = ?1 AND a.daemon = ?2 AND a.item = ?3 ]]>
              </ejb-ql>
         </query>
    </entity>
    Here is the correspondent part in orion-ejb-jar.xml file after deployment:
    <entity-deployment name="SysServerConfigEJB" max-instances="10" location="SysServerConfigEJB" wrapper="SysServerConfigHome_EntityHomeWrapper55" table="sys_server_config" data-source="jdbc/OracleDS" exclusive-write-access="false" locking-mode="optimistic" update-changed-fields-only="true" min-instances-per-pk="0" max-instances-per-pk="50" disable-wrapper-cache="true">
                   <primkey-mapping>
                        <cmp-field-mapping>
                             <fields>
                                  <cmp-field-mapping name="daemon" persistence-name="daemon" />
                                  <cmp-field-mapping name="item" persistence-name="item" />
                                  <cmp-field-mapping name="server" persistence-name="server" />
                                  <cmp-field-mapping name="value" persistence-name="value" />
                             </fields>
                        </cmp-field-mapping>
                   </primkey-mapping>
                   <cmp-field-mapping name="modified" persistence-name="modified" />
                   <finder-method query="SELECT OBJECT(a) FROM SysServerConfigEJB a WHERE ((a.server = ? ) AND (a.daemon = ? ) AND (a.item = ? ))">
                        <!-- Generated SQL: "SELECT a.daemon, a.item, a.server, a.value, a.modified FROM SysServerConfigEJB a WHERE ((a.server = ? ) AND (a.daemon = ? ) AND (a.item = ? ))" -->
                        <method>
                             <ejb-name>SysServerConfigEJB</ejb-name>
                             <method-name>findByServerDaemonItem</method-name>
                             <method-params>
                                  <method-param>java.lang.String</method-param>
                                  <method-param>java.lang.String</method-param>
                                  <method-param>java.lang.String</method-param>
                             </method-params>
                        </method>
                   </finder-method>
              </entity-deployment>
    You can see I changed the table name to the database table name, but the generated SQL still used bean name.
    As I got an error: "java.sql.SQLException: ORA-00942: table or view does not exist", I modifed the <finder-method...> line into the following:
    <finder-method query="$server = $1 and $daemon = $2 and $item = $3">
    I am not sure if the change was correct. After the change, I redployed the app, and got the following in orion-ejb-jar.xml file:
    <entity-deployment name="SysServerConfigEJB" max-instances="10" location="SysServerConfigEJB" wrapper="SysServerConfigHome_EntityHomeWrapper55" table="sys_server_config" data-source="jdbc/OracleDS" exclusive-write-access="false" locking-mode="optimistic" update-changed-fields-only="true" min-instances-per-pk="0" max-instances-per-pk="50" disable-wrapper-cache="true">
                   <primkey-mapping>
                        <cmp-field-mapping>
                             <fields>
                                  <cmp-field-mapping name="daemon" persistence-name="daemon" />
                                  <cmp-field-mapping name="item" persistence-name="item" />
                                  <cmp-field-mapping name="server" persistence-name="server" />
                                  <cmp-field-mapping name="value" persistence-name="value" />
                             </fields>
                        </cmp-field-mapping>
                   </primkey-mapping>
                   <cmp-field-mapping name="modified" persistence-name="modified" />
                   <finder-method query="$server = $1 and $daemon = $2 and $item = $3">
                        <!-- Generated SQL: "select sys_server_config.daemon, sys_server_config.item, sys_server_config.server, sys_server_config.value, sys_server_config.modified from sys_server_config where sys_server_config.server = ? and sys_server_config.daemon = ? and sys_server_config.item = ?" -->
                        <method>
                             <ejb-name>SysServerConfigEJB</ejb-name>
                             <method-name>findByServerDaemonItem</method-name>
                             <method-params>
                                  <method-param>java.lang.String</method-param>
                                  <method-param>java.lang.String</method-param>
                                  <method-param>java.lang.String</method-param>
                             </method-params>
                        </method>
                   </finder-method>
              </entity-deployment>
    It seems the generated SQL is correct(?). But when I ran it, I got the initial internal error.
    There is no example to show how to change the orion-ejb-jar.xml file for a 3-param SQL statement.
    value is String type. The SQL is used to retrieve a value for a specific server/daemon/item combination from sys_server_config table .
    Regards,
    Henry

  • Java.lang.Exception: User : principals=[admin] is not allowed to shutdown the server

    Hi,
    When i shut down my managed and admin servers through the console i am getting
    the following exception.Any one have an idea on this?
    Exception :
    java.lang.Exception: User : principals=[admin] is not allowed to shutdown the
    server.
         at weblogic.server.ServerLifeCycleRuntime.shutdown(ServerLifeCycleRuntime.java:299)
         at java.lang.reflect.Method.invoke(Native Method)
         at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMBeanImpl.java:750)
         at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.java:732)
         at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1557)
         at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1525)
         at weblogic.management.internal.RemoteMBeanServerImpl.invoke(RemoteMBeanServerImpl.java:928)
         at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:472)
         at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:200)
         at $Proxy105.shutdown(Unknown Source)
         at java.lang.reflect.Method.invoke(Native Method)
         at weblogic.management.console.actions.mbean.DoMBeanOperationAction.performOnSingle(DoMBeanOperationAction.java:206)
         at weblogic.management.console.actions.mbean.DoMBeanOperationAction.perform(DoMBeanOperationAction.java:188)
         at weblogic.management.console.actions.internal.ActionServlet.doAction(ActionServlet.java:171)
         at weblogic.management.console.actions.internal.ActionServlet.doPost(ActionServlet.java:85)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:1075)
         at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:418)
         at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:306)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:5517)
         at weblogic.security.service.SecurityServiceManager.runAs(SecurityServiceManager.java:685)
         at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3156)
         at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2506)
         at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:234)
         at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:210)

    I have the exact same problem. It is for a WLI 7.0 SP-5 domain. I started admin and managed servers using the startWeblogic and startManagedWebLogic scripts, but trying to stop them from the console is throwing this exception:
    java.lang.Exception: User : principals=[admin] is not allowed to shutdown the server.
         at weblogic.server.ServerLifeCycleRuntime.shutdown(ServerLifeCycleRuntime.java:299)
         at java.lang.reflect.Method.invoke(Native Method)
         at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMBeanImpl.java:736)
         at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.java:718)
         at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1557)
         at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1525)
         at weblogic.management.internal.RemoteMBeanServerImpl.invoke(RemoteMBeanServerImpl.java:1107)
         at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:472)
         at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:200)
         at $Proxy105.shutdown(Unknown Source)
         at java.lang.reflect.Method.invoke(Native Method)
         at weblogic.management.console.actions.mbean.DoMBeanOperationAction.performOnSingle(DoMBeanOperationAction.java:206)
         at weblogic.management.console.actions.mbean.DoMBeanOperationAction.perform(DoMBeanOperationAction.java:188)
         at weblogic.management.console.actions.internal.ActionServlet.doAction(ActionServlet.java:171)
         at weblogic.management.console.actions.internal.ActionServlet.doPost(ActionServlet.java:85)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:1094)
         at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:437)
         at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:319)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:5626)
         at weblogic.security.service.SecurityServiceManager.runAs(SecurityServiceManager.java:685)
         at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3213)
         at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2555)
         at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:251)
         at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:219)
    I upgraded from WLI7.0 SP-1 to SP-5, and since then I am getting this error.
    Please help!

  • Java.sql.SQLException: Internal Error in RowSet

    I�m getting the following error when running a JSF application on websphere 6.1
    I have a class �MainSessionBean� class which extends AbstractSessionBean and in the init() method of my MainSessionBean class, I�m initializing some values like datasource, command like the following
    pgmPriorityMaxValueRowSet.setDataSourceName("java:comp/env/jdbc/I5Dev");
    pgmPriorityMaxValueRowSet.setCommand("SELECT max(AIPRGPRIO) as PRIORITY FROM TFTS341");
    pgmPriorityMaxValueRowSet.setTableName("TFTS341");
    pgmPriorityMaxValueRowSet.setTransactionIsolation(java.sql.Connection.TRANSACTION_NONE);
    pgmPriorityMaxValueRowSet.setReadOnly(true);
    pgmPriorityMaxValueRowSet.setPrintStatements(true);
    The scope of this bean (MainSessionBean) is defined as �session in the managed-beans.xml.
    So when application starts the init() method of my MainSessionBean class should get called right?
    But the init() method is not getting called and the value of the datasource ,command etc are coming as null.
    I�m trying to access the value �pgmPriorityMaxValueRowSet� in the MainSessionBean� with the following code.
    private CachedRowSetDataProvider pgmPriorityMaxValueDataProvider = new CachedRowSetDataProvider();
    pgmPriorityMaxValueDataProvider.setCachedRowSet((javax.sql.rowset.CachedRowSet)getValue("#{MainSessionBean.pgmPriorityMaxValueRowSet}"));
    What can be the issue?
    This application works fine in TOMCAT. But when I�m trying on websphere6.1 I�m getting the following error.
    [7/22/08 19:07:46:812 EDT] 0000001e SystemErr R java.lang.RuntimeException: java.sql.SQLException: Internal Error in RowSetReader: no connection or command.
    [7/22/08 19:07:46:812 EDT] 0000001e SystemErr R      at com.sun.data.provider.impl.CachedRowSetDataProvider.setCursorRow(CachedRowSetDataProvider.java:343)
    [7/22/08 19:07:46:812 EDT] 0000001e SystemErr R      at com.sun.data.provider.impl.CachedRowSetDataProvider.setCursorIndex(CachedRowSetDataProvider.java:300)
    [7/22/08 19:07:46:812 EDT] 0000001e SystemErr R      at com.sun.data.provider.impl.CachedRowSetDataProvider.getRowKeys(CachedRowSetDataProvider.java:245)
    [7/22/08 19:07:46:812 EDT] 0000001e SystemErr R      at com.sun.data.provider.impl.CachedRowSetDataProvider.cursorFirst(CachedRowSetDataProvider.java:351)
    [7/22/08 19:07:46:812 EDT] 0000001e SystemErr R      at com.capricorn.ai.allProgramsList.prerender(allProgramsList.java)
    [7/22/08 19:07:46:812 EDT] 0000001e SystemErr R      at com.sun.rave.web.ui.appbase.faces.ViewHandlerImpl.prerender(ViewHandlerImpl.java:860)
    [7/22/08 19:07:46:812 EDT] 0000001e SystemErr R      at com.sun.rave.web.ui.appbase.faces.ViewHandlerImpl.renderView(ViewHandlerImpl.java:295)
    [7/22/08 19:07:46:812 EDT] 0000001e SystemErr R      at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:87)
    [7/22/08 19:07:46:812 EDT] 0000001e SystemErr R      at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:220)
    [7/22/08 19:07:46:812 EDT] 0000001e SystemErr R      at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:118)
    [7/22/08 19:07:46:812 EDT] 0000001e SystemErr R      at javax.faces.webapp.FacesServlet.service(FacesServlet.java:198)
    [7/22/08 19:07:46:812 EDT] 0000001e SystemErr R      at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:966)
    [7/22/08 19:07:46:812 EDT] 0000001e SystemErr R      at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:907)
    [7/22/08 19:07:46:812 EDT] 0000001e SystemErr R      at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:145)
    [7/22/08 19:07:46:812 EDT] 0000001e SystemErr R      at com.capricorn.ai.security.SecurityFilter.doFilter(SecurityFilter.java:60)
    [7/22/08 19:07:46:812 EDT] 0000001e SystemErr R      at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:190)
    [7/22/08 19:07:46:828 EDT] 0000001e SystemErr R      at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:130)
    [7/22/08 19:07:46:828 EDT] 0000001e SystemErr R      at com.ibm.ws.webcontainer.filter.WebAppFilterChain._doFilter(WebAppFilterChain.java:87)
    [7/22/08 19:07:46:828 EDT] 0000001e SystemErr R      at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:701)
    [7/22/08 19:07:46:828 EDT] 0000001e SystemErr R      at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:646)
    [7/22/08 19:07:46:828 EDT] 0000001e SystemErr R      at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:475)
    [7/22/08 19:07:46:828 EDT] 0000001e SystemErr R      at com.ibm.ws.wswebcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:463)
    [7/22/08 19:07:46:828 EDT] 0000001e SystemErr R      at com.ibm.ws.webcontainer.webapp.WebApp.handleRequest(WebApp.java:3129)
    [7/22/08 19:07:46:828 EDT] 0000001e SystemErr R      at com.ibm.ws.webcontainer.webapp.WebGroup.handleRequest(WebGroup.java:238)
    [7/22/08 19:07:46:828 EDT] 0000001e SystemErr R      at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:811)
    [7/22/08 19:07:46:828 EDT] 0000001e SystemErr R      at com.ibm.ws.wswebcontainer.WebContainer.handleRequest(WebContainer.java:1433)
    [7/22/08 19:07:46:828 EDT] 0000001e SystemErr R      at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:93)
    [7/22/08 19:07:46:828 EDT] 0000001e SystemErr R      at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:465)
    [7/22/08 19:07:46:828 EDT] 0000001e SystemErr R      at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java:394)
    [7/22/08 19:07:46:828 EDT] 0000001e SystemErr R      at com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.complete(HttpICLReadCallback.java:102)
    [7/22/08 19:07:46:828 EDT] 0000001e SystemErr R      at com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:152)
    [7/22/08 19:07:46:828 EDT] 0000001e SystemErr R      at com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:213)
    [7/22/08 19:07:46:828 EDT] 0000001e SystemErr R      at com.ibm.io.async.AbstractAsyncFuture.fireCompletionActions(AbstractAsyncFuture.java:195)
    [7/22/08 19:07:46:828 EDT] 0000001e SystemErr R      at com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:136)
    [7/22/08 19:07:46:828 EDT] 0000001e SystemErr R      at com.ibm.io.async.ResultHandler.complete(ResultHandler.java:194)
    [7/22/08 19:07:46:828 EDT] 0000001e SystemErr R      at com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:741)
    [7/22/08 19:07:46:828 EDT] 0000001e SystemErr R      at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:863)
    [7/22/08 19:07:46:828 EDT] 0000001e SystemErr R      at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1510)
    [7/22/08 19:07:46:828 EDT] 0000001e SystemErr R Caused by: java.sql.SQLException: Internal Error in RowSetReader: no connection or command.
         at com.sun.sql.rowset.internal.CachedRowSetXReader.readData(CachedRowSetXReader.java:130)
    Is there difference between the way session is handled in TOMCAT and websphere 6.1?

    I�m getting the following error when running a JSF application on websphere 6.1
    I have a class �MainSessionBean� class which extends AbstractSessionBean and in the init() method of my MainSessionBean class, I�m initializing some values like datasource, command like the following
    pgmPriorityMaxValueRowSet.setDataSourceName("java:comp/env/jdbc/I5Dev");
    pgmPriorityMaxValueRowSet.setCommand("SELECT max(AIPRGPRIO) as PRIORITY FROM TFTS341");
    pgmPriorityMaxValueRowSet.setTableName("TFTS341");
    pgmPriorityMaxValueRowSet.setTransactionIsolation(java.sql.Connection.TRANSACTION_NONE);
    pgmPriorityMaxValueRowSet.setReadOnly(true);
    pgmPriorityMaxValueRowSet.setPrintStatements(true);
    The scope of this bean (MainSessionBean) is defined as �session in the managed-beans.xml.
    So when application starts the init() method of my MainSessionBean class should get called right?
    But the init() method is not getting called and the value of the datasource ,command etc are coming as null.
    I�m trying to access the value �pgmPriorityMaxValueRowSet� in the MainSessionBean� with the following code.
    private CachedRowSetDataProvider pgmPriorityMaxValueDataProvider = new CachedRowSetDataProvider();
    pgmPriorityMaxValueDataProvider.setCachedRowSet((javax.sql.rowset.CachedRowSet)getValue("#{MainSessionBean.pgmPriorityMaxValueRowSet}"));
    What can be the issue?
    This application works fine in TOMCAT. But when I�m trying on websphere6.1 I�m getting the following error.
    [7/22/08 19:07:46:812 EDT] 0000001e SystemErr R java.lang.RuntimeException: java.sql.SQLException: Internal Error in RowSetReader: no connection or command.
    [7/22/08 19:07:46:812 EDT] 0000001e SystemErr R      at com.sun.data.provider.impl.CachedRowSetDataProvider.setCursorRow(CachedRowSetDataProvider.java:343)
    [7/22/08 19:07:46:812 EDT] 0000001e SystemErr R      at com.sun.data.provider.impl.CachedRowSetDataProvider.setCursorIndex(CachedRowSetDataProvider.java:300)
    [7/22/08 19:07:46:812 EDT] 0000001e SystemErr R      at com.sun.data.provider.impl.CachedRowSetDataProvider.getRowKeys(CachedRowSetDataProvider.java:245)
    [7/22/08 19:07:46:812 EDT] 0000001e SystemErr R      at com.sun.data.provider.impl.CachedRowSetDataProvider.cursorFirst(CachedRowSetDataProvider.java:351)
    [7/22/08 19:07:46:812 EDT] 0000001e SystemErr R      at com.capricorn.ai.allProgramsList.prerender(allProgramsList.java)
    [7/22/08 19:07:46:812 EDT] 0000001e SystemErr R      at com.sun.rave.web.ui.appbase.faces.ViewHandlerImpl.prerender(ViewHandlerImpl.java:860)
    [7/22/08 19:07:46:812 EDT] 0000001e SystemErr R      at com.sun.rave.web.ui.appbase.faces.ViewHandlerImpl.renderView(ViewHandlerImpl.java:295)
    [7/22/08 19:07:46:812 EDT] 0000001e SystemErr R      at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:87)
    [7/22/08 19:07:46:812 EDT] 0000001e SystemErr R      at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:220)
    [7/22/08 19:07:46:812 EDT] 0000001e SystemErr R      at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:118)
    [7/22/08 19:07:46:812 EDT] 0000001e SystemErr R      at javax.faces.webapp.FacesServlet.service(FacesServlet.java:198)
    [7/22/08 19:07:46:812 EDT] 0000001e SystemErr R      at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:966)
    [7/22/08 19:07:46:812 EDT] 0000001e SystemErr R      at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:907)
    [7/22/08 19:07:46:812 EDT] 0000001e SystemErr R      at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:145)
    [7/22/08 19:07:46:812 EDT] 0000001e SystemErr R      at com.capricorn.ai.security.SecurityFilter.doFilter(SecurityFilter.java:60)
    [7/22/08 19:07:46:812 EDT] 0000001e SystemErr R      at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:190)
    [7/22/08 19:07:46:828 EDT] 0000001e SystemErr R      at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:130)
    [7/22/08 19:07:46:828 EDT] 0000001e SystemErr R      at com.ibm.ws.webcontainer.filter.WebAppFilterChain._doFilter(WebAppFilterChain.java:87)
    [7/22/08 19:07:46:828 EDT] 0000001e SystemErr R      at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:701)
    [7/22/08 19:07:46:828 EDT] 0000001e SystemErr R      at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:646)
    [7/22/08 19:07:46:828 EDT] 0000001e SystemErr R      at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:475)
    [7/22/08 19:07:46:828 EDT] 0000001e SystemErr R      at com.ibm.ws.wswebcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:463)
    [7/22/08 19:07:46:828 EDT] 0000001e SystemErr R      at com.ibm.ws.webcontainer.webapp.WebApp.handleRequest(WebApp.java:3129)
    [7/22/08 19:07:46:828 EDT] 0000001e SystemErr R      at com.ibm.ws.webcontainer.webapp.WebGroup.handleRequest(WebGroup.java:238)
    [7/22/08 19:07:46:828 EDT] 0000001e SystemErr R      at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:811)
    [7/22/08 19:07:46:828 EDT] 0000001e SystemErr R      at com.ibm.ws.wswebcontainer.WebContainer.handleRequest(WebContainer.java:1433)
    [7/22/08 19:07:46:828 EDT] 0000001e SystemErr R      at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:93)
    [7/22/08 19:07:46:828 EDT] 0000001e SystemErr R      at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:465)
    [7/22/08 19:07:46:828 EDT] 0000001e SystemErr R      at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java:394)
    [7/22/08 19:07:46:828 EDT] 0000001e SystemErr R      at com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.complete(HttpICLReadCallback.java:102)
    [7/22/08 19:07:46:828 EDT] 0000001e SystemErr R      at com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:152)
    [7/22/08 19:07:46:828 EDT] 0000001e SystemErr R      at com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:213)
    [7/22/08 19:07:46:828 EDT] 0000001e SystemErr R      at com.ibm.io.async.AbstractAsyncFuture.fireCompletionActions(AbstractAsyncFuture.java:195)
    [7/22/08 19:07:46:828 EDT] 0000001e SystemErr R      at com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:136)
    [7/22/08 19:07:46:828 EDT] 0000001e SystemErr R      at com.ibm.io.async.ResultHandler.complete(ResultHandler.java:194)
    [7/22/08 19:07:46:828 EDT] 0000001e SystemErr R      at com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:741)
    [7/22/08 19:07:46:828 EDT] 0000001e SystemErr R      at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:863)
    [7/22/08 19:07:46:828 EDT] 0000001e SystemErr R      at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1510)
    [7/22/08 19:07:46:828 EDT] 0000001e SystemErr R Caused by: java.sql.SQLException: Internal Error in RowSetReader: no connection or command.
         at com.sun.sql.rowset.internal.CachedRowSetXReader.readData(CachedRowSetXReader.java:130)
    Is there difference between the way session is handled in TOMCAT and websphere 6.1?

  • Java.sql.SQLException: Internal Error in RowSetReader: no connection or com

    I have yet to find an answer anywhere on the web for this problem of Oracle JNDI failure with the Tomcat 5.5x, has anyone solved it ? Using Tomcat 5.0 is not a solution.
    com.sun.rave.web.ui.appbase.ApplicationException: org.apache.jasper.JasperException: java.lang.RuntimeException: java.sql.SQLException: Internal Error in RowSetReader: no connection or command.
         com.sun.rave.web.ui.appbase.faces.ViewHandlerImpl.destroy(ViewHandlerImpl.java:601)
         com.sun.rave.web.ui.appbase.faces.ViewHandlerImpl.renderView(ViewHandlerImpl.java:316)
         com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:87)
         com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:221)
         com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:117)
         javax.faces.webapp.FacesServlet.service(FacesServlet.java:198)
         com.sun.rave.web.ui.util.UploadFilter.doFilter(UploadFilter.java:194)

    You may want to check out the following forum threads.
    http://forum.java.sun.com/thread.jspa?threadID=5105081
    If you create a a dataprovider, but the rowset is not in the sessionbean you may run into this problem. Delete the old dataprovider and created a new one and see if that gets rid of your problem.

  • Exception in thread "main" java.lang.InternalError: Can't connect to X11 wi

    Hello Friends,
    I dont know whether this would be the correct forum or not but my problem is very critical so please help me.
    1. I am working on linux server where I have installed Tomcat4.x, Apache 2.0, JDK1.4.2. I have set all CLASSPATH.
    Java is working fine. I am using one JCLASS component which is useful in chart creation.
    3. Few days back the code regarding Frame cration was working fine but now its giving an error. I am actually running these files using cron and my requirement is also same.
    4. I have tried almost all possibilities like
    export DISPLAY=localhost:0.0
    export DISPLAY=ipaddress:0.0, but no luck.
    Can you explain me what could be the reason.
    JAVA ERROR:
    Exception in thread "main" java.lang.InternalError: Can't connect to X11 window server using ':0.0' as the value of the DISPLAY variable.
    at sun.awt.X11GraphicsEnvironment.initDisplay(Native Method)
    at sun.awt.X11GraphicsEnvironment.<clinit>(X11GraphicsEnvironment.java:134)
    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(Class.java:141)
    at java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(GraphicsEnvironment.java:62)
    at sun.awt.motif.MToolkit.<clinit>(MToolkit.java:81)
    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(Class.java:141)
    at java.awt.Toolkit$2.run(Toolkit.java:748)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.awt.Toolkit.getDefaultToolkit(Toolkit.java:739)
    at java.awt.Toolkit.getEventQueue(Toolkit.java:1519)
    at java.awt.EventQueue.invokeLater(EventQueue.java:792)
    at javax.swing.SwingUtilities.invokeLater(SwingUtilities.java:1170)
    at FrameDemo.main(FrameDemo.java:35)
    Please let me know your suggestions as possible as follows.
    PuneProgrammer

    You are probably creating images on the fly.
    Due to a bug/annoyance in the JDK, it requires an X-display. This is not related to the Sun ONE Webserver but a general problem.
    -Either install an X server, but this might not be possible because of a server security strip.
    -install a virtual X xvfb or something alike to emulate this behaviour.
    I thought it would be solved in newer JDK's but in which i'm not sure.

  • Java.lang.IllegalArgumentException: References to entities are not allowed

    Hi,
    I am using Berkely DB(native edition) 5.0.21 version. I have a couple classes as defined below:
    Class - 1:
    package bdb.test;
    import java.util.List;
    import com.sleepycat.persist.model.Entity;
    import com.sleepycat.persist.model.PrimaryKey;
    @Entity
    public class Employee {
         @PrimaryKey
         private String id ;
         private String name;
         private List<Employee> reportingManagers ;
         public String getId() {
              return id;
         public void setId(String id) {
              this.id = id;
         public String getName() {
              return name;
         public void setName(String name) {
              this.name = name;
         public List<Employee> getReportingManagers() {
              return reportingManagers;
         public void setReportingManagers(List<Employee> managers) {
              this.reportingManagers = managers;
    Class - 2 :
    package bdb.test;
    import java.io.File;
    import java.io.FileNotFoundException;
    import java.util.ArrayList;
    import java.util.List;
    import com.sleepycat.db.DatabaseException;
    import com.sleepycat.db.Environment;
    import com.sleepycat.db.EnvironmentConfig;
    import com.sleepycat.persist.EntityStore;
    import com.sleepycat.persist.PrimaryIndex;
    import com.sleepycat.persist.StoreConfig;
         public class BDBTest{
              public static void main(String agrs[]){
                   Environment myEnv;
                   EntityStore store;
                   try {
                        EnvironmentConfig myEnvConfig = new EnvironmentConfig();
                        myEnvConfig.setCacheSize(30000);
                        StoreConfig storeConfig = new StoreConfig();
                        myEnvConfig.setAllowCreate(true);
                        myEnvConfig.setInitializeCache(true);
                        storeConfig.setAllowCreate(true);
                        try {
                        // Open the environment and entity store
                        myEnv = new Environment(new File("c:\\BDBTEST\\"), myEnvConfig);
                        store = new EntityStore(myEnv, "MyStore", storeConfig);
                        PrimaryIndex<String, Employee> primaryIndex = store.getPrimaryIndex(String.class, Employee.class);
                        // write Employee
                        Employee employee = buildEmployee("E1", "EMP1");
                        primaryIndex.putNoReturn(employee);
                   } catch (FileNotFoundException fnfe) {
                        System.err.println(fnfe.toString());
                        System.exit(-1);
                   } catch(DatabaseException dbe) {
                        System.err.println("Error opening environment and store: " +
                        dbe.toString());
                        System.exit(-1);
              public static Employee buildEmployee(String id,String name){
                   Employee employee = new Employee();
                   employee.setId(id);
                   employee.setName(name);
                   employee.setManagers(buildManager());
                   return employee;
              public static List<Employee> buildManager(){
                   List <Employee> managers = new ArrayList<Employee>();
                   Employee manager1 = new Employee();
                   manager1.setId("M111");
                   manager1.setName("Manager1");
                   Employee manager2 = new Employee();
                   manager2.setId("M222");
                   manager2.setName("Manager2");
                   managers.add(manager2);
                   return managers;
    While running the Class 2, I am getting the following exception :
    Exception in thread "main" java.lang.IllegalArgumentException: References to entities are not allowed: bdb.test.Employee
         at com.sleepycat.persist.impl.RecordOutput.writeObject(RecordOutput.java:94)
         at com.sleepycat.persist.impl.ObjectArrayFormat.writeObject(ObjectArrayFormat.java:137)
         at com.sleepycat.persist.impl.RecordOutput.writeObject(RecordOutput.java:114)
         at com.sleepycat.persist.impl.ReflectionAccessor$ObjectAccess.write(ReflectionAccessor.java:398)
         at com.sleepycat.persist.impl.ReflectionAccessor.writeNonKeyFields(ReflectionAccessor.java:258)
         at com.sleepycat.persist.impl.ReflectionAccessor.writeNonKeyFields(ReflectionAccessor.java:255)
         at com.sleepycat.persist.impl.ComplexFormat.writeObject(ComplexFormat.java:528)
         at com.sleepycat.persist.impl.ProxiedFormat.writeObject(ProxiedFormat.java:116)
         at com.sleepycat.persist.impl.RecordOutput.writeObject(RecordOutput.java:114)
         at com.sleepycat.persist.impl.ReflectionAccessor$ObjectAccess.write(ReflectionAccessor.java:398)
         at com.sleepycat.persist.impl.ReflectionAccessor.writeNonKeyFields(ReflectionAccessor.java:258)
         at com.sleepycat.persist.impl.ComplexFormat.writeObject(ComplexFormat.java:528)
         at com.sleepycat.persist.impl.PersistEntityBinding.writeEntity(PersistEntityBinding.java:103)
         at com.sleepycat.persist.impl.PersistEntityBinding.objectToData(PersistEntityBinding.java:83)
         at com.sleepycat.persist.PrimaryIndex.putNoOverwrite(PrimaryIndex.java:474)
         at com.sleepycat.persist.PrimaryIndex.putNoOverwrite(PrimaryIndex.java:449)
         at bdb.test.BDBTest.main(BDBTest.java:42)
    Question : In the above example reportingManagers is also a list of Employee classes. Can't I self reference a object with in the same object ? How do I store list of reportingManagers in this example? Any help is highly appreciated.
    Thanks,
    Bibhu

    Hi Sandra,
    Thanks for the reply.
    Is there any restrictions in Berkeley DB to store cyclic referencing objects?
    API documentation for Entity annotation talks about cyclic references in one of section but contradicts the same in another section. Please refer the link below:
    [ http://download.oracle.com/docs/cd/E17076_02/html/java/com/sleepycat/persist/model/Entity.html]
    Following sections of this documentation contradicts each other. I have highlighted both of them in bold.
    Other Type Restrictions:
    Entity classes and subclasses may not be used in field declarations for persistent types. Fields of entity classes and subclasses must be simple types or non-entity persistent types (annotated with Persistent not with Entity).
    If a field of an Entity needs to reference an object, the referenced object should be marked with @Persistent and not with @Entity. So, self referencing is not possible as the main class would have been marked with @Entity.
    Embedded Objects
    As stated above, the embedded (or member) non-transient non-static fields of an entity class are themselves persistent and are stored along with their parent entity object. This allows embedded objects to be stored in an entity to an arbitrary depth.
    There is no arbitrary limit to the nesting depth of embedded objects within an entity; however, there is a practical limit. When an entity is marshalled, each level of nesting is implemented internally via recursive method calls. If the nesting depth is large enough, a StackOverflowError can occur. In practice, this has been observed with a nesting depth of 12,000, using the default Java stack size. This restriction on the nesting depth of embedded objects does not apply to cyclic references, since these are handled specially as described below.
    Self referencing is possible.
    Object Graphs
    When an entity instance is stored, the graph of objects referenced via its fields is stored and retrieved as a graph. In other words, if a single instance is referenced by two or more fields when the entity is stored, the same will be true when the entity is retrieved. When a reference to a particular object is stored as a member field inside that object or one of its embedded objects, this is called a cyclic reference. Because multiple references to a single object are stored as such, cycles are also represented correctly and do not cause infinite recursion or infinite processing loops. If an entity containing a cyclic reference is stored, the cyclic reference will be present when the entity is retrieved.
    My question:
    In the above first highlighted section says to store a referenced/embedded object it needs be marked with @Persistent and not with @Entity annotation. That rules out storage of cyclic referencing object since the main object would have been already marked with @Entity annotation. The second section indicates having support for cyclic references.
    So, Is it possible to store cyclic referencing objects in BDB? if yes, how it should be done?
    Thanks,
    Bibhu
    Edited by: user12848956 on Jan 20, 2011 7:19 AM

Maybe you are looking for

  • IPod 4G keeps crashing, freezing and shutting down randomly

    I think since the IOS7 update, my Ipod keeps on skipping songs, freezing on apps, crashing on apps and sometimes shutting down randomly. I have tried deleting from multitask, and shutting down (which only works for like 10 mins). How can I fix this?

  • Payment Advice

    Hi Guys, We have a specific requirement here where i need to configure the payment advice, such that , if the vendor invoices are more than 10 , then the payment advice needs to be printed for this company code. Can anyone let me know , where we can

  • Error/ Win XP..."iTunes cannot run b/c some of its req. files are missing

    Error message In Windows XP..."iTunes cannot run because some of its required files are missing. Please reinstall iTunes". but before I uninstall/reinstall I want to know if I will lose my libraries? Thanks in advance hp a1224n   Windows XP  

  • Adding a row in matrix[Update Mode]

    Hi All, I am using a document type table, which has a matrix and i have created the UDO for dis. in Add mode its working properly. In update mode also its working properly but when i add a new row in the matrix its displaying the previous rows data n

  • "Mail" Merge for data labels

    I wish to use an Avery template to define the layout of a page and than populate the cells with data merged in from Numbers. I can get the Avery template to work fine I can get the first cell to populate with the first row of my Numbers Document/Tabl