Jdb problem ?
Hello ,
After a java out of memory error which occurred because my application was trying to read a huge BufferedImage that has a dimension of about 9000X9000 runing on a 512mb jvm.
Now when ever i run the jdb.exe to test the application the jvm crashes with no error or log file explaining why it crashed. but when i run it with java.exe it runs fine. what could be the problem thanks for your response.
Would you not get more response if you asked this question in [Java Database Connectivity (JDBC)|http://forum.java.sun.com/forum.jspa?forumID=48]?
Similar Messages
-
Problem in runing the jdb examples!
Hi,everyone:
As a part of my research project, I need catch the type of variables dynamically.So I decided to use the JDI.
First I want to compile and run the jdb example. But I got a problem.
When I use Eclipse, it run fine. But when I use the command line mode, I got a error:
Exception in thread "main" java.lang.NoClassDefFoundError: TTY (wrong name: com/sun/tools/example/debug/tty/TTY)
at java.lang.ClassLoader.defineClass0(Native Method)
I don't konw why? Is there anyone can help me?
Thank you!!
Duanyh
SJTUHello
You wrote:
[...]when I use the
e command line mode, I got a error:
Exception in thread "main"
n" java.lang.NoClassDefFoundError: TTY (wrong name:
com/sun/tools/example/debug/tty/TTY)
at java.lang.ClassLoader.defineClass0(Native
ve Method)
I don't konw why?Because the name of the main class is not TTY. It
is com.sun.tools.example.debug.tty.TTY
For more information on handling packages, refer to this page:
"Creating and Using Packages"
http://java.sun.com/docs/books/tutorial/java/interpack/packages.html
For an example of how to compile and run TTY (the jdb debugger),
take a look at this forum thread:
http://forum.java.sun.com/thread.jsp?forum=47&thread=453776
Is there anyone can help me?
Thank you!!
Duanyh
SJTU -
Hi, I am new to JAVA. I tried to debug a small problem which uses DataInputStream. When I receive the value for a variable from the keyboard, JDB is not passing it back to the readLine() function. In turns, it assumes it as a JDB command and gives me error. How can I input the value to the variable? TIA.. - Elan
import java.io.*;
class testpgm
public static void main(String arg[]) throws
IOException.........................................................
DO NOT THROW EXCEPTIONS IN MAIN (), CATCH THEM INSTEAD.
DataInputStream obj = new
w DataInputStream(System.in);>
System.out.print("Enter Value for 'A': ");...............................................................
BufferedReader r = new BufferedReader (new InputStreamReader (System.in));
a = Integer.parseInt(r.readLine());
System.out.print("Enter Value for 'B': ");
b = Integer.parseInt(obj.readLine());
When I compile with javac -g testpgm and then running
jdb.exe.....................................................
COMPILE JAVA PROGRAM USE: javac + your .java file
RUN JAVA PROGRAM USE: java + .class file
at jdb prompt, I added a stop condition like this.
stop at testpgm:16
run testpgm
it stops at break point 16 and asking me to input the
value for the readline command, Enter Value for A:
when i enter a value as 10,
the following error comes:
main[1] unrecognized command. Try help...
main[1]
How do I continue my debugging?
TIA
-Elan -
First Time JDB user - Problems already
I get the error when I try to run my app... (I am in the folder D:/Projects/EdsApp when I start JDB)
run D:/Projects/EdsApp/EdsApp
Exception occurred: java.lang.ClassNotFoundException (uncaught)"thread=main", java.net.URLClassLoader$1.run(), line=198 bci=72
Any ideas? When I exit JDB, I get this...
java.lang.NoClassDefFoundError: D:/Projects/EdsApp/EdsApp
Exception in thread "main"
I've even added the folder D:/Projects/EdsApp/ to the CLASSPATH.
Thanks in advance,
--EdIt's not finding the class you're giving it.
under the linux version, you give it the classpath then then class name
like:
jdb /myclasspath/ myclass.class
I haven't used it under windows, but it's probably the same. -
Problem using integrated WLS in jDeveloper 11.1.2.1.0
Hey there,
I got a problem using the integrated WLS from the jDeveloper 11.1.2.1.0.
After trying to deploy an ADF Web Application on the integrated WLS, I get the following log message:
LOG
+[Waiting for the domain to finish building...]+
+[11:26:04 AM] Creating Integrated Weblogic domain...+
+[11:28:13 AM] Extending Integrated Weblogic domain...+
+[11:30:06 AM] Integrated Weblogic domain processing completed successfully.+
*** Using HTTP port 7101 ***
*** Using SSL port 7102 ***
+/home/robin/.jdeveloper/system11.1.2.1.38.60.81/DefaultDomain/bin/startWebLogic.sh+
+[waiting for the server to complete its initialization...]+
+.+
+.+
JAVA Memory arguments: -Xms256m -Xmx512m -XX:CompileThreshold=8000 -XX:PermSize=128m -XX:MaxPermSize=512m
+.+
WLS Start Mode=Development
+.+
CLASSPATH=/home/robin/bin/wls/oracle_common/modules/oracle.jdbc_11.1.1/ojdbc6dms.jar:/home/robin/bin/wls/patch_wls1211/profiles/default/sys_manifest_classpath/weblogic_patch.jar:/home/robin/bin/wls/patch_oepe100/profiles/default/sys_manifest_classpath/weblogic_patch.jar:/home/robin/bin/wls/patch_ocp371/profiles/default/sys_manifest_classpath/weblogic_patch.jar:/home/robin/bin/wls/jdk160_29/lib/tools.jar:/home/robin/bin/wls/wlserver_12.1/server/lib/weblogic_sp.jar:/home/robin/bin/wls/wlserver_12.1/server/lib/weblogic.jar:/home/robin/bin/wls/modules/features/weblogic.server.modules_12.1.1.0.jar:/home/robin/bin/wls/wlserver_12.1/server/lib/webservices.jar:/home/robin/bin/wls/modules/org.apache.ant_1.7.1/lib/ant-all.jar:/home/robin/bin/wls/modules/net.sf.antcontrib_1.1.0.0_1-0b2/lib/ant-contrib.jar:/home/robin/bin/wls/oracle_common/modules/oracle.jrf_11.1.1/jrf.jar:/home/robin/bin/wls/wlserver_12.1/common/derby/lib/derbyclient.jar:/home/robin/bin/wls/wlserver_12.1/server/lib/xqrl.jar
+.+
PATH=/home/robin/bin/wls/wlserver_12.1/server/bin:/home/robin/bin/wls/modules/org.apache.ant_1.7.1/bin:/home/robin/bin/wls/jdk160_29/jre/bin:/home/robin/bin/wls/jdk160_29/bin:/usr/local/bin:/usr/bin:/bin:/opt/bin:/usr/x86_64-pc-linux-gnu/gcc-bin/4.5.3:/usr/games/bin
+.+
+* To start WebLogic Server, use a username and *+
+* password assigned to an admin-level user. For *+
+* server administration, use the WebLogic Server *+
+* console at http://hostname:port/console *+
starting weblogic with Java version:
java version "1.6.0_29"
Java(TM) SE Runtime Environment (build 1.6.0_29-b11)
Java HotSpot(TM) Client VM (build 20.4-b02, mixed mode)
Starting WLS with line:
+/home/robin/bin/wls/jdk160_29/bin/java -client -Xms256m -Xmx512m -XX:CompileThreshold=8000 -XX:PermSize=128m -XX:MaxPermSize=512m -Dweblogic.Name=DefaultServer -Djava.security.policy=/home/robin/bin/wls/wlserver_12.1/server/lib/weblogic.policy -Djavax.net.ssl.trustStore=/tmp/trustStore7618453572230021232.jks -Dhttp.proxyHost=emea-proxy.uk.oracle.com -Dhttp.proxyPort=80 -Dhttp.nonProxyHosts=localhost|localhost.localdomain|127.0.0.1|::1|MUELLER-BADY-GENTOO|MUELLER-BADY-GENTOO -Dhttps.proxyHost=emea-proxy.uk.oracle.com -Dhttps.proxyPort=80 -Doracle.jdeveloper.adrs=true -Dweblogic.nodemanager.ServiceEnabled=true -Xverify:none -Djava.endorsed.dirs=/home/robin/bin/wls/jdk160_29/jre/lib/endorsed:/home/robin/bin/wls/wlserver_12.1/endorsed -da -Dplatform.home=/home/robin/bin/wls/wlserver_12.1 -Dwls.home=/home/robin/bin/wls/wlserver_12.1/server -Dweblogic.home=/home/robin/bin/wls/wlserver_12.1/server -Djps.app.credential.overwrite.allowed=true -Dcommon.components.home=/home/robin/bin/wls/oracle_common -Djrf.version=11.1.1 -Dorg.apache.commons.logging.Log=org.apache.commons.logging.impl.Jdk14Logger -Ddomain.home=/home/robin/.jdeveloper/system11.1.2.1.38.60.81/DefaultDomain -Djrockit.optfile=/home/robin/bin/wls/oracle_common/modules/oracle.jrf_11.1.1/jrocket_optfile.txt -Doracle.server.config.dir=/home/robin/.jdeveloper/system11.1.2.1.38.60.81/DefaultDomain/config/fmwconfig/servers/DefaultServer -Doracle.domain.config.dir=/home/robin/.jdeveloper/system11.1.2.1.38.60.81/DefaultDomain/config/fmwconfig -Digf.arisidbeans.carmlloc=/home/robin/.jdeveloper/system11.1.2.1.38.60.81/DefaultDomain/config/fmwconfig/carml -Digf.arisidstack.home=/home/robin/.jdeveloper/system11.1.2.1.38.60.81/DefaultDomain/config/fmwconfig/arisidprovider -Doracle.security.jps.config=/home/robin/.jdeveloper/system11.1.2.1.38.60.81/DefaultDomain/config/fmwconfig/jps-config.xml -Doracle.deployed.app.dir=/home/robin/.jdeveloper/system11.1.2.1.38.60.81/DefaultDomain/servers/DefaultServer/tmp/_WL_user -Doracle.deployed.app.ext=/- -Dweblogic.alternateTypesDirectory=/home/robin/bin/wls/oracle_common/modules/oracle.ossoiap_11.1.1,/home/robin/bin/wls/oracle_common/modules/oracle.oamprovider_11.1.1 -Djava.protocol.handler.pkgs=oracle.mds.net.protocol -Dweblogic.jdbc.remoteEnabled=false -Dwsm.repository.path=/home/robin/.jdeveloper/system11.1.2.1.38.60.81/DefaultDomain/oracle/store/gmds -Dweblogic.management.discover=true -Dwlw.iterativeDev= -Dwlw.testConsole= -Dwlw.logErrorsToConsole= -Dweblogic.ext.dirs=/home/robin/bin/wls/patch_wls1211/profiles/default/sysext_manifest_classpath:/home/robin/bin/wls/patch_oepe100/profiles/default/sysext_manifest_classpath:/home/robin/bin/wls/patch_ocp371/profiles/default/sysext_manifest_classpath weblogic.Server+
+<Feb 10, 2012 11:30:09 AM CET> <Info> <Security> <BEA-090905> <Disabling CryptoJ JCE Provider self-integrity check for better startup performance. To enable this check, specify -Dweblogic.security.allowCryptoJDefaultJCEVerification=true>+
+<Feb 10, 2012 11:30:10 AM CET> <Info> <Security> <BEA-090906> <Changing the default Random Number Generator in RSA CryptoJ from ECDRBG to FIPS186PRNG. To disable this change, specify -Dweblogic.security.allowCryptoJDefaultPRNG=true>+
+<Feb 10, 2012 11:30:11 AM CET> <Info> <WebLogicServer> <BEA-000377> <Starting WebLogic Server with Java HotSpot(TM) Client VM Version 20.4-b02 from Sun Microsystems Inc..>+
+<Feb 10, 2012 11:30:12 AM CET> <Info> <Management> <BEA-141107> <Version: WebLogic Server 12.1.1.0 Wed Dec 7 08:40:57 PST 2011 1445491 >+
+<Feb 10, 2012 11:30:15 AM CET> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STARTING.>+
+<Feb 10, 2012 11:30:15 AM CET> <Info> <WorkManager> <BEA-002900> <Initializing self-tuning thread pool.>+
+<Feb 10, 2012 11:30:15 AM CET> <Notice> <Log Management> <BEA-170019> <The server log file /home/robin/.jdeveloper/system11.1.2.1.38.60.81/DefaultDomain/servers/DefaultServer/logs/DefaultServer.log is opened. All server side log events will be written to this file.>+
Feb 10, 2012 11:30:24 AM oracle.security.jps.internal.keystore.file.FileKeyStoreManager saveKeyStore
WARNING: Failed to save farm keystore. Reason {0}
Feb 10, 2012 11:30:24 AM oracle.security.jps.internal.keystore.file.FileKeyStoreManager createKeyStore
WARNING: Failed to save farm keystore. Reason {0}
oracle.security.jps.service.keystore.KeyStoreServiceException: JPS-06513: Failed to save farm keystore. Reason
+ at oracle.security.jps.internal.keystore.file.FileKeyStoreManager.createKeyStore(FileKeyStoreManager.java:309)+
+ at oracle.security.jps.internal.keystore.file.FileKeyStoreServiceImpl.doInit(FileKeyStoreServiceImpl.java:95)+
+ at oracle.security.jps.internal.keystore.file.FileKeyStoreServiceImpl.<init>(FileKeyStoreServiceImpl.java:73)+
+ at oracle.security.jps.internal.keystore.file.FileKeyStoreServiceImpl.<init>(FileKeyStoreServiceImpl.java:63)+
+ at oracle.security.jps.internal.keystore.KeyStoreProvider.getInstance(KeyStoreProvider.java:157)+
+ at oracle.security.jps.internal.keystore.KeyStoreProvider.getInstance(KeyStoreProvider.java:64)+
+ at oracle.security.jps.internal.core.runtime.ContextFactoryImpl.findServiceInstance(ContextFactoryImpl.java:139)+
+ at oracle.security.jps.internal.core.runtime.ContextFactoryImpl.getContext(ContextFactoryImpl.java:170)+
+ at oracle.security.jps.internal.core.runtime.ContextFactoryImpl.getContext(ContextFactoryImpl.java:191)+
+ at oracle.security.jps.internal.core.runtime.JpsContextFactoryImpl.getContext(JpsContextFactoryImpl.java:132)+
+ at oracle.security.jps.internal.core.runtime.JpsContextFactoryImpl.getContext(JpsContextFactoryImpl.java:127)+
+ at oracle.security.jps.internal.policystore.PolicyUtil$1.run(PolicyUtil.java:850)+
+ at oracle.security.jps.internal.policystore.PolicyUtil$1.run(PolicyUtil.java:844)+
+ at java.security.AccessController.doPrivileged(Native Method)+
+ at oracle.security.jps.internal.policystore.PolicyUtil.getDefaultPolicyStore(PolicyUtil.java:844)+
+ at oracle.security.jps.internal.policystore.PolicyDelegationController.<init>(PolicyDelegationController.java:291)+
+ at oracle.security.jps.internal.policystore.PolicyDelegationController.<init>(PolicyDelegationController.java:284)+
+ at oracle.security.jps.internal.policystore.JavaPolicyProvider.<init>(JavaPolicyProvider.java:270)+
+ at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)+
+ at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)+
+ at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)+
+ at java.lang.reflect.Constructor.newInstance(Constructor.java:513)+
+ at java.lang.Class.newInstance0(Class.java:355)+
+ at java.lang.Class.newInstance(Class.java:308)+
+ at weblogic.security.service.CommonSecurityServiceManagerDelegateImpl.loadOPSSPolicy(CommonSecurityServiceManagerDelegateImpl.java:1343)+
+ at weblogic.security.service.CommonSecurityServiceManagerDelegateImpl.initialize(CommonSecurityServiceManagerDelegateImpl.java:1022)+
+ at weblogic.security.service.SecurityServiceManager.initialize(SecurityServiceManager.java:873)+
+ at weblogic.security.SecurityService.start(SecurityService.java:148)+
+ at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)+
+ at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)+
+ at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)+
+<Feb 10, 2012 11:30:24 AM CET> <Error> <Security> <BEA-090892> <The loading of OPSS java security policy provider failed due to exception, see the exception stack trace or the server log file for root cause. If still see no obvious cause, enable the debug flag -Djava.security.debug=jpspolicy to get more information. Error message: oracle.security.jps.JpsException: [PolicyUtil] Exception while getting default policy Provider>+
+<Feb 10, 2012 11:30:24 AM CET> <Critical> <WebLogicServer> <BEA-000386> <Server subsystem failed. Reason: weblogic.security.SecurityInitializationException: The loading of OPSS java security policy provider failed due to exception, see the exception stack trace or the server log file for root cause. If still see no obvious cause, enable the debug flag -Djava.security.debug=jpspolicy to get more information. Error message: oracle.security.jps.JpsException: [PolicyUtil] Exception while getting default policy Provider+
+weblogic.security.SecurityInitializationException: The loading of OPSS java security policy provider failed due to exception, see the exception stack trace or the server log file for root cause. If still see no obvious cause, enable the debug flag -Djava.security.debug=jpspolicy to get more information. Error message: oracle.security.jps.JpsException: [PolicyUtil] Exception while getting default policy Provider+
+ at weblogic.security.service.CommonSecurityServiceManagerDelegateImpl.loadOPSSPolicy(CommonSecurityServiceManagerDelegateImpl.java:1402)+
+ at weblogic.security.service.CommonSecurityServiceManagerDelegateImpl.initialize(CommonSecurityServiceManagerDelegateImpl.java:1022)+
+ at weblogic.security.service.SecurityServiceManager.initialize(SecurityServiceManager.java:873)+
+ at weblogic.security.SecurityService.start(SecurityService.java:148)+
+ at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)+
+ Truncated. see log file for complete stacktrace+
+Caused By: oracle.security.jps.JpsRuntimeException: oracle.security.jps.JpsException: [PolicyUtil] Exception while getting default policy Provider+
+ at oracle.security.jps.internal.policystore.PolicyDelegationController.<init>(PolicyDelegationController.java:293)+
+ at oracle.security.jps.internal.policystore.PolicyDelegationController.<init>(PolicyDelegationController.java:284)+
+ at oracle.security.jps.internal.policystore.JavaPolicyProvider.<init>(JavaPolicyProvider.java:270)+
+ at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)+
+ at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)+
+ Truncated. see log file for complete stacktrace+
+Caused By: oracle.security.jps.JpsException: [PolicyUtil] Exception while getting default policy Provider+
+ at oracle.security.jps.internal.policystore.PolicyUtil.getDefaultPolicyStore(PolicyUtil.java:899)+
+ at oracle.security.jps.internal.policystore.PolicyDelegationController.<init>(PolicyDelegationController.java:291)+
+ at oracle.security.jps.internal.policystore.PolicyDelegationController.<init>(PolicyDelegationController.java:284)+
+ at oracle.security.jps.internal.policystore.JavaPolicyProvider.<init>(JavaPolicyProvider.java:270)+
+ at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)+
+ Truncated. see log file for complete stacktrace+
+Caused By: java.security.PrivilegedActionException: oracle.security.jps.JpsException: [PolicyUtil] Unable to obtain default JPS Context!+
+ at java.security.AccessController.doPrivileged(Native Method)+
+ at oracle.security.jps.internal.policystore.PolicyUtil.getDefaultPolicyStore(PolicyUtil.java:844)+
+ at oracle.security.jps.internal.policystore.PolicyDelegationController.<init>(PolicyDelegationController.java:291)+
+ at oracle.security.jps.internal.policystore.PolicyDelegationController.<init>(PolicyDelegationController.java:284)+
+ at oracle.security.jps.internal.policystore.JavaPolicyProvider.<init>(JavaPolicyProvider.java:270)+
+ Truncated. see log file for complete stacktrace+
+Caused By: oracle.security.jps.JpsException: [PolicyUtil] Unable to obtain default JPS Context!+
+ at oracle.security.jps.internal.policystore.PolicyUtil$1.run(PolicyUtil.java:860)+
+ at oracle.security.jps.internal.policystore.PolicyUtil$1.run(PolicyUtil.java:844)+
+ at java.security.AccessController.doPrivileged(Native Method)+
+ at oracle.security.jps.internal.policystore.PolicyUtil.getDefaultPolicyStore(PolicyUtil.java:844)+
+ at oracle.security.jps.internal.policystore.PolicyDelegationController.<init>(PolicyDelegationController.java:291)+
+ Truncated. see log file for complete stacktrace+
Caused By: oracle.security.jps.service.keystore.KeyStoreServiceException: JPS-06513: Failed to save farm keystore. Reason
+ at oracle.security.jps.internal.keystore.file.FileKeyStoreManager.createKeyStore(FileKeyStoreManager.java:309)+
+ at oracle.security.jps.internal.keystore.file.FileKeyStoreServiceImpl.doInit(FileKeyStoreServiceImpl.java:95)+
+ at oracle.security.jps.internal.keystore.file.FileKeyStoreServiceImpl.<init>(FileKeyStoreServiceImpl.java:73)+
+ at oracle.security.jps.internal.keystore.file.FileKeyStoreServiceImpl.<init>(FileKeyStoreServiceImpl.java:63)+
+ at oracle.security.jps.internal.keystore.KeyStoreProvider.getInstance(KeyStoreProvider.java:157)+
+ Truncated. see log file for complete stacktrace+
+>+
+<Feb 10, 2012 11:30:24 AM CET> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to FAILED.>+
+<Feb 10, 2012 11:30:24 AM CET> <Error> <WebLogicServer> <BEA-000383> <A critical service failed. The server will shut itself down.>+
+<Feb 10, 2012 11:30:24 AM CET> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to FORCE_SHUTTING_DOWN.>+
Process exited.
*/LOG*
After that, I tried setting permissions for the cwallet.sso file to ugo+rwx, but this leads to the same problems as mentioned above.
My second try was to setup an external WLS 12c, but it seems to be not yet possible to connect to a WLS 12c from within jDeveloper.
Do you have any ideas ?
Thank you in advance for your help.
Regards,
RobinAfter debugging the WLS Initialisation with jdb, I recognized that there was some trouble with dependent libraries.
In the end, I solved my problem by using another OS (Ubuntu 11.10) for development. There, the WLS works out of the box, even with 64-Bit libraries.
Thank you for your help.
Regards,
Robin -
User provisioning problem from OIM 10g to Siebel CRM
Hi Team,
I am facing User provisioning problem from OIM 10g to Siebel CRM.Please find the log details.
Running Get Attribute Mapping
Running Siebel Create User
<com.siebel.common.common.CSSException>
<Error><ErrorCode>8716601</ErrorCode> <ErrMsg>Socket had incorrect word size: 0.(SBL-JCA-00313)</ErrMsg></Error>
</com.siebel.common.common.CSSException>
at com.siebel.om.conmgr.Connection.readPacket(Connection.java:550)
at com.siebel.om.conmgr.Connection.run(Connection.java:286)
at java.lang.Thread.run(Thread.java:619)
[CMGR FATAL] Error: <com.siebel.common.common.CSSException>
<Error><ErrorCode>8716601</ErrorCode> <ErrMsg>Socket had incorrect word size: 0.(SBL-JCA-00313)</ErrMsg></Error>
</com.siebel.common.common.CSSException> connection:1
<com.siebel.common.common.CSSException>
<Error><ErrorCode>8716601</ErrorCode> <ErrMsg>Socket had incorrect word size: 0.(SBL-JCA-00313)</ErrMsg></Error>
</com.siebel.common.common.CSSException>
at com.siebel.om.conmgr.Connection.readPacket(Connection.java:550)
at com.siebel.om.conmgr.Connection.run(Connection.java:286)
at java.lang.Thread.run(Thread.java:619)
[CMGR FATAL] Error: <com.siebel.common.common.CSSException>
<Error><ErrorCode>8716601</ErrorCode> <ErrMsg>Socket had incorrect word size: 0.(SBL-JCA-00313)</ErrMsg></Error>
</com.siebel.common.common.CSSException> connection:1ERROR,22 Aug 2013 12:58:27,689,[XL_INTG.SIEBEL],====================================================
ERROR,22 Aug 2013 12:58:27,689,[XL_INTG.SIEBEL],com.thortech.xl.integration.siebel.utils.SiebelConnection : createSiebelConnection() : Siebel Connection Exception:Could not open a session in 4 attempts. {1}(SBL-JCA-00200)
ERROR,22 Aug 2013 12:58:27,689,[XL_INTG.SIEBEL],====================================================
ERROR,22 Aug 2013 12:58:27,689,[XL_INTG.SIEBEL],====================================================
ERROR,22 Aug 2013 12:58:27,689,[XL_INTG.SIEBEL],com.thortech.xl.integration.siebel.proxy.SiebelProxyEmployeeProvisionManager : createSiebelConnection() : BaseException: Siebel Connection JDB Exception: Could not open a session in 4 attempts. {1}(SBL-JCA-00200)
ERROR,22 Aug 2013 12:58:27,689,[XL_INTG.SIEBEL],====================================================
ERROR,22 Aug 2013 12:58:27,689,[XL_INTG.SIEBEL],====================================================
ERROR,22 Aug 2013 12:58:27,689,[XL_INTG.SIEBEL],com.thortech.xl.integration.siebel.provision.SiebelUtilEmployeeProvisionManager : createEmployee() : BaseException: Siebel Connection JDB Exception: Could not open a session in 4 attempts. {1}(SBL-JCA-00200)
ERROR,22 Aug 2013 12:58:27,689,[XL_INTG.SIEBEL],====================================================
Regards,
Ravi.Hi
I facing the same error message as yours, using OIM 11g R2
Are you able solve it ?
Please share
Many Thanks !!! -
Problem to debug applet, please help...
i use windows.
there are 3 files under "c:\current" directory, they are
file 1. mem_appletviewer.bat - with content:
"e:\install\java\jdk1.3.1_05\bin\appletviewer" -J-Xdebug -J-Xrunjdwp:transport=dt_shmem,address=conn001122,server=y,suspend=y test.htm
file 2. mem_jdb.bat - with content:
"e:\install\java\jdk1.3.1_05\bin\jdb" -attach conn001122
file 3. test.htm - with applet tag:
<applet
code="Let0.class"
codebase="G:\Victor\Vc5060\Develop\JCity\files\RecentFile"
width=400 height=250 ></applet>
(Let0.class is a simplest class extends Applet)
please note, codebase is not "c:\current" directory
problems happend when i debug: (run mem_appletviewer.bat first then mem_jdb.bat)
a) if move Let0.class to "c:\current" directory, debug is fine but test.htm can not load Let0.class itself because of codebase tag.
b) if move Let0.class to codebase directory (G:\Victor\Vc5060\Develop\JCity\files\RecentFile), test.htm can load the class but appletviewer can not load the class (can not find Let0.class).
===========================================================
in my application, i need to put Let0.class in codebase directory.
Question:
1) how to set -classpath for appletviewer (as debug application class in java.exe )? is it possible?
2) codebase TAG in test.htm doesn't work for appletviewer, what is problem? how to fix it?
totally:
how to debug Let0.class if it is in codebase directory (not in "c:\current")?
thxi fix it.
-
JDB crashes while lodading core dump or throws errors
I'm having here RHEL 5.1 system and some core dumps generated by our 32 bit java application. This application uses JNI and for some reason (that I'm still trying to figure out) is crashing while executing JNI calls.
I can load the core dumps inside gdb and even backtrace the native stack of the program and see the variables inside the shared library where it's crashing. But I need to take a closer look on the java stack and some of the variable values on the java side also.
I did try to use JDB to do this like it's described in the Troubleshooting guide for Java 6 but for some unknown reason when I do try to attach JDB to the core dumps I either get some error thrown on the console or JDB crashes and produces a hs_err_pit*.log file. I have used this technique already few times and didn't had any problems with JDB. I'm wondering if it could be that the core dump files are too big - some of them are around 3 Gb. But one of them is ~600Mb and also is crashing. So is ti possible bug in JDB or I'm missing something. I'm posting the error and the one of the hs_err_pid files.
Appreciate any help and ideas
$ jdb -connect sun.jvm.hotspot.jdi.SACoreAttachingConnector:javaExecutable=/usr/java/jdk/bin/java,core=core.31919
java.io.IOException
at sun.jvm.hotspot.jdi.SACoreAttachingConnector.attach(SACoreAttachingConnector.java:123)
at com.sun.tools.example.debug.tty.VMConnection.attachTarget(VMConnection.java:358)
at com.sun.tools.example.debug.tty.VMConnection.open(VMConnection.java:168)
at com.sun.tools.example.debug.tty.Env.init(Env.java:64)
at com.sun.tools.example.debug.tty.TTY.main(TTY.java:1010)
Caused by: java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at sun.jvm.hotspot.jdi.SACoreAttachingConnector.createVirtualMachine(SACoreAttachingConnector.java:80)
at sun.jvm.hotspot.jdi.SACoreAttachingConnector.attach(SACoreAttachingConnector.java:108)
... 4 more
Caused by: sun.jvm.hotspot.debugger.DebuggerException: Can't attach to the core file
at sun.jvm.hotspot.debugger.linux.LinuxDebuggerLocal.attach0(Native Method)
at sun.jvm.hotspot.debugger.linux.LinuxDebuggerLocal.attach(LinuxDebuggerLocal.java:258)
at sun.jvm.hotspot.HotSpotAgent.attachDebugger(HotSpotAgent.java:625)
at sun.jvm.hotspot.HotSpotAgent.setupDebuggerLinux(HotSpotAgent.java:611)
at sun.jvm.hotspot.HotSpotAgent.setupDebugger(HotSpotAgent.java:322)
at sun.jvm.hotspot.HotSpotAgent.go(HotSpotAgent.java:297)
at sun.jvm.hotspot.HotSpotAgent.attach(HotSpotAgent.java:157)
at sun.jvm.hotspot.jdi.VirtualMachineImpl.createVirtualMachineForCorefile(VirtualMachineImpl.java:190)
... 10 more
Fatal error:
Unable to attach to target VM.
# An unexpected error has been detected by Java Runtime Environment:
# SIGSEGV (0xb) at pc=0xafcfa6bd, pid=3653, tid=4160613264
# Java VM: Java HotSpot(TM) Server VM (1.6.0_03-b05 mixed mode)
# Problematic frame:
# C [libsaproc.so+0x36bd]
# If you would like to submit a bug report, please visit:
# http://java.sun.com/webapps/bugreport/crash.jsp
--------------- T H R E A D ---------------
Current thread (0x08058000): JavaThread "main" [_thread_in_native, id=3654]
siginfo:si_signo=11, si_errno=0, si_code=1, si_addr=0x00000151
Registers:
EAX=0xf7ffdabc, EBX=0xafcff25c, ECX=0xafd72d08, EDX=0x00000149
ESP=0xf7fdc520, EBP=0xf7fdc538, ESI=0xafd72d08, EDI=0x08058000
EIP=0xafcfa6bd, CR2=0x00000151, EFLAGS=0x00010206
Top of Stack: (sp=0xf7fdc520)
0xf7fdc520: 464c457f 00010101 000000a2 0000009c
0xf7fdc530: 0000009f afcff25c f7fdc588 afcfb01a
0xf7fdc540: afd67780 f7ffdabc 00200034 afcfaff4
0xf7fdc550: 004a004b 00000000 00200034 0028000a
0xf7fdc560: 004a004b afba13e0 00001110 afcff25c
0xf7fdc570: afb8e2e8 08058000 f7fdc5a8 afcf93b3
0xf7fdc580: 00000004 afcff25c f7fdc5a8 afcf9964
0xf7fdc590: afd67780 f7ffdabc f7fdd72c 00000004
Instructions: (pc=0xafcfa6bd)
0xafcfa6ad: 8d 14 85 00 00 00 00 8b 41 24 8b 14 10 8b 45 0c
0xafcfa6bd: 3b 42 08 72 08 8b 45 f8 89 45 f4 eb b1 8b 45 f8
Stack: [0xf7f8e000,0xf7fdf000), sp=0xf7fdc520, free space=313k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
C [libsaproc.so+0x36bd]
C [libsaproc.so+0x401a]
C [libsaproc.so+0x2964] ps_pdread+0x1c
C [libsaproc.so+0x4d3e]
C [libsaproc.so+0x4ffd] Pgrab_core+0x281
C [libsaproc.so+0x56c7] Java_sun_jvm_hotspot_debugger_linux_LinuxDebuggerLocal_attach0__Ljava_lang_String_2Ljava_lang_String_2+0x99
j sun.jvm.hotspot.debugger.linux.LinuxDebuggerLocal.attach0(Ljava/lang/String;Ljava/lang/String;)V+0
j sun.jvm.hotspot.debugger.linux.LinuxDebuggerLocal.attach(Ljava/lang/String;Ljava/lang/String;)V+29
j sun.jvm.hotspot.HotSpotAgent.attachDebugger()V+43
j sun.jvm.hotspot.HotSpotAgent.setupDebuggerLinux()V+122
j sun.jvm.hotspot.HotSpotAgent.setupDebugger()V+95
j sun.jvm.hotspot.HotSpotAgent.go()V+1
j sun.jvm.hotspot.HotSpotAgent.attach(Ljava/lang/String;Ljava/lang/String;)V+56
j sun.jvm.hotspot.jdi.VirtualMachineImpl.createVirtualMachineForCorefile(Lcom/sun/jdi/VirtualMachineManager;Ljava/lang/String;Ljava/lang/String;I)Lsun/jvm/hotspot/jdi/VirtualMachineImpl;+58
v ~StubRoutines::call_stub
V [libjvm.so+0x2c5ecd]
V [libjvm.so+0x4523b8]
V [libjvm.so+0x2c5d60]
V [libjvm.so+0x49a08f]
V [libjvm.so+0x49ca8c]
V [libjvm.so+0x331e88]
C [libjava.so+0x15224] Java_sun_reflect_NativeMethodAccessorImpl_invoke0+0x34
j sun.reflect.NativeMethodAccessorImpl.invoke0(Ljava/lang/reflect/Method;Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+0
j sun.reflect.NativeMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+87
j sun.reflect.DelegatingMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+6
j java.lang.reflect.Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+161
j sun.jvm.hotspot.jdi.SACoreAttachingConnector.createVirtualMachine(Ljava/lang/Class;Ljava/lang/String;Ljava/lang/String;)Lcom/sun/jdi/VirtualMachine;+122
j sun.jvm.hotspot.jdi.SACoreAttachingConnector.attach(Ljava/util/Map;)Lcom/sun/jdi/VirtualMachine;+90
j com.sun.tools.example.debug.tty.VMConnection.attachTarget()Lcom/sun/jdi/VirtualMachine;+13
j com.sun.tools.example.debug.tty.VMConnection.open()Lcom/sun/jdi/VirtualMachine;+33
j com.sun.tools.example.debug.tty.Env.init(Ljava/lang/String;ZI)V+28
j com.sun.tools.example.debug.tty.TTY.main([Ljava/lang/String;)V+1207
v ~StubRoutines::call_stub
V [libjvm.so+0x2c5ecd]
V [libjvm.so+0x4523b8]
V [libjvm.so+0x2c5d60]
V [libjvm.so+0x2ef186]
V [libjvm.so+0x2e082b]
C [jdb+0x1af8] JavaMain+0x2c8
C [libpthread.so.0+0x543b]
Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
j sun.jvm.hotspot.debugger.linux.LinuxDebuggerLocal.attach0(Ljava/lang/String;Ljava/lang/String;)V+0
j sun.jvm.hotspot.debugger.linux.LinuxDebuggerLocal.attach(Ljava/lang/String;Ljava/lang/String;)V+29
j sun.jvm.hotspot.HotSpotAgent.attachDebugger()V+43
j sun.jvm.hotspot.HotSpotAgent.setupDebuggerLinux()V+122
j sun.jvm.hotspot.HotSpotAgent.setupDebugger()V+95
j sun.jvm.hotspot.HotSpotAgent.go()V+1
j sun.jvm.hotspot.HotSpotAgent.attach(Ljava/lang/String;Ljava/lang/String;)V+56
j sun.jvm.hotspot.jdi.VirtualMachineImpl.createVirtualMachineForCorefile(Lcom/sun/jdi/VirtualMachineManager;Ljava/lang/String;Ljava/lang/String;I)Lsun/jvm/hotspot/jdi/VirtualMachineImpl;+58
v ~StubRoutines::call_stub
j sun.reflect.NativeMethodAccessorImpl.invoke0(Ljava/lang/reflect/Method;Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+0
j sun.reflect.NativeMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+87
j sun.reflect.DelegatingMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+6
j java.lang.reflect.Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+161
j sun.jvm.hotspot.jdi.SACoreAttachingConnector.createVirtualMachine(Ljava/lang/Class;Ljava/lang/String;Ljava/lang/String;)Lcom/sun/jdi/VirtualMachine;+122
j sun.jvm.hotspot.jdi.SACoreAttachingConnector.attach(Ljava/util/Map;)Lcom/sun/jdi/VirtualMachine;+90
j com.sun.tools.example.debug.tty.VMConnection.attachTarget()Lcom/sun/jdi/VirtualMachine;+13
j com.sun.tools.example.debug.tty.VMConnection.open()Lcom/sun/jdi/VirtualMachine;+33
j com.sun.tools.example.debug.tty.Env.init(Ljava/lang/String;ZI)V+28
j com.sun.tools.example.debug.tty.TTY.main([Ljava/lang/String;)V+1207
v ~StubRoutines::call_stub
--------------- P R O C E S S ---------------
Java Threads: ( => current thread )
0xafd08c00 JavaThread "Thread-1" daemon [_thread_blocked, id=3682]
0x0819b000 JavaThread "Low Memory Detector" daemon [_thread_blocked, id=3680]
0x08199400 JavaThread "CompilerThread1" daemon [_thread_blocked, id=3679]
0x08198000 JavaThread "CompilerThread0" daemon [_thread_blocked, id=3678]
0x08196c00 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=3677]
0x08183c00 JavaThread "Finalizer" daemon [_thread_blocked, id=3676]
0x08183400 JavaThread "Reference Handler" daemon [_thread_blocked, id=3675]
=>0x08058000 JavaThread "main" [_thread_in_native, id=3654]
Other Threads:
0x08180800 VMThread [id=3671]
0x0819c800 WatcherThread [id=3681]
VM state:not at safepoint (normal execution)
VM Mutex/Monitor currently owned by a thread: None
Heap
PSYoungGen total 9280K, used 2718K [0xedca0000, 0xee6f0000, 0xf4e60000)
eden space 8000K, 33% used [0xedca0000,0xedf47b40,0xee470000)
from space 1280K, 0% used [0xee5b0000,0xee5b0000,0xee6f0000)
to space 1280K, 0% used [0xee470000,0xee470000,0xee5b0000)
PSOldGen total 84992K, used 0K [0xb4e60000, 0xba160000, 0xedca0000)
object space 84992K, 0% used [0xb4e60000,0xb4e60000,0xba160000)
PSPermGen total 16384K, used 3088K [0xb0e60000, 0xb1e60000, 0xb4e60000)
object space 16384K, 18% used [0xb0e60000,0xb1164398,0xb1e60000)
Dynamic libraries:
00b31000-00b4a000 r-xp 00000000 fd:00 5932045 /lib/ld-2.5.so
00b4a000-00b4b000 r-xp 00019000 fd:00 5932045 /lib/ld-2.5.so
00b4b000-00b4c000 rwxp 0001a000 fd:00 5932045 /lib/ld-2.5.so
00b4e000-00c88000 r-xp 00000000 fd:00 5932057 /lib/libc-2.5.so
00c88000-00c8a000 r-xp 00139000 fd:00 5932057 /lib/libc-2.5.so
00c8a000-00c8b000 rwxp 0013b000 fd:00 5932057 /lib/libc-2.5.so
00c8b000-00c8e000 rwxp 00c8b000 00:00 0
00c90000-00ca3000 r-xp 00000000 fd:00 5932059 /lib/libpthread-2.5.so
00ca3000-00ca4000 r-xp 00012000 fd:00 5932059 /lib/libpthread-2.5.so
00ca4000-00ca5000 rwxp 00013000 fd:00 5932059 /lib/libpthread-2.5.so
00ca5000-00ca7000 rwxp 00ca5000 00:00 0
00ca9000-00cab000 r-xp 00000000 fd:00 5932058 /lib/libdl-2.5.so
00cab000-00cac000 r-xp 00001000 fd:00 5932058 /lib/libdl-2.5.so
00cac000-00cad000 rwxp 00002000 fd:00 5932058 /lib/libdl-2.5.so
00caf000-00cb6000 r-xp 00000000 fd:00 5932062 /lib/librt-2.5.so
00cb6000-00cb7000 r-xp 00006000 fd:00 5932062 /lib/librt-2.5.so
00cb7000-00cb8000 rwxp 00007000 fd:00 5932062 /lib/librt-2.5.so
00d9b000-00dc0000 r-xp 00000000 fd:00 5932060 /lib/libm-2.5.so
00dc0000-00dc1000 r-xp 00024000 fd:00 5932060 /lib/libm-2.5.so
00dc1000-00dc2000 rwxp 00025000 fd:00 5932060 /lib/libm-2.5.so
06000000-065a0000 r-xp 00000000 fd:00 16777229 /usr/java/jdk1.6.0_03/jre/lib/i386/server/libjvm.so
065a0000-065db000 rwxp 005a0000 fd:00 16777229 /usr/java/jdk1.6.0_03/jre/lib/i386/server/libjvm.so
065db000-069fc000 rwxp 065db000 00:00 0
08048000-08052000 r-xp 00000000 fd:00 16810695 /usr/java/jdk1.6.0_03/bin/jdb
08052000-08053000 rwxp 00009000 fd:00 16810695 /usr/java/jdk1.6.0_03/bin/jdb
08053000-08289000 rwxp 08053000 00:00 0 [heap]
afa00000-afa39000 rwxp afa00000 00:00 0
afa39000-afb00000 ---p afa39000 00:00 0
afb00000-afbf2000 rwxp afb00000 00:00 0
afbf2000-afc00000 ---p afbf2000 00:00 0
afcf7000-afcff000 r-xp 00000000 fd:00 16777232 /usr/java/jdk1.6.0_03/jre/lib/i386/libsaproc.so
afcff000-afd00000 rwxp 00007000 fd:00 16777232 /usr/java/jdk1.6.0_03/jre/lib/i386/libsaproc.so
afd00000-afe00000 rwxp afd00000 00:00 0
afe60000-afe63000 ---p afe60000 00:00 0
afe63000-afeb1000 rwxp afe63000 00:00 0
afeb1000-afeb6000 r-xp 00000000 fd:00 5931062 /lib/libthread_db-1.0.so
afeb6000-afeb7000 r-xp 00004000 fd:00 5931062 /lib/libthread_db-1.0.so
afeb7000-afeb8000 rwxp 00005000 fd:00 5931062 /lib/libthread_db-1.0.so
afecb000-afede000 r-xp 00000000 fd:00 16777249 /usr/java/jdk1.6.0_03/jre/lib/i386/libnet.so
afede000-afedf000 rwxp 00013000 fd:00 16777249 /usr/java/jdk1.6.0_03/jre/lib/i386/libnet.so
afedf000-afefe000 r-xs 00152000 fd:00 16810648 /usr/java/jdk1.6.0_03/lib/sa-jdi.jar
afefe000-aff5b000 r-xs 00b3c000 fd:00 16811549 /usr/java/jdk1.6.0_03/lib/tools.jar
aff5b000-aff5c000 ---p aff5b000 00:00 0
aff5c000-affdc000 rwxp aff5c000 00:00 0
affdc000-affdf000 ---p affdc000 00:00 0
affdf000-b002d000 rwxp affdf000 00:00 0
b002d000-b0030000 ---p b002d000 00:00 0
b0030000-b00ae000 rwxp b0030000 00:00 0
b00ae000-b00b1000 ---p b00ae000 00:00 0
b00b1000-b012f000 rwxp b00b1000 00:00 0
b012f000-b0132000 ---p b012f000 00:00 0
b0132000-b0180000 rwxp b0132000 00:00 0
b0180000-b0380000 r-xp 00000000 fd:00 15535906 /usr/lib/locale/locale-archive
b0380000-b0383000 ---p b0380000 00:00 0
b0383000-b03d1000 rwxp b0383000 00:00 0
b03d1000-b03d4000 ---p b03d1000 00:00 0
b03d4000-b0422000 rwxp b03d4000 00:00 0
b0422000-b0423000 ---p b0422000 00:00 0
b0423000-b04d3000 rwxp b0423000 00:00 0
b04d3000-b064f000 r-xs 02c8f000 fd:00 16777319 /usr/java/jdk1.6.0_03/jre/lib/rt.jar
b064f000-b0650000 ---p b064f000 00:00 0
b0650000-b06d0000 rwxp b0650000 00:00 0
b06d0000-b06d1000 ---p b06d0000 00:00 0
b06d1000-b0751000 rwxp b06d1000 00:00 0
b0751000-b0752000 ---p b0751000 00:00 0
b0752000-b07d2000 rwxp b0752000 00:00 0
b07d2000-b07d3000 ---p b07d2000 00:00 0
b07d3000-b0853000 rwxp b07d3000 00:00 0
b0853000-b0854000 ---p b0853000 00:00 0
b0854000-b08d4000 rwxp b0854000 00:00 0
b08d4000-b08d5000 ---p b08d4000 00:00 0
b08d5000-b0955000 rwxp b08d5000 00:00 0
b0955000-b0956000 ---p b0955000 00:00 0
b0956000-b09d6000 rwxp b0956000 00:00 0
b09d6000-b09d7000 ---p b09d6000 00:00 0
b09d7000-b0a5f000 rwxp b09d7000 00:00 0
b0a5f000-b0a77000 rwxp b0a5f000 00:00 0
b0a77000-b0aa1000 rwxp b0a77000 00:00 0
b0aa1000-b0c3f000 rwxp b0aa1000 00:00 0
b0c3f000-b0c47000 rwxp b0c3f000 00:00 0
b0c47000-b0c5f000 rwxp b0c47000 00:00 0
b0c5f000-b0c89000 rwxp b0c5f000 00:00 0
b0c89000-b0e26000 rwxp b0c89000 00:00 0
b0e26000-b0e2c000 rwxp b0e26000 00:00 0
b0e2c000-b0e5f000 rwxp b0e2c000 00:00 0
b0e5f000-b1e60000 rwxp b0e5f000 00:00 0
b1e60000-b4e60000 rwxp b1e60000 00:00 0
b4e60000-ba160000 rwxp b4e60000 00:00 0
ba160000-edca0000 rwxp ba160000 00:00 0
edca0000-ee6f0000 rwxp edca0000 00:00 0
ee6f0000-f4e60000 rwxp ee6f0000 00:00 0
f4e63000-f4e6c000 rwxp f4e63000 00:00 0
f4e6c000-f4f23000 rwxp f4e6c000 00:00 0
f4f23000-f5163000 rwxp f4f23000 00:00 0
f5163000-f7f23000 rwxp f5163000 00:00 0
f7f23000-f7f32000 r-xp 00000000 fd:00 16777245 /usr/java/jdk1.6.0_03/jre/lib/i386/libzip.so
f7f32000-f7f34000 rwxp 0000e000 fd:00 16777245 /usr/java/jdk1.6.0_03/jre/lib/i386/libzip.so
f7f34000-f7f57000 r-xp 00000000 fd:00 16777241 /usr/java/jdk1.6.0_03/jre/lib/i386/libjava.so
f7f57000-f7f59000 rwxp 00023000 fd:00 16777241 /usr/java/jdk1.6.0_03/jre/lib/i386/libjava.so
f7f59000-f7f62000 r-xp 00000000 fd:00 5931048 /lib/libnss_files-2.5.so
f7f62000-f7f63000 r-xp 00008000 fd:00 5931048 /lib/libnss_files-2.5.so
f7f63000-f7f64000 rwxp 00009000 fd:00 5931048 /lib/libnss_files-2.5.so
f7f64000-f7f77000 r-xp 00000000 fd:00 5931145 /lib/libnsl-2.5.so
f7f77000-f7f78000 r-xp 00012000 fd:00 5931145 /lib/libnsl-2.5.so
f7f78000-f7f79000 rwxp 00013000 fd:00 5931145 /lib/libnsl-2.5.so
f7f79000-f7f7b000 rwxp f7f79000 00:00 0
f7f82000-f7f8d000 r-xp 00000000 fd:00 16777240 /usr/java/jdk1.6.0_03/jre/lib/i386/libverify.so
f7f8d000-f7f8e000 rwxp 0000b000 fd:00 16777240 /usr/java/jdk1.6.0_03/jre/lib/i386/libverify.so
f7f8e000-f7f91000 ---p f7f8e000 00:00 0
f7f91000-f7fe1000 rwxp f7f91000 00:00 0
f7fe1000-f7fe8000 r-xp 00000000 fd:00 16777243 /usr/java/jdk1.6.0_03/jre/lib/i386/jli/libjli.so
f7fe8000-f7fea000 rwxp 00006000 fd:00 16777243 /usr/java/jdk1.6.0_03/jre/lib/i386/jli/libjli.so
f7fec000-f7ff4000 rwxs 00000000 fd:00 19562502 /tmp/hsperfdata_omnitrak/3653
f7ff4000-f7ffa000 r-xp 00000000 fd:00 16777227 /usr/java/jdk1.6.0_03/jre/lib/i386/native_threads/libhpi.so
f7ffa000-f7ffb000 rwxp 00006000 fd:00 16777227 /usr/java/jdk1.6.0_03/jre/lib/i386/native_threads/libhpi.so
f7ffb000-f7ffc000 rwxp f7ffb000 00:00 0
f7ffc000-f7ffd000 r-xp f7ffc000 00:00 0
f7ffd000-f7ffe000 rwxp f7ffd000 00:00 0
ff9fb000-ffa03000 rwxp ff9fb000 00:00 0 [stack]
ffffe000-fffff000 r-xp ffffe000 00:00 0
VM Arguments:
jvm_args: -Dapplication.home=/usr/java/jdk1.6.0_03
java_command: com.sun.tools.example.debug.tty.TTY -connect sun.jvm.hotspot.jdi.SACoreAttachingConnector:javaExecutable=/usr/java/jdk/bin/java,core=core.25602
Launcher Type: SUN_STANDARD
Environment Variables:
PATH=/usr/java/jdk/bin:/usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin
LD_LIBRARY_PATH=/usr/java/jdk1.6.0_03/jre/lib/i386/server:/usr/java/jdk1.6.0_03/jre/lib/i386:/usr/java/jdk1.6.0_03/jre/../lib/i386
SHELL=/bin/bash
Signal Handlers:
SIGSEGV: [libjvm.so+0x53c560], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
SIGBUS: [libjvm.so+0x53c560], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
SIGFPE: [libjvm.so+0x451a50], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
SIGPIPE: [libjvm.so+0x451a50], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
SIGILL: [libjvm.so+0x451a50], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
SIGUSR1: SIG_DFL, sa_mask[0]=0x00000000, sa_flags=0x00000000
SIGUSR2: [libjvm.so+0x453a80], sa_mask[0]=0x00000000, sa_flags=0x10000004
SIGHUP: [libjvm.so+0x4534a0], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
SIGINT: [libjvm.so+0x4534a0], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
SIGQUIT: [libjvm.so+0x4534a0], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
SIGTERM: [libjvm.so+0x4534a0], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
SIGUSR2: [libjvm.so+0x453a80], sa_mask[0]=0x00000000, sa_flags=0x10000004
--------------- S Y S T E M ---------------
OS:Red Hat Enterprise Linux Client release 5.1 (Tikanga)
uname:Linux 2.6.18-53.el5 #1 SMP Wed Oct 10 16:34:19 EDT 2007 x86_64
libc:glibc 2.5 NPTL 2.5
rlimit: STACK 10240k, CORE 0k, NPROC 53248, NOFILE 1024, AS infinity
load average:0.07 0.22 0.42
CPU:total 8 (4 cores per cpu, 1 threads per core) family 6 model 7 stepping 6, cmov, cx8, fxsr, mmx, sse, sse2, sse3, ssse3
Memory: 4k page, physical 6113940k(245496k free), swap 2097144k(2097144k free)
vm_info: Java HotSpot(TM) Server VM (1.6.0_03-b05) for linux-x86, built on Sep 24 2007 22:32:39 by "java_re" with gcc 3.2.1-7a (J2SE release)Thank you for your responds!
I'm not trying at all to transfer the core to a different system. I'm debugging on the same linux red hat box where the cores where produced and I'm using the JDB version from the same JDK that was used to run the app.
I'm wondering what makes you think that I'm possibly mixing core files?
Here is the output that JDB generates when I define LIBSAPROC_DEBUG=1. This is the case when JDB crashes:
$ jdb -connect sun.jvm.hotspot.jdi.SACoreAttachingConnector:javaExecutable=/usr/java/jdk/bin/java,core=core.23850
libsaproc DEBUG: Note header with n_type = 1 and n_descsz = 144
libsaproc DEBUG: got integer regset for lwp 24310
libsaproc DEBUG: integer regset
libsaproc DEBUG: eax = 0x0
libsaproc DEBUG: ebx = 0x5d2a
libsaproc DEBUG: ecx = 0x5ef6
libsaproc DEBUG: edx = 0x6
libsaproc DEBUG: esp = 0x324fd0e4
libsaproc DEBUG: ebp = 0x324fd0e4
libsaproc DEBUG: esi = 0x324fd19c
libsaproc DEBUG: edi = 0x78eff4
libsaproc DEBUG: eip = 0xffffe410
libsaproc DEBUG: Note header with n_type = 3 and n_descsz = 124
libsaproc DEBUG: Note header with n_type = 6 and n_descsz = 144
libsaproc DEBUG: Note header with n_type = 2 and n_descsz = 108
libsaproc DEBUG: Note header with n_type = 1189489535 and n_descsz = 512
libsaproc DEBUG: Note header with n_type = 1 and n_descsz = 144
libsaproc DEBUG: got integer regset for lwp 27070
libsaproc DEBUG: integer regset
libsaproc DEBUG: eax = 0xfffffe00
libsaproc DEBUG: ebx = 0xa
libsaproc DEBUG: ecx = 0x312edad8
libsaproc DEBUG: edx = 0x33f4d1a4
libsaproc DEBUG: esp = 0x312edac0
libsaproc DEBUG: ebp = 0x312edac0
libsaproc DEBUG: esi = 0x0
libsaproc DEBUG: edi = 0x2000
libsaproc DEBUG: eip = 0xffffe410
libsaproc DEBUG: Note header with n_type = 2 and n_descsz = 108
libsaproc DEBUG: Note header with n_type = 1189489535 and n_descsz = 512
libsaproc DEBUG: Note header with n_type = 1 and n_descsz = 144
libsaproc DEBUG: got integer regset for lwp 27063
libsaproc DEBUG: integer regset
libsaproc DEBUG: eax = 0xfffffe00
libsaproc DEBUG: ebx = 0xa
libsaproc DEBUG: ecx = 0x334fccd8
libsaproc DEBUG: edx = 0x33f4d1a4
libsaproc DEBUG: esp = 0x334fccc0
libsaproc DEBUG: ebp = 0x334fccc0
libsaproc DEBUG: esi = 0x0
libsaproc DEBUG: edi = 0x2000
libsaproc DEBUG: eip = 0xffffe410
libsaproc DEBUG: Note header with n_type = 2 and n_descsz = 108
libsaproc DEBUG: Note header with n_type = 1189489535 and n_descsz = 512
libsaproc DEBUG: Note header with n_type = 1 and n_descsz = 144
libsaproc DEBUG: got integer regset for lwp 1754
libsaproc DEBUG: integer regset
libsaproc DEBUG: eax = 0xfffffffc
libsaproc DEBUG: ebx = 0x32baab38
libsaproc DEBUG: ecx = 0x1
libsaproc DEBUG: edx = 0x6ddd00
libsaproc DEBUG: esp = 0x32baaaf0
libsaproc DEBUG: ebp = 0x32baaaf0
libsaproc DEBUG: esi = 0x1eed0
libsaproc DEBUG: edi = 0x78eff4
libsaproc DEBUG: eip = 0xffffe410
libsaproc DEBUG: Note header with n_type = 2 and n_descsz = 108
libsaproc DEBUG: Note header with n_type = 1189489535 and n_descsz = 512
libsaproc DEBUG: Note header with n_type = 1 and n_descsz = 144
libsaproc DEBUG: got integer regset for lwp 24325
libsaproc DEBUG: integer regset
libsaproc DEBUG: eax = 0xfffffffc
libsaproc DEBUG: ebx = 0x834486c
libsaproc DEBUG: ecx = 0x0
libsaproc DEBUG: edx = 0x306bf
libsaproc DEBUG: esp = 0x32bfdda8
libsaproc DEBUG: ebp = 0x32bfdda8
libsaproc DEBUG: esi = 0x0
libsaproc DEBUG: edi = 0x306bf
libsaproc DEBUG: eip = 0xffffe410
libsaproc DEBUG: Note header with n_type = 2 and n_descsz = 108
libsaproc DEBUG: Note header with n_type = 1189489535 and n_descsz = 512
libsaproc DEBUG: Note header with n_type = 1 and n_descsz = 144
libsaproc DEBUG: got integer regset for lwp 24319
libsaproc DEBUG: integer regset
libsaproc DEBUG: eax = 0xfffffffc
libsaproc DEBUG: ebx = 0x831e8cc
libsaproc DEBUG: ecx = 0x0
libsaproc DEBUG: edx = 0x2d49f7
libsaproc DEBUG: esp = 0x33259cb0
libsaproc DEBUG: ebp = 0x33259cb0
libsaproc DEBUG: esi = 0x33259cc4
libsaproc DEBUG: edi = 0x2d49f7
libsaproc DEBUG: eip = 0xffffe410
libsaproc DEBUG: Note header with n_type = 2 and n_descsz = 108
libsaproc DEBUG: Note header with n_type = 1189489535 and n_descsz = 512
libsaproc DEBUG: Note header with n_type = 1 and n_descsz = 144
libsaproc DEBUG: got integer regset for lwp 24318
libsaproc DEBUG: integer regset
libsaproc DEBUG: eax = 0xfffffffc
libsaproc DEBUG: ebx = 0x83783a4
libsaproc DEBUG: ecx = 0x0
libsaproc DEBUG: edx = 0x38dd3
libsaproc DEBUG: esp = 0x3330ab30
libsaproc DEBUG: ebp = 0x3330ab30
libsaproc DEBUG: esi = 0x3330ab44
libsaproc DEBUG: edi = 0x38dd3
libsaproc DEBUG: eip = 0xffffe410
libsaproc DEBUG: Note header with n_type = 2 and n_descsz = 108
libsaproc DEBUG: Note header with n_type = 1189489535 and n_descsz = 512
libsaproc DEBUG: Note header with n_type = 1 and n_descsz = 144
libsaproc DEBUG: got integer regset for lwp 24317
libsaproc DEBUG: integer regset
libsaproc DEBUG: eax = 0x1
libsaproc DEBUG: ebx = 0x827bb60
libsaproc DEBUG: ecx = 0x1
libsaproc DEBUG: edx = 0x1
libsaproc DEBUG: esp = 0x3335bb0c
libsaproc DEBUG: ebp = 0x3335bb0c
libsaproc DEBUG: esi = 0x3335bbb8
libsaproc DEBUG: edi = 0x827bb60
libsaproc DEBUG: eip = 0xffffe410
libsaproc DEBUG: Note header with n_type = 2 and n_descsz = 108
libsaproc DEBUG: Note header with n_type = 1189489535 and n_descsz = 512
libsaproc DEBUG: Note header with n_type = 1 and n_descsz = 144
libsaproc DEBUG: got integer regset for lwp 24316
libsaproc DEBUG: integer regset
libsaproc DEBUG: eax = 0xfffffffc
libsaproc DEBUG: ebx = 0x8082d14
libsaproc DEBUG: ecx = 0x0
libsaproc DEBUG: edx = 0x1
libsaproc DEBUG: esp = 0x33d5ca98
libsaproc DEBUG: ebp = 0x33d5ca98
libsaproc DEBUG: esi = 0x33d5caac
libsaproc DEBUG: edi = 0x1
libsaproc DEBUG: eip = 0xffffe410
libsaproc DEBUG: Note header with n_type = 2 and n_descsz = 108
libsaproc DEBUG: Note header with n_type = 1189489535 and n_descsz = 512
libsaproc DEBUG: Note header with n_type = 1 and n_descsz = 144
libsaproc DEBUG: got integer regset for lwp 24315
libsaproc DEBUG: integer regset
libsaproc DEBUG: eax = 0xfffffffc
libsaproc DEBUG: ebx = 0x8378204
libsaproc DEBUG: ecx = 0x0
libsaproc DEBUG: edx = 0x1
libsaproc DEBUG: esp = 0x334adac8
libsaproc DEBUG: ebp = 0x334adac8
libsaproc DEBUG: esi = 0x0
libsaproc DEBUG: edi = 0x1
libsaproc DEBUG: eip = 0xffffe410
libsaproc DEBUG: Note header with n_type = 2 and n_descsz = 108
libsaproc DEBUG: Note header with n_type = 1189489535 and n_descsz = 512
libsaproc DEBUG: Note header with n_type = 1 and n_descsz = 144
libsaproc DEBUG: got integer regset for lwp 24314
libsaproc DEBUG: integer regset
libsaproc DEBUG: eax = 0x19
libsaproc DEBUG: ebx = 0x33f164cc
libsaproc DEBUG: ecx = 0x9b
libsaproc DEBUG: edx = 0x39f99940
libsaproc DEBUG: esp = 0x320f9a14
libsaproc DEBUG: ebp = 0x1e
libsaproc DEBUG: esi = 0x2
libsaproc DEBUG: edi = 0x39f975a0
libsaproc DEBUG: eip = 0x33f0e054
libsaproc DEBUG: Note header with n_type = 2 and n_descsz = 108
libsaproc DEBUG: Note header with n_type = 1189489535 and n_descsz = 512
libsaproc DEBUG: Note header with n_type = 1 and n_descsz = 144
libsaproc DEBUG: got integer regset for lwp 24313
libsaproc DEBUG: integer regset
libsaproc DEBUG: eax = 0x39c534e0
libsaproc DEBUG: ebx = 0x33f164cc
libsaproc DEBUG: ecx = 0x321fabba
libsaproc DEBUG: edx = 0x6
libsaproc DEBUG: esp = 0x321faa70
libsaproc DEBUG: ebp = 0x321faa7c
libsaproc DEBUG: esi = 0x2
libsaproc DEBUG: edi = 0x39c53478
libsaproc DEBUG: eip = 0x33f1028e
libsaproc DEBUG: Note header with n_type = 2 and n_descsz = 108
libsaproc DEBUG: Note header with n_type = 1189489535 and n_descsz = 512
libsaproc DEBUG: Note header with n_type = 1 and n_descsz = 144
libsaproc DEBUG: got integer regset for lwp 24312
libsaproc DEBUG: integer regset
libsaproc DEBUG: eax = 0x29
libsaproc DEBUG: ebx = 0x39bd4780
libsaproc DEBUG: ecx = 0x1
libsaproc DEBUG: edx = 0x2400d1a2
libsaproc DEBUG: esp = 0x322fbc50
libsaproc DEBUG: ebp = 0x322fbc7c
libsaproc DEBUG: esi = 0x33f167a8
libsaproc DEBUG: edi = 0xf9000607
libsaproc DEBUG: eip = 0x33f0ef54
libsaproc DEBUG: Note header with n_type = 2 and n_descsz = 108
libsaproc DEBUG: Note header with n_type = 1189489535 and n_descsz = 512
libsaproc DEBUG: Note header with n_type = 1 and n_descsz = 144
libsaproc DEBUG: got integer regset for lwp 24311
libsaproc DEBUG: integer regset
libsaproc DEBUG: eax = 0xfffffffc
libsaproc DEBUG: ebx = 0x827ac04
libsaproc DEBUG: ecx = 0x0
libsaproc DEBUG: edx = 0x137ee7
libsaproc DEBUG: esp = 0x323fcd28
libsaproc DEBUG: ebp = 0x323fcd28
libsaproc DEBUG: esi = 0x0
libsaproc DEBUG: edi = 0x137ee7
libsaproc DEBUG: eip = 0xffffe410
libsaproc DEBUG: Note header with n_type = 2 and n_descsz = 108
libsaproc DEBUG: Note header with n_type = 1189489535 and n_descsz = 512
libsaproc DEBUG: Note header with n_type = 1 and n_descsz = 144
libsaproc DEBUG: got integer regset for lwp 24309
libsaproc DEBUG: integer regset
libsaproc DEBUG: eax = 0x6
libsaproc DEBUG: ebx = 0x3a5c0970
libsaproc DEBUG: ecx = 0x2
libsaproc DEBUG: edx = 0xb
libsaproc DEBUG: esp = 0x325febd0
libsaproc DEBUG: ebp = 0x3a5c1cdc
libsaproc DEBUG: esi = 0x6
libsaproc DEBUG: edi = 0x4
libsaproc DEBUG: eip = 0x33f0ef06
libsaproc DEBUG: Note header with n_type = 2 and n_descsz = 108
libsaproc DEBUG: Note header with n_type = 1189489535 and n_descsz = 512
libsaproc DEBUG: Note header with n_type = 1 and n_descsz = 144
libsaproc DEBUG: got integer regset for lwp 24308
libsaproc DEBUG: integer regset
libsaproc DEBUG: eax = 0x5
libsaproc DEBUG: ebx = 0x3a98cb48
libsaproc DEBUG: ecx = 0x2
libsaproc DEBUG: edx = 0x9
libsaproc DEBUG: esp = 0x32cfea50
libsaproc DEBUG: ebp = 0x3a98dde8
libsaproc DEBUG: esi = 0x5
libsaproc DEBUG: edi = 0x5
libsaproc DEBUG: eip = 0x33f0f084
libsaproc DEBUG: Note header with n_type = 2 and n_descsz = 108
libsaproc DEBUG: Note header with n_type = 1189489535 and n_descsz = 512
libsaproc DEBUG: Note header with n_type = 1 and n_descsz = 144
libsaproc DEBUG: got integer regset for lwp 24307
libsaproc DEBUG: integer regset
libsaproc DEBUG: eax = 0x8
libsaproc DEBUG: ebx = 0x3a1fd104
libsaproc DEBUG: ecx = 0x0
libsaproc DEBUG: edx = 0x6
libsaproc DEBUG: esp = 0x3345c984
libsaproc DEBUG: ebp = 0x3345c984
libsaproc DEBUG: esi = 0x29
libsaproc DEBUG: edi = 0x0
libsaproc DEBUG: eip = 0x33f0f210
libsaproc DEBUG: Note header with n_type = 2 and n_descsz = 108
libsaproc DEBUG: Note header with n_type = 1189489535 and n_descsz = 512
libsaproc DEBUG: Note header with n_type = 1 and n_descsz = 144
libsaproc DEBUG: got integer regset for lwp 24304
libsaproc DEBUG: integer regset
libsaproc DEBUG: eax = 0xfffffffc
libsaproc DEBUG: ebx = 0x82ee0ac
libsaproc DEBUG: ecx = 0x0
libsaproc DEBUG: edx = 0x1
libsaproc DEBUG: esp = 0x332aad90
libsaproc DEBUG: ebp = 0x332aad90
libsaproc DEBUG: esi = 0x332aada4
libsaproc DEBUG: edi = 0x1
libsaproc DEBUG: eip = 0xffffe410
libsaproc DEBUG: Note header with n_type = 2 and n_descsz = 108
libsaproc DEBUG: Note header with n_type = 1189489535 and n_descsz = 512
libsaproc DEBUG: Note header with n_type = 1 and n_descsz = 144
libsaproc DEBUG: got integer regset for lwp 24015
libsaproc DEBUG: integer regset
libsaproc DEBUG: eax = 0xfffffffc
libsaproc DEBUG: ebx = 0x856427c
libsaproc DEBUG: ecx = 0x0
libsaproc DEBUG: edx = 0x1
libsaproc DEBUG: esp = 0x33b5ca90
libsaproc DEBUG: ebp = 0x33b5ca90
libsaproc DEBUG: esi = 0x33b5caa4
libsaproc DEBUG: edi = 0x1
libsaproc DEBUG: eip = 0xffffe410
libsaproc DEBUG: Note header with n_type = 2 and n_descsz = 108
libsaproc DEBUG: Note header with n_type = 1189489535 and n_descsz = 512
libsaproc DEBUG: Note header with n_type = 1 and n_descsz = 144
libsaproc DEBUG: got integer regset for lwp 24014
libsaproc DEBUG: integer regset
libsaproc DEBUG: eax = 0xfffffffc
libsaproc DEBUG: ebx = 0x818b8e4
libsaproc DEBUG: ecx = 0x0
libsaproc DEBUG: edx = 0x3
libsaproc DEBUG: esp = 0x33bada98
libsaproc DEBUG: ebp = 0x33bada98
libsaproc DEBUG: esi = 0x0
libsaproc DEBUG: edi = 0x3
libsaproc DEBUG: eip = 0xffffe410
libsaproc DEBUG: Note header with n_type = 2 and n_descsz = 108
libsaproc DEBUG: Note header with n_type = 1189489535 and n_descsz = 512
libsaproc DEBUG: Note header with n_type = 1 and n_descsz = 144
libsaproc DEBUG: got integer regset for lwp 24013
libsaproc DEBUG: integer regset
libsaproc DEBUG: eax = 0xfffffe00
libsaproc DEBUG: ebx = 0x5
libsaproc DEBUG: ecx = 0x33bfedd0
libsaproc DEBUG: edx = 0x33f4d1a4
libsaproc DEBUG: esp = 0x33bfedb8
libsaproc DEBUG: ebp = 0x33bfedb8
libsaproc DEBUG: esi = 0x0
libsaproc DEBUG: edi = 0x827e400
libsaproc DEBUG: eip = 0xffffe410
libsaproc DEBUG: Note header with n_type = 2 and n_descsz = 108
libsaproc DEBUG: Note header with n_type = 1189489535 and n_descsz = 512
libsaproc DEBUG: Note header with n_type = 1 and n_descsz = 144
libsaproc DEBUG: got integer regset for lwp 24011
libsaproc DEBUG: integer regset
libsaproc DEBUG: eax = 0xfffffffc
libsaproc DEBUG: ebx = 0x828951c
libsaproc DEBUG: ecx = 0x0
libsaproc DEBUG: edx = 0x1
libsaproc DEBUG: esp = 0x33dadcd8
libsaproc DEBUG: ebp = 0x33dadcd8
libsaproc DEBUG: esi = 0x33dadcec
libsaproc DEBUG: edi = 0x1
libsaproc DEBUG: eip = 0xffffe410
libsaproc DEBUG: Note header with n_type = 2 and n_descsz = 108
libsaproc DEBUG: Note header with n_type = 1189489535 and n_descsz = 512
libsaproc DEBUG: Note header with n_type = 1 and n_descsz = 144
libsaproc DEBUG: got integer regset for lwp 24010
libsaproc DEBUG: integer regset
libsaproc DEBUG: eax = 0xfffffffc
libsaproc DEBUG: ebx = 0x849caac
libsaproc DEBUG: ecx = 0x0
libsaproc DEBUG: edx = 0x1
libsaproc DEBUG: esp = 0x33dfec68
libsaproc DEBUG: ebp = 0x33dfec68
libsaproc DEBUG: esi = 0x33dfec7c
libsaproc DEBUG: edi = 0x1
libsaproc DEBUG: eip = 0xffffe410
libsaproc DEBUG: Note header with n_type = 2 and n_descsz = 108
libsaproc DEBUG: Note header with n_type = 1189489535 and n_descsz = 512
libsaproc DEBUG: Note header with n_type = 1 and n_descsz = 144
libsaproc DEBUG: got integer regset for lwp 23868
libsaproc DEBUG: integer regset
libsaproc DEBUG: eax = 0xfffffffc
libsaproc DEBUG: ebx = 0x80c213c
libsaproc DEBUG: ecx = 0x0
libsaproc DEBUG: edx = 0x1
libsaproc DEBUG: esp = 0x34090f78
libsaproc DEBUG: ebp = 0x34090f78
libsaproc DEBUG: esi = 0x34090f8c
libsaproc DEBUG: edi = 0x1
libsaproc DEBUG: eip = 0xffffe410
libsaproc DEBUG: Note header with n_type = 2 and n_descsz = 108
libsaproc DEBUG: Note header with n_type = 1189489535 and n_descsz = 512
libsaproc DEBUG: Note header with n_type = 1 and n_descsz = 144
libsaproc DEBUG: got integer regset for lwp 23867
libsaproc DEBUG: integer regset
libsaproc DEBUG: eax = 0xfffffffc
libsaproc DEBUG: ebx = 0x819e294
libsaproc DEBUG: ecx = 0x0
libsaproc DEBUG: edx = 0x1
libsaproc DEBUG: esp = 0x340e2018
libsaproc DEBUG: ebp = 0x340e2018
libsaproc DEBUG: esi = 0x0
libsaproc DEBUG: edi = 0x1
libsaproc DEBUG: eip = 0xffffe410
libsaproc DEBUG: Note header with n_type = 2 and n_descsz = 108
libsaproc DEBUG: Note header with n_type = 1189489535 and n_descsz = 512
libsaproc DEBUG: Note header with n_type = 1 and n_descsz = 144
libsaproc DEBUG: got integer regset for lwp 23866
libsaproc DEBUG: integer regset
libsaproc DEBUG: eax = 0xfffffffc
libsaproc DEBUG: ebx = 0x8199a5c
libsaproc DEBUG: ecx = 0x0
libsaproc DEBUG: edx = 0x434
libsaproc DEBUG: esp = 0x34162e48
libsaproc DEBUG: ebp = 0x34162e48
libsaproc DEBUG: esi = 0x0
libsaproc DEBUG: edi = 0x434
libsaproc DEBUG: eip = 0xffffe410
libsaproc DEBUG: Note header with n_type = 2 and n_descsz = 108
libsaproc DEBUG: Note header with n_type = 1189489535 and n_descsz = 512
libsaproc DEBUG: Note header with n_type = 1 and n_descsz = 144
libsaproc DEBUG: got integer regset for lwp 23865
libsaproc DEBUG: integer regset
libsaproc DEBUG: eax = 0xfffffffc
libsaproc DEBUG: ebx = 0x8199a5c
libsaproc DEBUG: ecx = 0x0
libsaproc DEBUG: edx = 0x432
libsaproc DEBUG: esp = 0x341e3ec8
libsaproc DEBUG: ebp = 0x341e3ec8
libsaproc DEBUG: esi = 0x0
libsaproc DEBUG: edi = 0x432
libsaproc DEBUG: eip = 0xffffe410
libsaproc DEBUG: Note header with n_type = 2 and n_descsz = 108
libsaproc DEBUG: Note header with n_type = 1189489535 and n_descsz = 512
libsaproc DEBUG: Note header with n_type = 1 and n_descsz = 144
libsaproc DEBUG: got integer regset for lwp 23864
libsaproc DEBUG: integer regset
libsaproc DEBUG: eax = 0xfffffffc
libsaproc DEBUG: ebx = 0x65e80a0
libsaproc DEBUG: ecx = 0x0
libsaproc DEBUG: edx = 0x0
libsaproc DEBUG: esp = 0x34234fb0
libsaproc DEBUG: ebp = 0x34234fb0
libsaproc DEBUG: esi = 0x0
libsaproc DEBUG: edi = 0xffc
libsaproc DEBUG: eip = 0xffffe410
libsaproc DEBUG: Note header with n_type = 2 and n_descsz = 108
libsaproc DEBUG: Note header with n_type = 1189489535 and n_descsz = 512
libsaproc DEBUG: Note header with n_type = 1 and n_descsz = 144
libsaproc DEBUG: got integer regset for lwp 23863
libsaproc DEBUG: integer regset
libsaproc DEBUG: eax = 0xfffffffc
libsaproc DEBUG: ebx = 0x818ba8c
libsaproc DEBUG: ecx = 0x0
libsaproc DEBUG: edx = 0x289
libsaproc DEBUG: esp = 0x34485de0
libsaproc DEBUG: ebp = 0x34485de0
libsaproc DEBUG: esi = 0x0
libsaproc DEBUG: edi = 0x289
libsaproc DEBUG: eip = 0xffffe410
libsaproc DEBUG: Note header with n_type = 2 and n_descsz = 108
libsaproc DEBUG: Note header with n_type = 1189489535 and n_descsz = 512
libsaproc DEBUG: Note header with n_type = 1 and n_descsz = 144
libsaproc DEBUG: got integer regset for lwp 23862
libsaproc DEBUG: integer regset
libsaproc DEBUG: eax = 0xfffffffc
libsaproc DEBUG: ebx = 0x81887d4
libsaproc DEBUG: ecx = 0x0
libsaproc DEBUG: edx = 0x2b3
libsaproc DEBUG: esp = 0x344d6c90
libsaproc DEBUG: ebp = 0x344d6c90
libsaproc DEBUG: esi = 0x0
libsaproc DEBUG: edi = 0x2b3
libsaproc DEBUG: eip = 0xffffe410
libsaproc DEBUG: Note header with n_type = 2 and n_descsz = 108
libsaproc DEBUG: Note header with n_type = 1189489535 and n_descsz = 512
libsaproc DEBUG: Note header with n_type = 1 and n_descsz = 144
libsaproc DEBUG: got integer regset for lwp 23861
libsaproc DEBUG: integer regset
libsaproc DEBUG: eax = 0xfffffffc
libsaproc DEBUG: ebx = 0x31e0548c
libsaproc DEBUG: ecx = 0x0
libsaproc DEBUG: edx = 0x3
libsaproc DEBUG: esp = 0x345580d8
libsaproc DEBUG: ebp = 0x345580d8
libsaproc DEBUG: esi = 0x345580ec
libsaproc DEBUG: edi = 0x3
libsaproc DEBUG: eip = 0xffffe410
libsaproc DEBUG: Note header with n_type = 2 and n_descsz = 108
libsaproc DEBUG: Note header with n_type = 1189489535 and n_descsz = 512
libsaproc DEBUG: Note header with n_type = 1 and n_descsz = 144
libsaproc DEBUG: got integer regset for lwp 23860
libsaproc DEBUG: integer regset
libsaproc DEBUG: eax = 0xfffffffc
libsaproc DEBUG: ebx = 0x8096674
libsaproc DEBUG: ecx = 0x0
libsaproc DEBUG: edx = 0x161e9b
libsaproc DEBUG: esp = 0x34784f68
libsaproc DEBUG: ebp = 0x34784f68
libsaproc DEBUG: esi = 0x0
libsaproc DEBUG: edi = 0x161e9b
libsaproc DEBUG: eip = 0xffffe410
libsaproc DEBUG: Note header with n_type = 2 and n_descsz = 108
libsaproc DEBUG: Note header with n_type = 1189489535 and n_descsz = 512
libsaproc DEBUG: Note header with n_type = 1 and n_descsz = 144
libsaproc DEBUG: got integer regset for lwp 23859
libsaproc DEBUG: integer regset
libsaproc DEBUG: eax = 0xfffffffc
libsaproc DEBUG: ebx = 0x8096674
libsaproc DEBUG: ecx = 0x0
libsaproc DEBUG: edx = 0x161e9a
libsaproc DEBUG: esp = 0x34805fe8
libsaproc DEBUG: ebp = 0x34805fe8
libsaproc DEBUG: esi = 0x0
libsaproc DEBUG: edi = 0x161e9a
libsaproc DEBUG: eip = 0xffffe410
libsaproc DEBUG: Note header with n_type = 2 and n_descsz = 108
libsaproc DEBUG: Note header with n_type = 1189489535 and n_descsz = 512
libsaproc DEBUG: Note header with n_type = 1 and n_descsz = 144
libsaproc DEBUG: got integer regset for lwp 23858
libsaproc DEBUG: integer regset
libsaproc DEBUG: eax = 0xfffffffc
libsaproc DEBUG: ebx = 0x8096674
libsaproc DEBUG: ecx = 0x0
libsaproc DEBUG: edx = 0x161e9c
libsaproc DEBUG: esp = 0x34886e68
libsaproc DEBUG: ebp = 0x34886e68
libsaproc DEBUG: esi = 0x0
libsaproc DEBUG: edi = 0x161e9c
libsaproc DEBUG: eip = 0xffffe410
libsaproc DEBUG: Note header with n_type = 2 and n_descsz = 108
libsaproc DEBUG: Note header with n_type = 1189489535 and n_descsz = 512
libsaproc DEBUG: Note header with n_type = 1 and n_descsz = 144
libsaproc DEBUG: got integer regset for lwp 23857
libsaproc DEBUG: integer regset
libsaproc DEBUG: eax = 0xfffffffc
libsaproc DEBUG: ebx = 0x8096674
libsaproc DEBUG: ecx = 0x0
libsaproc DEBUG: edx = 0x161e99
libsaproc DEBUG: esp = 0x34907ee8
libsaproc DEBUG: ebp = 0x34907ee8
libsaproc DEBUG: esi = 0x0
libsaproc DEBUG: edi = 0x161e99
libsaproc DEBUG: eip = 0xffffe410
libsaproc DEBUG: Note header with n_type = 2 and n_descsz = 108
libsaproc DEBUG: Note header with n_type = 1189489535 and n_descsz = 512
libsaproc DEBUG: Note header with n_type = 1 and n_descsz = 144
libsaproc DEBUG: got integer regset for lwp 23856
libsaproc DEBUG: integer regset
libsaproc DEBUG: eax = 0xfffffffc
libsaproc DEBUG: ebx = 0x8096674
libsaproc DEBUG: ecx = 0x0
libsaproc DEBUG: edx = 0x161e98
libsaproc DEBUG: esp = 0x34989168
libsaproc DEBUG: ebp = 0x34989168
libsaproc DEBUG: esi = 0x0
libsaproc DEBUG: edi = 0x161e98
libsaproc DEBUG: eip = 0xffffe410
libsaproc DEBUG: Note header with n_type = 2 and n_descsz = 108
libsaproc DEBUG: Note header with n_type = 1189489535 and n_descsz = 512
libsaproc DEBUG: Note header with n_type = 1 and n_descsz = 144
libsaproc DEBUG: got integer regset for lwp 23855
libsaproc DEBUG: integer regset
libsaproc DEBUG: eax = 0xfffffffc
libsaproc DEBUG: ebx = 0x8096674
libsaproc DEBUG: ecx = 0x0
libsaproc DEBUG: edx = 0x161e97
libsaproc DEBUG: esp = 0x34a0a1e8
libsaproc DEBUG: ebp = 0x34a0a1e8
libsaproc DEBUG: esi = 0x0
libsaproc DEBUG: edi = 0x161e97
libsaproc DEBUG: eip = 0xffffe410
libsaproc DEBUG: Note header with n_type = 2 and n_descsz = 108
libsaproc DEBUG: Note header with n_type = 1189489535 and n_descsz = 512
libsaproc DEBUG: Note header with n_type = 1 and n_descsz = 144
libsaproc DEBUG: got integer regset for lwp 23854
libsaproc DEBUG: integer regset
libsaproc DEBUG: eax = 0xfffffffc
libsaproc DEBUG: ebx = 0x8096674
libsaproc DEBUG: ecx = 0x0
libsaproc DEBUG: edx = 0x161e96
libsaproc DEBUG: esp = 0x34a8b068
libsaproc DEBUG: ebp = 0x34a8b068
libsaproc DEBUG: esi = 0x0
libsaproc DEBUG: edi = 0x161e96
libsaproc DEBUG: eip = 0xffffe410
libsaproc DEBUG: Note header with n_type = 2 and n_descsz = 108
libsaproc DEBUG: Note header with n_type = 1189489535 and n_descsz = 512
libsaproc DEBUG: Note header with n_type = 1 and n_descsz = 144
libsaproc DEBUG: got integer regset for lwp 23853
libsaproc DEBUG: integer regset
libsaproc DEBUG: eax = 0xfffffffc
libsaproc DEBUG: ebx = 0x8096674
libsaproc DEBUG: ecx = 0x0
libsaproc DEBUG: edx = 0x161e95
libsaproc DEBUG: esp = 0x34b0c0e8
libsaproc DEBUG: ebp = 0x34b0c0e8
libsaproc DEBUG: esi = 0x0
libsaproc DEBUG: edi = 0x161e95
libsaproc DEBUG: eip = 0xffffe410
libsaproc DEBUG: Note header with n_type = 2 and n_descsz = 108
libsaproc DEBUG: Note header with n_type = 1189489535 and n_descsz = 512
libsaproc DEBUG: Note header with n_type = 1 and n_descsz = 144
libsaproc DEBUG: got integer regset for lwp 23852
libsaproc DEBUG: integer regset
libsaproc DEBUG: eax = 0xfffffffc
libsaproc DEBUG: ebx = 0x33e5e19c
libsaproc DEBUG: ecx = 0x0
libsaproc DEBUG: edx = 0x1
libsaproc DEBUG: esp = 0xf7fde228
libsaproc DEBUG: ebp = 0xf7fde228
libsaproc DEBUG: esi = 0x0
libsaproc DEBUG: edi = 0x1
libsaproc DEBUG: eip = 0xffffe410
libsaproc DEBUG: Note header with n_type = 2 and n_descsz = 108
libsaproc DEBUG: Note header with n_type = 1189489535 and n_descsz = 512
libsaproc DEBUG: Note header with n_type = 1 and n_descsz = 144
libsaproc DEBUG: got integer regset for lwp 23850
libsaproc DEBUG: integer regset
libsaproc DEBUG: eax = 0xfffffffc
libsaproc DEBUG: ebx = 0xf7fdebd8
libsaproc DEBUG: ecx = 0x0
libsaproc DEBUG: edx = 0x5d2c
libsaproc DEBUG: esp = 0xffb93630
libsaproc DEBUG: ebp = 0xffb93630
libsaproc DEBUG: esi = 0x0
libsaproc DEBUG: edi = 0x7a8ff4
libsaproc DEBUG: eip = 0xffffe410
libsaproc DEBUG: Note header with n_type = 2 and n_descsz = 108
libsaproc DEBUG: Note header with n_type = 1189489535 and n_descsz = 512
libsaproc DEBUG: ELF interpreter /lib/ld-linux.so.2
libsaproc DEBUG: address of _DYNAMIC is 0x8052548
libsaproc DEBUG: ---- sorted virtual address map ----
libsaproc DEBUG: base = 0x64f000 size = 4096
libsaproc DEBUG: base = 0x650000 size = 4096
libsaproc DEBUG: base = 0x78d000 size = 8192
libsaproc DEBUG: base = 0x78f000 size = 4096
libsaproc DEBUG: base = 0x790000 size = 12288
libsaproc DEBUG: base = 0x7a8000 size = 4096
libsaproc DEBUG: base = 0x7a9000 size = 4096
libsaproc DEBUG: base = 0x7aa000 size = 8192
libsaproc DEBUG: base = 0x7b0000 size = 4096
libsaproc DEBUG: base = 0x7b1000 size = 4096
libsaproc DEBUG: base = 0x879000 size = 4096
libsaproc DEBUG: base = 0x87a000 size = 4096
libsaproc DEBUG: base = 0x884000 size = 4096
libsaproc DEBUG: base = 0x885000 size = 4096
libsaproc DEBUG: base = 0xc37000 size = 16384
libsaproc DEBUG: base = 0xc3b000 size = 4096
libsaproc DEBUG: base = 0xc3c000 size = 24576
libsaproc DEBUG: base = 0xd38000 size = 4096
libsaproc DEBUG: base = 0x6000000 size = 5898240
libsaproc DEBUG: base = 0x65a0000 size = 241664
libsaproc DEBUG: base = 0x65db000 size = 4329472
libsaproc DEBUG: base = 0x8048000 size = 38100
libsaproc DEBUG: base = 0x8052000 size = 4096
libsaproc DEBUG: base = 0x8053000 size = 14032896
libsaproc DEBUG: base = 0x30f00000 size = 1007616
libsaproc DEBUG: base = 0x31100000 size = 1048576
libsaproc DEBUG: base = 0x312a0000 size = 12288
libsaproc DEBUG: base = 0x312a3000 size = 319488
libsaproc DEBUG: base = 0x3133a000 size = 16384
libsaproc DEBUG: base = 0x31344000 size = 753664
libsaproc DEBUG: base = 0x313fc000 size = 16384
libsaproc DEBUG: base = 0x31400000 size = 929792
libsaproc DEBUG: base = 0x31500000 size = 1028096
libsaproc DEBUG: base = 0x31600000 size = 966656
libsaproc DEBUG: base = 0x31700000 size = 1028096
libsaproc DEBUG: base = 0x31800000 size = 991232
libsaproc DEBUG: base = 0x31900000 size = 1044480
libsaproc DEBUG: base = 0x31a00000 size = 1032192
libsaproc DEBUG: base = 0x31b00000 size = 1032192
libsaproc DEBUG: base = 0x31c00000 size = 1003520
libsaproc DEBUG: base = 0x31d51000 size = 319488
libsaproc DEBUG: base = 0x31df9000 size = 28672
libsaproc DEBUG: base = 0x31e00000 size = 1048576
libsaproc DEBUG: base = 0x31f03000 size = 552960
libsaproc DEBUG: base = 0x31f8a000 size = 20480
libsaproc DEBUG: base = 0x31f90000 size = 331776
libsaproc DEBUG: base = 0x31fe1000 size = 8192
libsaproc DEBUG: base = 0x31ffa000 size = 12288
libsaproc DEBUG: base = 0x31ffd000 size = 1040384
libsaproc DEBUG: base = 0x320fb000 size = 12288
libsaproc DEBUG: base = 0x320fe000 size = 1040384
libsaproc DEBUG: base = 0x321fc000 size = 12288
libsaproc DEBUG: base = 0x321ff000 size = 1040384
libsaproc DEBUG: base = 0x322fd000 size = 12288
libsaproc DEBUG: base = 0x32300000 size = 1040384
libsaproc DEBUG: base = 0x323fe000 size = 12288
libsaproc DEBUG: base = 0x32401000 size = 1040384
libsaproc DEBUG: base = 0x324ff000 size = 12288
libsaproc DEBUG: base = 0x32502000 size = 1957888
libsaproc DEBUG: base = 0x32700000 size = 1024000
libsaproc DEBUG: base = 0x32800000 size = 2072576
libsaproc DEBUG: base = 0x32a00000 size = 1040384
libsaproc DEBUG: base -
Problem in Creating New position in Siebel CRM 7.8 using java program
Hi
We have Siebel CRM with Business Object and Business Component as Position.
Position Business Component has a manadatory pick list Division.
When we try to create a new Position by picking the Divison then we are getting the below error
Logged in OK!
picking the list
in the pick() method before
<Exception>
<Major No.>256</Major No.><Minor No.>21944</Minor No.><Message>An error has occurred picking the current row.
Please continue or ask your systems administrator to check your application configuration if the problem persists.(SBL-DAT-00292)</Message><DetailedMessage>Unknown<DetailedMessage>
<Exception>
<com.siebel.om.sisnapi.i>
<Major No.>256</Major No.><Minor No.>21944</Minor No.><Message>An error has occurred picking the current row.
<Error><ErrorCode>21944</ErrorCode> <ErrMsg>An error has occurred picking the current row.
Please continue or ask your systems administrator to check your application configuration if the problem persists.(SBL-DAT-00292)</Message><DetailedMessage>Unknown<DetailedMessage>
Please continue or ask your systems administrator to check your application configuration if the problem persists.(SBL-DAT-00292)</ErrMsg></Error>
<com.siebel.om.sisnapi.i>
<Error><ErrorCode>21735</ErrorCode> <ErrMsg>Siebel eScript runtime error occurred in procedure 'BusComp_SetFieldValue' of BusComp [Position]:
<Error><ErrorCode>21944</ErrorCode> <ErrMsg>An error has occurred picking the current row.
ConversionError 1616: Undefined and Null types cannot be converted to an object.
Please continue or ask your systems administrator to check your application configuration if the problem persists.(SBL-DAT-00292)</ErrMsg></Error>
(SBL-SCR-00141)</ErrMsg></Error>
<Error><ErrorCode>21735</ErrorCode> <ErrMsg>Siebel eScript runtime error occurred in procedure 'BusComp_SetFieldValue' of BusComp [Position]:
<Error><ErrorCode>21735</ErrorCode> <ErrMsg>Stack trace:
BusComp [Position].BusComp_SetFieldValue(), Line: 1110</ErrMsg></Error>
ConversionError 1616: Undefined and Null types cannot be converted to an object.
</com.siebel.om.sisnapi.i></Exception>
(SBL-SCR-00141)</ErrMsg></Error>
<Error><ErrorCode>21735</ErrorCode> <ErrMsg>Stack trace:
BusComp [Position].BusComp_SetFieldValue(), Line: 1110</ErrMsg></Error>
</com.siebel.om.sisnapi.i></Exception>
at com.siebel.data.SiebelBusComp.pick(SiebelBusComp.java:241)
at siebelconn.main(siebelconn.java:44)
Java program
import com.siebel.data.*;
import com.siebel.data.SiebelException;
class siebelconn {
public static void main (String args [])
SiebelDataBean m_dataBean = null;
SiebelBusObject m_busObject = null;
SiebelBusComp m_busComp = null;
SiebelBusComp picklistBC = null;
try{
m_dataBean = new SiebelDataBean(); //Create Siebel JDB instance
m_dataBean.login("XXXX", "XXX", "XXX");
System.out.println("Logged in OK!");
m_busObject = m_dataBean.getBusObject("Position");
m_busComp = m_busObject.getBusComp("Position");
m_busComp.newRecord(false);
picklistBC = m_busComp.getPicklistBusComp("Division");
picklistBC.clearToQuery();
picklistBC.setViewMode(3);
picklistBC.setSearchSpec("Name", "idmtest");
//picklistBC.executeQuery(true);
picklistBC.executeQuery2(true,true);
if(picklistBC.firstRecord())
System.out.println("picking the list");
picklistBC.pick();
System.out.println("records are there");
m_busComp.setFieldValue("Name","Access GE HQ 11");
m_busComp.writeRecord();
}//if
if(m_busObject!=null)
m_busObject.release();
if(m_busComp!=null)
m_busComp.release();
if(picklistBC!=null)
picklistBC.release();
if(m_dataBean!=null)
m_dataBean.logoff();
catch(Exception e)
System.out.println(e);e.printStackTrace();
if(m_busObject!=null)
m_busObject.release();
if(m_busComp!=null)
m_busComp.release();
if(picklistBC!=null)
picklistBC.release();
try
if(m_dataBean!=null)
m_dataBean.logoff();
}catch(Exception e1){System.out.println(e1);}
Can any body please help us.
ThanksFrom the error code, it looks like you have a scripting error in the BusComp_SetFieldValue event on the Position
business component in your application.
Have you tried to look at that code or to turn of scripting for the application as a total?
Axel -
Error thread java : problem with the function "resume 0x***" (forum sun)
One problem with the function of jdb occured when I tried to use it to
pilot the processor with differents threads. In fact, I use a simple example with 2 threads.
I stop the two threads with two breakpoint, and I want to resume one or the other (with the function "resume 0x****"), the one wich I resumed stop again on the breackpoint and I decide again to resume one or the other. All of that to obtain a tree of execution.
I give you the code of the class and the code of jdb.
CLASS: (it's just a object Room with a variable degre that I increment and decrement with two threads increase and decrease)
public class Test{
public static void main(String[] args){
Room r = new Room();
decrease de = new decrease(r);
increase in = new increase(r);
de.start();
in.start();
class Room {
private volatile int degre=20;
public void more(){
degre += 4;
public void less(){
degre -= 3;
class decrease extends Thread{
private Room room;
public decrease(Room r){
room =r;
public void run(){
try{
while (!interrupted()){
room.less();
catch(InterruptedException e) {}
class increase extends Thread{
private Room room;
public increase(Room r){
room =r;
public void run(){
try{
while (!interrupted()){
room.more();
catch(InterruptedException e) {}
JDB:
Initializing jdb ...
stop at Test:7Deferring breakpoint Test:7.
It will be set after the class is loaded.
runrun Test
Set uncaught java.lang.Throwable
Set deferred uncaught java.lang.Throwable
>
VM Started: Set deferred breakpoint Test:7
Breakpoint hit: "thread=main", Test.main(), line=7 bci=30
7 in.start();
main[1] stop at room:16
Set breakpoint room:16
main[1] stop at room:20
Set breakpoint room:20
main[1] resume
All threads resumed.
>
Breakpoint hit: "thread=Thread-0", room.less(), line=20 bci=0
20 degre -= 3;
Thread-0[1] threads
Group system:
(java.lang.ref.Reference$ReferenceHandler)0x10d Reference Handler cond. waiting
(java.lang.ref.Finalizer$FinalizerThread)0x10c Finalizer cond. waiting
(java.lang.Thread)0x10b Signal Dispatcher running
Group main:
(decrease)0x146 Thread-0 running (at breakpoint)
(increase)0x147 Thread-1 running (at breakpoint)
(java.lang.Thread)0x148 DestroyJavaVM running
Thread-0[1] resume 0x147
Thread-0[1]
Breakpoint hit: "thread=Thread-1", room.more(), line=16 bci=0
16 degre += 4;
Thread-1[1] resume 0x147
Thread-1[1]
Breakpoint hit: "thread=Thread-1", room.more(), line=16 bci=0
16 degre += 4;
Thread-1[1] print degre
degre = 24
Thread-1[1] resume 0x146 //It's here the problem, thread 0x146 have to stop on the //next breakpoint of decrease but nothing happen
Thread-1[1] resume 0x147
Thread-1[1]
Breakpoint hit: "thread=Thread-1", room.more(), line=16 bci=0
16 degre += 4;
Thread-1[1] clear
Breakpoints set:
breakpoint Test:7
breakpoint room:16
breakpoint room:20
PS: I tried many other examples with other class and other kind of breakpoints, but, in any cases, on thread doesn't manage to resume. When I try with general resume (no specification of the thread), It works but it isn't interresting for me because I want to decide wich thread continue his execution.Hi,
I have read the FAQ of the JMF.
The problem was the jar files of the JMF were not in the JRE\BIN\EXT
folder of the Java runtime!
now it works!
thanks
Reg -
Problems with setting DriverManager.getConnection as a variable
HI,
I was wondering if someone could help me out with a problem i have. I am trying to read in the url, user name and password from an external file, and then add it to con = DriverManager.getConnection(IN HERE);
I know that i can connect to the database and retrieve information by entering the connection in the following format: ("jdbc:mysql://url:3306/database","userName","password"). But i want to be able to read this line from an external file. When trying to do so i keep getting back the following error in the console window:
Exception in thread "main" java.sql.SQLException: No suitable driver found for "jdbc:mysql://url:3306/database","userName","password"
at java.sql.DriverManager.getConnection(DriverManager.java:602)
at java.sql.DriverManager.getConnection(DriverManager.java:207)
at fast.JDBC.openDB(JDBC.java:68)
at fast.JDBC.main(JDBC.java:40)
Any help with this would be appreciated!
I am using the following code:
public class JDBC { private Connection con; public static String filePath = "C:\\Users\\Documents\\Connector.txt"; public static String sql = ("SELECT * FROM users"); public String readFileAsString(String filePath) throws IOException { //Read connector from a file byte[] connectionDB = new byte[(int) new File(filePath).length()]; BufferedInputStream f = new BufferedInputStream(new FileInputStream(filePath)); f.read(connectionDB); return new String (connectionDB); }//Close readFileAsString public static void main (String[] Args) throws Exception { JDBC j = new JDBC(); j.openDB(); j.readDB(sql); //System.out.println(j.readFileAsString(filePath)); } /** * Process for creating a connection to a database * @return * @throws Exception */ public boolean openDB() throws Exception { boolean connected = false; JDBC j = new JDBC(); String connectionDB = j.readFileAsString(filePath); System.out.println(connectionDB); //Load Drive Class.forName("com.mysql.jdbc.Driver"); //Establish connection to database try { con = DriverManager.getConnection(connectionDB); } finally { connected = true; } return connected; }//close openDBThis is what I did for my OracleDb which required that I download a driver from the Oracle Site. You install the driver and then link the driver through the DriverManager object. It looks like your using a local JDB database - which I have never had to make use of. Here is my code for the OraceXE database. Hope this helps.
Public Class GenericCnn Object
private String _urlDbCnn = ""; // the JDBC url to the database
private String _username = ""; // a valid username to access the database
private String _password = ""; // a valid password to access the database
private String _dbDriver = ""; // a valid JDBC driver
private Connection _cnn = null; // this will be the active connection
private String _sqlStatement = null; // this will be the statement to execute against the database
public DbConnection(){
this("oracle.jdbc.OracleDriver",
"jdbc:oracle:thin:@//192.168.15.200:1521/xe",
"usernamehere,
"passwordhere");
} // constructor - nothing
public DbConnection(String nwDbDriver, String nwDbURL,
String nwDbUsername, String nwDbPassword){
this.setDbDriver(nwDbDriver);
this.setUrlDbCnn(nwDbURL);
this.setUsername(nwDbUsername);
this.setPassword(nwDbPassword);
} // constructor - DbDriver, DbUrl, DbUser, DbPassword
private void initializeConnection(){
// try - get database driver
try{
DriverManager.registerDriver (new oracle.jdbc.OracleDriver());
// try - initialize the database connection
try{
this._cnn = DriverManager.getConnection(this._urlDbCnn,
this._username,
this._password);
}catch(SQLException e){
ErrorTrap trap = new ErrorTrap(ErrorTrapMessage.DataConnectionNotIntitialized, e);
} // catch - try and initialize the database connection
}catch(SQLException e){
ErrorTrap trap = new ErrorTrap(ErrorTrapMessage.DataConnectionDriverFailedToLoad, e);
} // catch - try and get database driver
} // method - OpenConnection
.. executeTransaction -> calls initializeConnection
.. executeQuery - > calls initialzieConnection
.. properties
Edited by: Monkey247 on Jan 26, 2010 10:27 AM -
Failure when connecting MS SQL SERVER from ODI ! could not load JDBS driver
i have some trouble with connecting MS SQL SERVER from ODI.
I have already downland jdbs driver 3.0 (and 2.0 ) and copy the sqljdbc4.jar to D:\oracle\product\11.1.1\Oracle_ODI_1\oracledi\agent\drivers( where the oracle jdbs driver is already exitst )....but i have this error :
could not load JDBS driver class..
thanksAfter more investigation and even more chocolate, we've identified the problem and it's now working. For anyone else who strikes this problem in future, here's something to check/consider/try:
Even though Squirrel SQL Client was connecting and working ok using the MS JDBC driver (v 3.0), it recorded this in its logs:
Cannot resolve the collation conflict between "SQL_Latin1_General_CP1_CI_AS" and "Latin1_General_CI_AS" in the INTERSECT operation.
We've found that the open source jTDS driver does not have the same issue as the Microsoft one.
We've installed the current jTDS driver, recorded the driver name (net.sourceforge.jtds.jdbc.Driver) and the JDBC URL (jdbc:jtds:sqlserver://<hostname>:1433/<database>) and the connection is now working fine.
Hope this helps other people...
Thanks to those of you who offered suggestions and things to check...much appreciated.
Robyn -
First time, using jdb :(
Hi,
I have little problem uderstanding the messages of the jdb.
I compiled my class with the "-g" option and than I set with jdb a Breakepoint.
If I run now in jdb my program I get this message:
run Prog
>
VM Started:
Exception occurred: java.lang.ClassNotFoundException (uncaught) thread="main", java.net.URLClassLoader$1.r
un(), line=-1, bci=72
main[1] next
main[1]
Exception occurred: java.lang.ClassNotFoundException (uncaught) thread="main", java.net.URLClassLoader.fin
dClass(), line=-1, bci=28
main[1] next
main[1] Exception in thread "main" java.lang.NoClassDefFoundError: Prog
The application exited
But I have a catch-block in the main!?
Or what is wrong?The exception you reported is signalled by the JVM, which seems to be unable to run your program's main class.
I usually debug my programs by executing the command "jdb <main class>" (I don't know whether this could make the difference or not, though).
Do you run jdb in the directory holding the main class?
And if so, does the compiled class file really exist?
Bye -
How to use jdb for debugging a servlet?
I'm using Apache/JServ with jdk 1.4 (via Textpad on win2K SP 3).
The 'gospel' I'm trying to follow is:
'Start the server manually and record the password for remote debugging
(this is displayed on the console).'
'Start the Java debugger:'
'jdb -host your_host -password the_password'
'You should be able to debug your Java classes now using the jdb
command.'
My problem is that I can't find the password from Apache.
I normally start/restart apache as a windows Service.
If I start it from DOS I get:
'C:\orant9i\Apache\Apache>apache -k start'
'Oracle HTTP Server Powered by Apache/1.3.12 (Win32) ApacheJServ/1.1
mod_ssl/2.6.4 OpenSSL/0.9.5a mod_perl/1.24 running...'
I've searched the log, conf & property files but can't find any password.
I've also searched the Apache website for 'jdb' without luck.
I've printed out (and read!) the 'Using Apache with MS Windows' manual.
I did a Google:
--Someone suggested starting Apache using using the -X flag, but I don't
seem to have this option.
--Someone else suggested changing jvm12.conf, but I don't have one.
I have tried the following, just-in-case I don't really need a password,
but it doesn't tell me a lot, and I would appreciate some help:
JDB -sourcepath E:\javaPackages org.apache.jserv.JServServletManager
C:\orant9i\Apache\Apache>JDB org.apache.jserv.JServServletManager
Initializing jdb ...
> run
run org.apache.jserv.JServServletManager
Set uncaught java.lang.Throwable
Set deferred uncaught java.lang.Throwable
>
VM Started:
Exception occurred: java.lang.ClassNotFoundException (uncaught)"thread=main", java.net.URLClassLoader$1.run(), line=199 bci=72
main[1] list
Source file not found: URLClassLoader.java
main[1]
Thanks,
Peter.
Posted to alt.apache.configuration, comp.lang.java, http://groups.yahoo.com/group/win-apache and
comp.infosystems.www.servers.misc with no responseHello
You wrote:
I added the following to jserv.properties:
wrapper.bin.parameters=-Xdebug
wrapper.bin.parameters=-Xrunjdwp:transport=dt_socket,address=2930,suspend=n,server=y
and it ran the servlet okay.Fine so far. This means your debugee VM is started and running. The "suspend=n" means it
will start running without waiting for a debugger to attach... so you can attach later whenever you
decide to debug. Note that 'later' could be weeks later, or possibly never.
Now: Time to attach jdb to the victim/debugee process you started above.
You wrote:
But I get the following when I try to start jdb:
jdb -connect com.sun.jdi.SocketAttach:hostname=localhost,port=2930 org.apache.jserv.JServServletManager
gives:
Cannot specify command line with connector:
com.sun.jdi.SocketAttach:hostname=localhost,port=2930,
and
jdb -attach localhost:2930 org.apache.jserv.JServServletManager
gives:
Cannot specify command line with connector: com.sun.jdi.SharedMemoryAttach:name=localhost:2930,The problem here is that you are trying to supply too much information to jdb.
When you are using the attach connectors, all you need to supply is the
host name and socket (for the socket connectors), or the name of the shared memory
area (for the shared memory connector). The connectors you tried above are throwing
an error because you are trying to supply something extra (the class name).
When doing an attach, the debugee VM is already launched. The debugger will
attach to it and inspect the classes loaded.
If you are still running with the wrapper.bin.parameters you listed above,
then all you need to connect with jdb is:
jdb -connect com.sun.jdi.SocketAttach:hostname=localhost,port=2930 You should get a jdb prompt, and you will be able to inspect the debugee
VM by entering commands such as threads and classes. Typically
the next thing would be to set some breakpoints (stop in package.class.method,
or stop at package.class:line. Then restart the debugee with a resume. -
Facing problem for inserting the RFC return response in JDBC
Hi
Can any one share views for resulting my problem,
This is my scenrio(JDBC>RFC>JDBC) logic follows like this:
Design:
1. MT--X(request from JDBC(A))
2. MT--Y(Response to JDBC(A))
3. Defined Outbound Sync MI(Z) and given request as 'X' and response as 'Y'
4. Imported BAPI--B
5. Done MM between X and B-->request mapping(Zmap1)
6. Done MM between B.Response and Y--->response mapping(Zmap2)
7. Defined the IM between Z and B
a. Zmap1 given as request
3. Zmap2 given as response
And according to that i have confgured CCs,SA,RA,RD,ID.
It seems to be working fine..request map posting data properly in BAPI and also getting response as payload only, but it is not updating in JDBC column, which i mapped as response!it seems to be everry thing is ok..but i dint understand why it is not updating the return response in JDBC side?
Note: Here i'm not using BPM, without BPM i made synchronous.
In SxMB_MONI ..i'm getting response as E or S based on rfc return structure.
Regards
RambarkiHi,
I think there is a mistake in your messaage type to insert into JDBC. The format should be,
<MT>
<statement>
<test action="insert">
<table> </table>
</test>
<access>
<row1> </row1>
<row2> </row2>
</access>
</statement>
</MT>
Your action is an attribute of <test>.
Likewise in your case, you Message should be something like,
<root>
<statement>
<Invoice action="insert">
<table> nameoftable <table>
<access>
<f1> </f1>
<f2> </f2>
</access>
</statement>
</root>
Check out these links on the various options avaiable for the JDBC adapetr and how the action attribute can be used,
http://help.sap.com/saphelp_nw04/helpdata/en/2e/96fd3f2d14e869e10000000a155106/content.htm
Also, check this simple file to jdbc blog for your reference on JDBS adapter,
/people/sap.user72/blog/2005/06/01/file-to-jdbc-adapter-using-sap-xi-30
Hope this clarifies and solves a part of your problem,
Regards,
Bhavesh
Maybe you are looking for
-
I've tried looking up the answer online but I cannot find the one specific to this code. No idea what it means or how to fix it, or even if it posses a major issue. But I have been having issues with my internet browsers. when I open them as soon as
-
Install windows 7 with BootCamp
Hi, When I got to the part of the installation which ask the size of the partition you want to windows7 have; I press install and I got a message that asks for a windows 8 disc. I have a MacBook Pro that I bought that only have 15 days. Any clues? Th
-
Why are my exported files not going to me email? I have used 3 different ones.
Why are my exported files not going to my email (receipts & business card)? I have used 3 different ones...2 yahoo and 1 hotmail. I have checked spam box also.
-
Hi, We need to schedule refresh of XCelsius document that generates swf file and send it to users by e-mail attachment or submit on shared folder. The output swf file should embed all data (no more refresh required when user opens). Our config is XIR
-
Flash video contains vertical lines when published
Hi, apologies if posted before, search didn't show much and google seems a little thin on the grounds. my problem arises from a CS3 .fla containing a default flvplayback object to an .f4v. This is connected to an h264 encoded video (.f4v). When I pre