'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]
Similar Messages
-
Hi all,
I am getting the following error while running the JSP program.
Actually we are running our applications in REMOTE LINUX SERVER (Redhat 7.0).
Installed Softwares : jdk1.3.1_02 & Resin-2.1.0
500 Servlet Exception
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:59)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:120)
at java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(GraphicsEnvironment.java:58)
at java.awt.Font.initializeFont(Font.java:264)
at java.awt.Font.<init>(Font.java:298)
at CreateImage.create(CreateImage.java:22)
at send2trinity_jsp._jspService(/sms/send2trinity.jsp:136)
at com.caucho.jsp.JavaPage.service(JavaPage.java:74)
at com.caucho.jsp.Page.subservice(Page.java:485)
at com.caucho.server.http.FilterChainPage.doFilter(FilterChainPage.java:181)
at com.caucho.server.http.Invocation.service(Invocation.java:291)
at com.caucho.server.http.CacheInvocation.service(CacheInvocation.java:132)
at com.caucho.server.http.RunnerRequest.handleRequest(RunnerRequest.java:341)
at com.caucho.server.http.RunnerRequest.handleConnection(RunnerRequest.java:271)
at com.caucho.server.TcpConnection.run(TcpConnection.java:136)
at java.lang.Thread.run(Thread.java:484)
After getting this error i have logged in from local and set the DISPLAY varible as ':0.0'.
But there is no improvemnt and getting the error like,
java.lang.NoClassDefFoundError
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:120)
at java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(GraphicsEnvironment.java:58)
at java.awt.Font.initializeFont(Font.java:264)
at java.awt.Font.<init>(Font.java:298)
at CreateImage.create(CreateImage.java:22)
at send2trinity_jsp._jspService(/sms/send2trinity.jsp:136)
at com.caucho.jsp.JavaPage.service(JavaPage.java:74)
at com.caucho.jsp.Page.subservice(Page.java:485)
at com.caucho.server.http.FilterChainPage.doFilter(FilterChainPage.java:181)
at com.caucho.server.http.Invocation.service(Invocation.java:291)
at com.caucho.server.http.CacheInvocation.service(CacheInvocation.java:132)
at com.caucho.server.http.RunnerRequest.handleRequest(RunnerRequest.java:341)
at com.caucho.server.http.RunnerRequest.handleConnection(RunnerRequest.java:271)
at com.caucho.server.TcpConnection.run(TcpConnection.java:136)
at java.lang.Thread.run(Thread.java:484)
How should i solve this problem? Have anybody faced the same problem ?
Please help.
Thanks in advance.
Bye.Hi all,
Thanks a lot for ur reply. It worked me atlast.I have installed JDK1.4 and try to run my program.But it was creating some junk value instaed of creating picture. Actullay my programme needs some third party fonts , it was not loading after i have upgraded. But what i did is , copied the fonts file in to <Java_home>/jre/lib/fonts/ directory. Now it's working fine.
I have done another thing .I am using resin-2.1.0 to serve my JSp pages . So i have added $JAVA_ARGS="-Djava.awt.headless=true"; in wrapper.pl . If u will not add this line then iot will not work for you.
Thank u once again.
Bye. -
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.
PuneProgrammerYou 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. -
Exception in thread "main" java.lang.InternalError:
Hi all,
i'm installing 11.5.10.2 on RHEL 4, after running
$cd /u01/Stage11i/startCD/Disk1/rapidwiz
$./rapidwiz
i get the following error
[applmgr@eureka rapidwiz]$ Exception in thread "main" java.lang.InternalError: Can't connect to X11 window server using '192.168.10.41:1.0' as the value of the DISPLAY variable.
at sun.awt.X11GraphicsEnvironment.initDisplay(Native Method)
at sun.awt.X11GraphicsEnvironment.<clinit>(Unknown Source)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Unknown Source)
at java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(Unknown Source)
at java.awt.Window.init(Unknown Source)
at java.awt.Window.<init>(Unknown Source)
at java.awt.Frame.<init>(Unknown Source)
at java.awt.Frame.<init>(Unknown Source)
at oracle.ewt.popup.PopupFrame.<init>(Unknown Source)
at oracle.ewt.lwAWT.BufferedFrame.<init>(Unknown Source)
at oracle.apps.ad.rapidwiz.RIWizard.main(RIWizard.java:2303)
i set the DISPLAY variable logged in as the 'applmgr' the user who is going to perform the installation.
$echo $DISPLAY gives
192.168.10.41:1.0
Please suggest.
rgds,
KrishHi Alok,
You require to do the folowing to access the console.
1. set the DISPLAY parameter to an IP addresssuffixed with :0.0 .... Which you have done correctly.
2. Open an Xwindow in the IP that you have just set.
3. Fire the console shell and Xwindow will capture the output.
In case you get any error the post it here.
Regards,
DJ -
Axis and WebLogic 8.1 - java.lang.InternalError: erroneous handlers
I am using Axis2 on WebLogic 8.1. When I access my webservice via a RPC client, it works fine. But when I access it by embedding that RPC code into an an EJB (deployed on the same server as the webservice), I get java.lang.InternalError: erroneous handlers:
<ExecuteThread: '13' for queue: 'weblogic.kernel.Default'>
<BEA1-00B09EB5658F51185459> <BEA-010051>
<EJB Exception occurred during invocation from home:
mypackage....._HomeImpl@257af52 threw exception: java.lang.InternalError: erroneous handlers
java.lang.InternalError: erroneous handlers
at org.apache.axis2.deployment.AxisConfigBuilder.populateConfig()V(AxisConfigBuilder.java:???)
at org.apache.axis2.deployment.DeploymentEngine.populateAxisConfiguration(Ljava.io.InputStream;)Lorg.apache.axis2.engine.AxisConfiguration;(DeploymentEngine.java:690)
at org.apache.axis2.deployment.FileSystemConfigurator.getAxisConfiguration()Lorg.apache.axis2.engine.AxisConfiguration;(FileSystemConfigurator.java:109)
at org.apache.axis2.context.ConfigurationContextFactory.createConfigurationContext(Lorg.apache.axis2.engine.AxisConfigurator;)Lorg.apache.axis2.context.ConfigurationContext;(ConfigurationContextFactory.java:61)
at org.apache.axis2.context.ConfigurationContextFactory.createConfigurationContextFromFileSystem(Ljava.lang.String;Ljava.lang.String;)Lorg.apache.axis2.context.ConfigurationContext;(ConfigurationContextFactory.java:180)
at org.apache.axis2.client.ServiceClient.initializeTransports(Lorg.apache.axis2.context.ConfigurationContext;)V(ServiceClient.java:189)
at org.apache.axis2.client.ServiceClient.configureServiceClient(Lorg.apache.axis2.context.ConfigurationContext;Lorg.apache.axis2.description.AxisService;)V(ServiceClient.java:118)
at org.apache.axis2.client.ServiceClient.<init>(Lorg.apache.axis2.context.ConfigurationContext;Lorg.apache.axis2.description.AxisService;)V(ServiceClient.java:114)
at org.apache.axis2.client.ServiceClient.<init>()V(ServiceClient.java:207)
at org.apache.axis2.rpc.client.RPCServiceClient.<init>()V(RPCServiceClient.java:44)
at my bean here...Parts of my code that I use to access the webservice from a stateless session bean:
serviceClient = new RPCServiceClient();
Options options = serviceClient.getOptions();
EndpointReference targetEPR = new EndpointReference(
"http://localhost/axis2/services/MyService");
options.setTo(targetEPR);
QName qname = new QName("http://my.s/xsd", "getScore");
Object[] args = new Object[] { new String("hello-world"),
new Integer(786) };
Class[] returnTypes = new Class[] { String.class };
Object[] response = serviceClient.invokeBlocking(qname, args,
returnTypes);Any help is appreciated...This Exception occurs due to classpath setting in weblogic.cmd.
Please make sure that axis path has been set in this file.
Sometimes Weblogic gives this exception when "NoClassDefinitionException" occurs.
On the Other hand we can say that "NoClassDefinitionException" mesassage in weblogic is being displayed by "java.lang.InternalError errorneous handler".
Edit the weblogic.cmd or weblogic.sh to include axis.jar to remove this problem
Ajay Tiwari -
FileT3 configuration: java.lang.InternalError: Needs updating
I'm using a Startup class in WL 6.0 which is supposed to read a
properties file containing JMS/MQSeries queue information. The
T3FileSystem and the name of the actual properties file are supplied
as arguments to the startup class. When I start up the server,
I can see that both the setServices and startup methods are executed.
The arguments are understood, but when I try to get the T3FileSystem
object, an error occure. The error message is: "java.lang.InternalError:
Needs updating". I've checked that both the target server and paths
are correct, so I could really need some help on this one. Here
is the code and stacktrace:
public void setServices(T3ServicesDef services) {
this.services = services;
fileSystemName = (String) args.get("fsn");
fileName = (String) args.get("fn");
// This line fails with the above mentioned error:
fileSystem = (T3FileSystem) services.io().getFileSystem(fileSystemName);
file = (T3File) fileSystem.getFile(fileName);Hi, I encountered a similar (exactly the same) Problem. The Filesystems are
created during boot, are visible in the console, but when I try to create a
T3File/T3Filesystem Object, the Exception is thrown.
It looks like this is a problem in the weblogic code.
Has anyone ever got this working??
Thanks,
"Oystein Haug" <[email protected]> schrieb im Newsbeitrag
news:3a9d1434$[email protected]..
>
I'm using a Startup class in WL 6.0 which is supposed to read a
properties file containing JMS/MQSeries queue information. The
T3FileSystem and the name of the actual properties file are supplied
as arguments to the startup class. When I start up the server,
I can see that both the setServices and startup methods are executed.
The arguments are understood, but when I try to get the T3FileSystem
object, an error occure. The error message is: "java.lang.InternalError:
Needs updating". I've checked that both the target server and paths
are correct, so I could really need some help on this one. Here
is the code and stacktrace:
public void setServices(T3ServicesDef services) {
this.services = services;
fileSystemName = (String) args.get("fsn");
fileName = (String) args.get("fn");
// This line fails with the above mentioned error:
fileSystem = (T3FileSystem)services.io().getFileSystem(fileSystemName);
file = (T3File) fileSystem.getFile(fileName); -
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,
Dilkhush1) 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 -
Trying to Install RMS application 13.2.2 and I get past the pre-installation checks and when I get to the Data Source details and enter the data source details with the check box checked to validate the schema/Test Data Source I get the following error:
Error Connecting to database URL jdbc:oracle:oci:@rmsdbtst as user rms13 java.lang.Exception:UnsatisfiedLinkError encountered when using the Oracle driver. Please check that the library path is set up properly or switch to the JDBC thin client oracle/jdbc/driver/T2CConnection.getLibraryVersioNumber()
Checks performed:
RMS Application code location and directory contents:
[oracle@test-rms-app application]$ pwd
/binary_files/STAGING_DIR/rms/application
[oracle@test-rms-app application]$ ls -ltr
total 144
-rw-r--r-- 1 oracle oinstall 272 Dec 7 2010 version.properties
-rw-r--r-- 1 oracle oinstall 405 Jan 16 2011 expected-object-counts.properties
-rw-r--r-- 1 oracle oinstall 892 May 13 2011 ant.install.properties.sample
-rw-r--r-- 1 oracle oinstall 64004 Jun 6 2011 build.xml
drwxr-xr-x 9 oracle oinstall 4096 Jun 16 2011 rms13
drwxr-xr-x 3 oracle oinstall 4096 Jun 16 2011 installer-resources
drwxr-xr-x 3 oracle oinstall 4096 Jun 16 2011 antinstall
drwxr-xr-x 2 oracle oinstall 4096 Jun 16 2011 ant-ext
drwxr-xr-x 5 oracle oinstall 4096 Jun 16 2011 ant
-rw-r--r-- 1 oracle oinstall 11324 Dec 18 09:18 antinstall-config.xml.ORIG
-rwxr-xr-x 1 oracle oinstall 4249 Dec 18 10:01 install.sh
drwxr-xr-x 4 oracle oinstall 4096 Dec 18 10:06 common
-rw-r--r-- 1 oracle oinstall 16244 Dec 19 10:37 antinstall-config.xml
-rw-r--r-- 1 oracle oinstall 689 Dec 19 10:37 ant.install.log
[oracle@test-rms-app application]$
Application installation:
[oracle@test-rms-app application]$ ./install.sh
THIS IS the driver directory
Verified $ORACLE_SID.
Verified SQL*Plus exists.
Verified write permissions.
Verified formsweb.cfg read permissions.
Verified Registry.dat read permissions.
Verified Java version 1.4.2.x or greater. Java version - 1.6.0
Verified Tk2Motif.rgb settings.
Verified frmcmp_batch.sh status.
WARNING: Oracle Enterprise Linux not detected. Some components may not install properly.
Verified $DISPLAY - 172.16.129.82:0.0.
This installer will ask for your "My Oracle Support" credentials.
Preparing installer. This may take a few moments.
Your internet connection type is: NONE
Integrating My Oracle Support into the product installer workflow...
[move] Moving 1 file to /binary_files/STAGING_DIR/rms/application
Installer preparation complete.
MW_HOME=/u01/app/oracle/Middleware/NewMiddleware1034
ORACLE_HOME=/u01/app/oracle/Middleware/NewMiddleware1034/as_1
ORACLE_INSTANCE=/u01/app/oracle/Middleware/NewMiddleware1034/asinst_1
DOMAIN_HOME=/u01/app/oracle/Middleware/NewMiddleware1034/user_projects/domains/rmsClassDomain
WLS_INSTANCE=WLS_FORMS
ORACLE_SID=rmsdbtst
JAVA_HOME=/u01/app/oracle/jrockit-jdk1.6.0_45-R28.2.7-4.1.0
Launching installer...
To make sure I have connectivity from the app server to the database (on a database server) here are the steps followed:
[oracle@test-rms-app application]$ tnsping rmsdbtst
TNS Ping Utility for Linux: Version 11.1.0.7.0 - Production on 19-DEC-2013 10:41:40
Copyright (c) 1997, 2008, Oracle. All rights reserved.
Used parameter files:
Used TNSNAMES adapter to resolve the alias
Attempting to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = test-rms-db.vonmaur.vmc)(PORT = 1521)) (CONNECT_DATA = (SERVER = DEDICATED) (SID = rmsdbtst)))
OK (0 msec)
[oracle@test-rms-app application]$
[oracle@test-rms-app application]$ sqlplus rms13@rmsdbtst
SQL*Plus: Release 11.1.0.7.0 - Production on Thu Dec 19 10:46:18 2013
Copyright (c) 1982, 2008, Oracle. All rights reserved.
Enter password:
Connected to:
Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
SQL> exit
Disconnected from Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
[oracle@test-rms-app application]$
[oracle@test-rms-app application]$ ping test-rms-db
PING test-rms-db.vonmaur.vmc (192.168.1.140) 56(84) bytes of data.
64 bytes from test-rms-db.vonmaur.vmc (192.168.1.140): icmp_seq=1 ttl=64 time=0.599 ms
64 bytes from test-rms-db.vonmaur.vmc (192.168.1.140): icmp_seq=2 ttl=64 time=0.168 ms
64 bytes from test-rms-db.vonmaur.vmc (192.168.1.140): icmp_seq=3 ttl=64 time=0.132 ms
64 bytes from test-rms-db.vonmaur.vmc (192.168.1.140): icmp_seq=4 ttl=64 time=0.158 ms
64 bytes from test-rms-db.vonmaur.vmc (192.168.1.140): icmp_seq=5 ttl=64 time=0.135 ms
--- test-rms-db.vonmaur.vmc ping statistics ---
5 packets transmitted, 5 received, 0% packet loss, time 4001ms
rtt min/avg/max/mdev = 0.132/0.238/0.599/0.181 ms
[oracle@test-rms-app application]$
[oracle@test-rms-app application]$ uname -a
Linux test-rms-app.vonmaur.vmc 2.6.18-128.el5 #1 SMP Wed Jan 21 08:45:05 EST 2009 x86_64 x86_64 x86_64 GNU/Linux
[oracle@test-rms-app application]$
[oracle@test-rms-app application]$ cat /etc/*-release
Enterprise Linux Enterprise Linux Server release 5.3 (Carthage)
Red Hat Enterprise Linux Server release 5.3 (Tikanga)
[oracle@test-rms-app application]$
The database is created and all the batch file scripts have been successfully deployed. Now working on the application server. The Weblogic server is installed and 11g forms and reports are installed successfully.
Any help would be helpful.
Thanks,
Ram.Please check MOS Notes:
FAQ: RWMS 13.2 Installation and Configuration (Doc ID 1307639.1) -
Java.lang.InternalError: need dictionary
Hi,
i am trying to decode a byte [] to an object in an MDB. But when doing that i am getting the following exception,
java.lang.InternalError: need dictionary
at java.util.zip.Inflater.inflateBytes(Native Method)
at java.util.zip.Inflater.inflate(Inflater.java:215)
at java.util.zip.Inflater.inflate(Inflater.java:232)
Can anyone let me know whats the problem and solution for the same ?What does a "MDB" have to do with a zip/jar file?
-
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-PierreI 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: 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
StevenHi 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 -
Java.lang.InternalError: erroneous handlers
I have a web app that uses EJBs and Hibernate for data access. When I try to access the database the first time, I get the following exception:
javax.ejb.EJBException: EJB Exception: : java.lang.InternalError: erroneous handlers
at scigames.usermgmt.ejb.UsersBean.getUserByNetworkId(UsersBean.java:345
at scigames.usermgmt.ejb.Users_oz8j9m_ELOImpl.getUserByNetworkId(Users_o
z8j9m_ELOImpl.java:230)
at scigames.usermgmt.bizdel.UserMgmtBizDel.getUserByNetworkId(UserMgmtBi
zDel.java:64)
at scigames.usermgmt.web.actions.LoginAction.execute(LoginAction.java:94
The LoginAction is a Struts Action class. The line at which I get the error (345) is where I am trying to get the current session from the Hibernate Session Factory. Am I missing any jar file? Any help will be greatly appreciated.
Thanks
Sharmarun with the Sun JVM to find the name of the class
you are missing. Or try running without "noverify".Exactly. After running the server under sun jvm, some ClassNotFoundExceptions fall. Added dom4j, cglib, asm into shared libraries. Switched back to jrockit and all work good now. -
Java.lang.InternalError: Werent current caller
I'm running the J2EE Sample for JDeveloper 9i.
The EJB.jpr project compiles without errors. orderItems run without error.
Running SampleorderItemsClient.java gives a java.lang InternalError.
See server stacktrace:
com.evermind.server.rmi.OrionRemoteException: java.lang.InternalError: Werent current caller, server stacktrace (to disable this message, use -Dejb.assert=false at startup): java.lang.Throwable: Werent current caller
void Orders_EntityBeanWrapper0.setEntityBean(javax.ejb.EntityBean)
void com.evermind.server.ejb.EntityEJBHome.passivateAndRelease(com.evermind.server.ejb.EvermindEntityContext, boolean)
void com.evermind.server.ejb.EntityEJBObject.releaseContext(boolean)
ejbsample.Orders OrdersHome_EntityHomeWrapper4.create(long, java.lang.String, java.lang.String, java.lang.String, java.lang.String, long)
void ejbsample.impl.orderItemsBean.addOrder(long, java.lang.String, java.lang.String, java.lang.String, java.lang.String, long)
void orderItems_StatelessSessionBeanWrapper1.addOrder(long, java.lang.String, java.lang.String, java.lang.String, java.lang.String, long)
java.lang.Object java.lang.reflect.Method.invoke(java.lang.Object, java.lang.Object[])
void com.evermind.server.rmi.RMICallHandler.run(java.lang.Thread)
void com.evermind.util.ThreadPoolThread.run()
java.lang.Exception com.evermind.server.ejb.EJBUtils.getUserException(java.lang.Throwable, boolean)
void orderItems_StatelessSessionBeanWrapper1.addOrder(long, java.lang.String, java.lang.String, java.lang.String, java.lang.String, long)
java.lang.Object java.lang.reflect.Method.invoke(java.lang.Object, java.lang.Object[])
void com.evermind.server.rmi.RMICallHandler.run(java.lang.Thread)
void com.evermind.util.ThreadPoolThread.run()
at connection to localhost/127.0.0.1 as admin
void Orders_EntityBeanWrapper0.setEntityBean(javax.ejb.EntityBean)
void com.evermind.server.ejb.EntityEJBHome.passivateAndRelease(com.evermind.server.ejb.EvermindEntityContext, boolean)
void com.evermind.server.ejb.EntityEJBObject.releaseContext(boolean)
ejbsample.Orders OrdersHome_EntityHomeWrapper4.create(long, java.lang.String, java.lang.String, java.lang.String, java.lang.String, long)
void ejbsample.impl.orderItemsBean.addOrder(long, java.lang.String, java.lang.String, java.lang.String, java.lang.String, long)
void orderItems_StatelessSessionBeanWrapper1.addOrder(long, java.lang.String, java.lang.String, java.lang.String, java.lang.String, long)
java.lang.Object java.lang.reflect.Method.invoke(java.lang.Object, java.lang.Object[])
void com.evermind.server.rmi.RMICallHandler.run(java.lang.Thread)
void com.evermind.util.ThreadPoolThread.run()
void com.evermind.server.rmi.RMIConnection.EXCEPTION_ORIGINATES_FROM_THE_REMOTE_SERVER(java.lang.Throwable)
java.lang.Object com.evermind.server.rmi.RMIConnection.invokeMethod(com.evermind.server.rmi.RMIContext, long, long, java.lang.reflect.Method, java.lang.Object[])
java.lang.Object com.evermind.server.rmi.RemoteInvocationHandler.invoke(java.lang.Object, java.lang.reflect.Method, java.lang.Object[])
void __Proxy1.addOrder(long, java.lang.String, java.lang.String, java.lang.String, java.lang.String, long)
void SampleorderItemsClient.main(java.lang.String[])
Nested exception is:
java.lang.InternalError: Werent current caller, server stacktrace (to disable this message, use -Dejb.assert=false at startup): java.lang.Throwable: Werent current caller
void Orders_EntityBeanWrapper0.setEntityBean(javax.ejb.EntityBean)
void com.evermind.server.ejb.EntityEJBHome.passivateAndRelease(com.evermind.server.ejb.EvermindEntityContext, boolean)
void com.evermind.server.ejb.EntityEJBObject.releaseContext(boolean)
ejbsample.Orders OrdersHome_EntityHomeWrapper4.create(long, java.lang.String, java.lang.String, java.lang.String, java.lang.String, long)
void ejbsample.impl.orderItemsBean.addOrder(long, java.lang.String, java.lang.String, java.lang.String, java.lang.String, long)
void orderItems_StatelessSessionBeanWrapper1.addOrder(long, java.lang.String, java.lang.String, java.lang.String, java.lang.String, long)
java.lang.Object java.lang.reflect.Method.invoke(java.lang.Object, java.lang.Object[])
void com.evermind.server.rmi.RMICallHandler.run(java.lang.Thread)
void com.evermind.util.ThreadPoolThread.run()
void Orders_EntityBeanWrapper0.setEntityBean(javax.ejb.EntityBean)
void com.evermind.server.ejb.EntityEJBHome.passivateAndRelease(com.evermind.server.ejb.EvermindEntityContext, boolean)
void com.evermind.server.ejb.EntityEJBObject.releaseContext(boolean)
ejbsample.Orders OrdersHome_EntityHomeWrapper4.create(long, java.lang.String, java.lang.String, java.lang.String, java.lang.String, long)
void ejbsample.impl.orderItemsBean.addOrder(long, java.lang.String, java.lang.String, java.lang.String, java.lang.String, long)
void orderItems_StatelessSessionBeanWrapper1.addOrder(long, java.lang.String, java.lang.String, java.lang.String, java.lang.String, long)
java.lang.Object java.lang.reflect.Method.invoke(java.lang.Object, java.lang.Object[])
void com.evermind.server.rmi.RMICallHandler.run(java.lang.Thread)
void com.evermind.util.ThreadPoolThread.run()
at connection to localhost/127.0.0.1
void Orders_EntityBeanWrapper0.setEntityBean(javax.ejb.EntityBean)
void com.evermind.server.ejb.EntityEJBHome.passivateAndRelease(com.evermind.server.ejb.EvermindEntityContext, boolean)
void com.evermind.server.ejb.EntityEJBObject.releaseContext(boolean)
ejbsample.Orders OrdersHome_EntityHomeWrapper4.create(long, java.lang.String, java.lang.String, java.lang.String, java.lang.String, long)
void ejbsample.impl.orderItemsBean.addOrder(long, java.lang.String, java.lang.String, java.lang.String, java.lang.String, long)
void orderItems_StatelessSessionBeanWrapper1.addOrder(long, java.lang.String, java.lang.String, java.lang.String, java.lang.String, long)
java.lang.Object java.lang.reflect.Method.invoke(java.lang.Object, java.lang.Object[])
void com.evermind.server.rmi.RMICallHandler.run(java.lang.Thread)
void com.evermind.util.ThreadPoolThread.run()
void com.evermind.server.rmi.OrionRemoteException.receive(java.net.InetAddress, java.lang.String)
void com.evermind.server.rmi.RMIConnection.handleMethodInvocationResponse()
void com.evermind.server.rmi.RMIConnection.run()
void java.lang.Thread.run()
Process exited with exit code 0.
Can you tell me what this means?
ThxChris,
The problem is that both clients and EJBs are in the same server and you are using RMIInitialContextFactory. You have to use default context and package this client in the same EAR. Please look at http://otn.oracle.com/sample_code/tech/java/oc4j/htdocs/oc4jsamplecode/oc4j-demo-ejb.html#CMP for samples. Also some EJB/client sample programs are packaged with Oc4J disand you can find at $IAS_HOME/j2ee/home/demo/cmp distribution ctory.
However the client program should work fine if your client and EJBs are running on different Oc4J containers.
regards
Debu
Hi Debu,
the client is a java application. Here is the code:
[...in main method...]
Hashtable env = new Hashtable();
env.put(Context.INITIAL_CONTEXT_FACTORY, "com.evermind.server.rmi.RMIInitialContextFactory");
env.put(Context.SECURITY_PRINCIPAL, "admin");
env.put(Context.SECURITY_CREDENTIALS, "admin");
env.put(Context.PROVIDER_URL, "ormi://CHRISTIANE/statful");
Context ctx = new InitialContext(env);
PersonHome personHome = (PersonHome)ctx.lookup("Person");
Person person;
person = personHome.create( 14261026 );
CU, Chris -
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 -
Hi,
I am trying to deploy ejb3.0 on weblogic 10 server. I am able to find the JNDI name of the stateless session bean correctly, but getting an exception while narrowing it down. My ejb3.0 client is a standalone java client. I am trying to access the stateless session ejb3.0 bean.Please help me. i have been trying it for many days.
thanks in advance,
Sanjeev
[sanpraka@localhost certEjb]$ java -cp ./:/usr/weblogic/bea/wlserver_10.0/server/lib/weblogic.jar:/usr/weblogic/bea/wlserver_10.0/server/lib/wlclient.jar com.titan.clients.Client
Object is weblogic.rmi.internal.BasicRemoteRef - hostID: '5337880647112897730S:127.0.0.1:[7001,7001,-1,-1,-1,-1,-1]:wl_server:examplesServer', oid: '302', channel: 'null'
java.lang.ClassCastException: Cannot narrow remote object weblogic.rmi.internal.BasicRemoteRef - hostID: '5337880647112897730S:127.0.0.1:[7001,7001,-1,-1,-1,-1,-1]:wl_server:examplesServer', oid: '302', channel: 'null' to com.titan.travelagent.TravelAgentRemote
at weblogic.corba.server.naming.ReferenceHelperImpl.narrow(ReferenceHelperImpl.java:206)
at weblogic.rmi.extensions.PortableRemoteObject.narrow(PortableRemoteObject.java:88)
at weblogic.iiop.PortableRemoteObjectDelegateImpl.narrow(PortableRemoteObjectDelegateImpl.java:32)
at javax.rmi.PortableRemoteObject.narrow(Unknown Source)
at com.titan.clients.Client.main(Client.java:24)
[sanpraka@localhost certEjb]$We have a similar problem. We have a web application (on server A) that invokes an EJB on a remote server (server B). This works fine, until we deploy another web application to server A at which point the existing web application starts to throw java.lang.ClassCastException when narrowing the remote EJB interface. The exception starts to be thrown at the moment the latter web application is deployed - start is not required.
The latter web application contains (actually in APP-INF/lib) the old version of the EJB remote interface, that somehow gets to be loaded into the classpath of the existing web application. The solution is to delete the old version of the EJB remote interface from APP-INF/lib of the latter web application (we didn't need it anyway), but it would be interesting to know in which circumstances classes can get mixed between enterprise applications.
I failed to reproduce the error in simple scenario, so this does not happen always.
Maybe you are looking for
-
Warning Message when trying to print form
Hello, We made some changes to a SAPScript and it's print program. Everything was looking good untill the client tested it in the production box. When trying to print the receipt using FB12 (to choose correspondence type), F.61 (to issue the spool
-
How can we stop iPrint from pushing out printers?
Is there a global way to stop iPrint Client Management from pushing out printers? Or, is there a way to report on all group objects that have a printer assignment? We are trying to stop printers from being pushed, but we have 100+ group assignments,
-
What is Frostwire and why do I have it?
A new item has suddenly appeared in my iTunes application- 'Frostwire'. I click on it, and get the message 'the shared library, Jonathan's Frostwire tunes, is not compatible with this version of iTunes' (which for the record is V 8.0). Well, great. I
-
Let's just say I HATE wha thas been done with Firefox4 -- wnat the old one back
Firefox 4 is intrusive, over-protective and is reeking havoc wtth all my Internet interfaces. (1) I use a great program called RoboFor (password library and executor) and FF is blocking any new entries (2) When anyone tries to get to me Poetry worksh
-
Cant send picture mail on my Sprint 8330
When I try to send picture mail I'm asked to pick from a contact list, which is empty. I can't find instructions on how to add someone to the contact list for picture mail. Can anyone help? Thanks!