Issues while configuring java application using JDO with MS JDBC Driver 1.0

We are in the process of configuring our java application with the production version of SQL Server 2005 Java Database Connectivity (JDBC) Driver 1.0. We are facing issues getting it to work with Sun App Server using JDO concept.
After creating the data store, adding the JDBC driver to the application server classpath through console and also copying the driver into the lib directory, we are still getting the below error.
Following is the stack trace encountered while running the application
[#|2006-02-15T10:21:25.493+0530|WARNING|sun-appserver-pe8.1_02|javax.enterprise.system.container.ejb.entity.finder|_ThreadID=30;|JDO74010: Bean 'InventoryEJB' method ejbFindAllInventoryItems: problems running JDOQL query.
com.sun.jdo.api.persistence.support.JDOFatalInternalException: JDO76519: Failed to identify vendor type for the data store.
NestedException: java.sql.SQLException: Error in allocating a connection. Cause: javax.transaction.SystemException
     at com.sun.jdo.spi.persistence.support.sqlstore.impl.SQLPersistenceManagerFactory.initializeSQLStoreManager(SQLPersistenceManagerFactory.java:870)
     at com.sun.jdo.spi.persistence.support.sqlstore.impl.SQLPersistenceManagerFactory.getFromPool(SQLPersistenceManagerFactory.java:786)
     at com.sun.jdo.spi.persistence.support.sqlstore.impl.SQLPersistenceManagerFactory.getPersistenceManager(SQLPersistenceManagerFactory.java:673)
     at com.sun.jdo.spi.persistence.support.sqlstore.impl.PersistenceManagerFactoryImpl.getPersistenceManager(PersistenceManagerFactoryImpl.java:849)
     at com.sun.jdo.spi.persistence.support.sqlstore.impl.PersistenceManagerFactoryImpl.getPersistenceManager(PersistenceManagerFactoryImpl.java:681)
     at com.sun.j2ee.blueprints.supplier.inventory.ejb.InventoryEJB1142755294_ConcreteImpl.jdoGetPersistenceManager(InventoryEJB1142755294_ConcreteImpl.java:530)
     at com.sun.j2ee.blueprints.supplier.inventory.ejb.InventoryEJB1142755294_ConcreteImpl.ejbFindAllInventoryItems(InventoryEJB1142755294_ConcreteImpl.java:146)
     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
     at java.lang.reflect.Method.invoke(Method.java:585)
     at com.sun.enterprise.security.SecurityUtil.invoke(SecurityUtil.java:147)
     at com.sun.ejb.containers.EJBLocalHomeInvocationHandler.invoke(EJBLocalHomeInvocationHandler.java:185)
     at $Proxy164.findAllInventoryItems(Unknown Source)
     at com.sun.j2ee.blueprints.supplier.inventory.web.DisplayInventoryBean.getInventory(Unknown Source)
     at org.apache.jsp.displayinventory_jsp._jspService(displayinventory_jsp.java:119)
     at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:105)
     at javax.servlet.http.HttpServlet.service(HttpServlet.java:860)
     at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:336)
     at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:301)
     at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:251)
     at javax.servlet.http.HttpServlet.service(HttpServlet.java:860)
     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
     at java.lang.reflect.Method.invoke(Method.java:585)
     at org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:249)
     at java.security.AccessController.doPrivileged(Native Method)
     at javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
     at org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:282)
     at org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:165)
     at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:257)
     at org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFilterChain.java:55)
     at org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:161)
     at java.security.AccessController.doPrivileged(Native Method)
     at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
     at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:723)
     at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:482)
     at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:417)
     at org.apache.catalina.core.ApplicationDispatcher.access$000(ApplicationDispatcher.java:80)
     at org.apache.catalina.core.ApplicationDispatcher$PrivilegedForward.run(ApplicationDispatcher.java:95)
     at java.security.AccessController.doPrivileged(Native Method)
     at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:313)
     at com.sun.j2ee.blueprints.supplier.inventory.web.RcvrRequestProcessor.doPost(Unknown Source)
     at javax.servlet.http.HttpServlet.service(HttpServlet.java:767)
     at javax.servlet.http.HttpServlet.service(HttpServlet.java:860)
     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
     at java.lang.reflect.Method.invoke(Method.java:585)
     at org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:249)
     at java.security.AccessController.doPrivileged(Native Method)
     at javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
     at org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:282)
     at org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:165)
     at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:257)
     at org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFilterChain.java:55)
     at org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:161)
     at java.security.AccessController.doPrivileged(Native Method)
     at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
     at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:263)
     at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:551)
     at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:225)
     at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:173)
     at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:551)
     at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:161)
     at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:551)
     at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:132)
     at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:551)
     at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:933)
     at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:185)
     at com.sun.enterprise.web.connector.grizzly.ProcessorTask.process(ProcessorTask.java:653)
     at com.sun.enterprise.web.connector.grizzly.ProcessorTask.process(ProcessorTask.java:534)
     at com.sun.enterprise.web.connector.grizzly.ProcessorTask.doTask(ProcessorTask.java:403)
     at com.sun.enterprise.web.connector.grizzly.WorkerThread.run(WorkerThread.java:55)
Can anyone help me on this issue?
Regards,
Bindu

I have already tried this before and this not work too, but strange that even if I use JDBC:ODBC bridge driver, the return value for output parameters are not correct, that is, only return the value that I input but not the value after executed in the procedure....
The code that I used with JDBC:ODBC bridge is as follow:
public static void main(String[] args) {
String url = "jdbc:odbc:;DRIVER=SQL Server;Persist Security Info=False;database=db;Server=sql;uid=sa;pwd=pwd";
          Connection con;
          ResultSet rs = null;
CallableStatement callS = null;
          try {
               Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
          } catch(java.lang.ClassNotFoundException e) {
               System.err.print("ClassNotFoundException: ");
               System.err.println(e.getMessage());
          try {
               con=DriverManager.getConnection(url);
callS = con.prepareCall("{ call dbo.CpJavaTest (?)}");
callS.registerOutParameter(1, Types.INTEGER);
callS.execute();
rs=callS.getResultSet();
int ret = callS.getInt(1);
System.out.println("return value : " + ret);
               while (rs.next()) {
                    String f1 = rs.getString(4);
                    String f2 = rs.getString(5);
                    System.out.println(f1 + " " + f2);
          } catch(SQLException ex) {
               System.out.println("SQLException: " + ex.getMessage());
The value of the output parameter is same as what I inputed! Hope any one can teach me how to correct it...
Thank you very much!

Similar Messages

  • Using CachedRowSet with sybase JDBC driver

    Hello,
    Does anyone know if there is any way to use CachedRowSet with sybase JDBC
    driver?
    I knew there was posting regarding this in the year 2000. And now it 2003. Thanks!
    Peter

    Peter Wu wrote:
    Hello,
    Does anyone know if there is any way to use CachedRowSet with sybase JDBC
    driver?
    I knew there was posting regarding this in the year 2000. And now it 2003. Thanks!
    PeterYes there is, but it involves some driver-specific properties, and I know this from
    a discussion I read on their jdbc support newsgroup. That would be the best place
    for an answer about their driver. Try news://forums.sybase.com, in the sybase.public.jconnect50
    group.
    Joe

  • Error while running Java application using Crystal Reports 2011

    Hello,
    I would like to ask for your help.
    Environment details:
    Java based standalone application in Development environment.
    Crystal Reports 2011 (no SP applied)
    Oracle 11g ( 32 bit client installed)
    Win7 64 bit OS.
    Workflow:
    While running the java application, which will display the reports I am getting the below mentioned error. I guess that is because I am missing the Crystal runtimes (Correct me if I am wrong).
    I know that CR2011 do not have any sdks/ jar available for deployment. In this case, which runtimes should I be using? Does installing CR2011 be enough in the development box?
    Please provide me the link from which I can download the same.
    Let me know if I need to provide more details on this. Any suggestions are most welcome.
    Thank You.
    Code used:
    reportClientDoc = new ReportClientDocument();
    System.err.println("Opening the Report ");
    reportClientDoc.open(REPORT_PATH, 0);
    // this is where the error or exception is thrown
    _Error: _
    log4j:WARN No appenders could be found for logger (com.crystaldecisions.reports.reportdefinition.ReportDocument).
    log4j:WARN Please initialize the log4j system properly.
    com.crystaldecisions.sdkreport.lib.ReportSDKException: com/businessobjects/reports/jdbinterface/common/DBException---- Error code:-2147467259 Error code name:failed
                    at com.businessobjects.reports.sdk.JRCCommunicationAdapter.<init>(SourceFile:286)
                    at com.businessobjects.sdk.erom.jrc.a.<init>(SourceFile:43)
                    at com.businessobjects.sdk.erom.jrc.ReportAgentFactory.createAgent(SourceFile:46)
                    at com.crystaldecisions.proxy.remoteagent.RemoteAgent.<init>(SourceFile:703)
                    at com.crystaldecisions.proxy.remoteagent.RemoteAgent.a(SourceFile:662)
                    at com.crystaldecisions.proxy.remoteagent.RemoteAgent.a(SourceFile:632)
                    at com.crystaldecisions.sdk.report.application.ClientDocument.if(SourceFile:504)
                    at com.crystaldecisions.sdk.report.application.ClientDocument.open(SourceFile:669)
                    at com.crystaldecisions.reports.sdk.ReportClientDocument.open(Unknown Source)
                    at rp.batch.bo.RpJRCExportReport.runReportExport(RpJRCExportReport.java:517)
                    at rp.batch.bo.RpSchedReportRun.process(RpSchedReportRun.java:163)
                    at rp.batch.bo.RpSchedReportRun.drive(RpSchedReportRun.java:240)
                    at rp.batch.bo.RpSchedReportRun.main(RpSchedReportRun.java:265)
    Caused by: java.lang.NoClassDefFoundError: com/businessobjects/reports/jdbinterface/common/DBException
                    at com.crystaldecisions.reports.queryengine.Session.a2(SourceFile:244)
                    at com.crystaldecisions.reports.datafoundation.DataFoundation.do(SourceFile:376)
                    at com.crystaldecisions.reports.dataengine.dfadapter.DFAdapter.do(SourceFile:111)
                    at com.crystaldecisions.reports.dataengine.datafoundation.CreateDataConnectionCommand.new(SourceFile:81)
                    at com.crystaldecisions.reports.common.CommandManager.a(SourceFile:71)
                    at com.crystaldecisions.reports.common.Document.a(SourceFile:203)
                    at com.businessobjects.reports.reportconverter.v12.e.a(SourceFile:442)
                    at com.businessobjects.reports.reportconverter.v12.e.a(SourceFile:231)
                    at com.businessobjects.reports.reportconverter.v12.d.m(SourceFile:192)
                    at com.businessobjects.reports.reportconverter.v12.f.if(SourceFile:210)
                    at com.businessobjects.reports.reportconverter.v12.V12SaveLoader.a(SourceFile:242)
                    at com.businessobjects.reports.loader.ReportLoader.a(SourceFile:205)
                    at com.businessobjects.reports.sdk.JRCReportLoader.a(SourceFile:137)
                    at com.businessobjects.reports.sdk.JRCReportLoader.a(SourceFile:76)
                    at com.businessobjects.reports.sdk.requesthandler.ReportDocumentRequestHandler.a(SourceFile:136)
                    at com.businessobjects.reports.sdk.JRCCommunicationAdapter.<init>(SourceFile:229)
                    ... 12 more
    Caused by: java.lang.ClassNotFoundException: com.businessobjects.reports.jdbinterface.common.DBException
                    at java.net.URLClassLoader1.run(URLClassLoader.java:200)
                    at java.security.AccessController.doPrivileged(Native Method)
                    at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
                    at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
                    at sun.misc.LauncherAppClassLoader.loadClass(Launcher.java:301)
                    at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
                    at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
                    ... 28 more

    Help me ...
    Ambient:
    Crystal Reports Viewer 14.0.0.0
    java.vendor = Sun Microsystems Inc.
    java.version = 1.6.0_37
    os.name = Windows NT (unknown)
    os.version = 6.2
    os.arch = amd64
    Exception:
    com.crystaldecisions.sdk.occa.report.lib.ReportSDKException: com.businessobjects.sdk.erom.jrc.ReportAgentFactory---- Error code:-2147215357 [CRSDK00000026] Error code name:internal
              at com.crystaldecisions.sdk.occa.report.lib.ReportSDKException.throwReportSDKException(ReportSDKException.java:112)
              at com.crystaldecisions.proxy.remoteagent.RemoteAgent.createDefaultAgent(RemoteAgent.java:1000)
              at com.crystaldecisions.sdk.occa.report.application.ClientDocument.initRemoteAgent(ClientDocument.java:770)
              at com.crystaldecisions.sdk.occa.report.application.ClientDocument.open(ClientDocument.java:961)
              at com.crystaldecisions.sdk.occa.report.application.ReportClientDocument.open(ReportClientDocument.java:226)
              at src.HelloWorldSwing.createAndShowGUI(HelloWorldSwing.java:54)
              at src.HelloWorldSwing.main(HelloWorldSwing.java:24)
    Source:
    import java.awt.BorderLayout;
    import javax.swing.JFrame;
    import com.crystaldecisions.ReportViewer.ReportViewerBean;
    import com.crystaldecisions.sdk.occa.report.application.DatabaseController;
    import com.crystaldecisions.sdk.occa.report.application.OpenReportOptions;
    import com.crystaldecisions.sdk.occa.report.application.ReportClientDocument;
    import com.crystaldecisions.sdk.occa.report.data.IConnectionInfo;
    import com.crystaldecisions.sdk.occa.report.reportsource.IReportSource;
    public class HelloWorldSwing {
               * @param args
              public static void main(String[] args) {
                        HelloWorldSwing pgm = new HelloWorldSwing();
                        try {
                                  pgm.createAndShowGUI();
                        } catch (Exception e) {
                                  e.printStackTrace();
                                  //JOptionPane.showMessageDialog(null, e.toString());
               * @throws Exception
              public void createAndShowGUI() throws Exception {
                        // Make sure we have nice window decorations.
                        JFrame.setDefaultLookAndFeelDecorated(false);
                        // Create and set up the window.
                        JFrame frame = new JFrame("HelloWorldSwing");
                        frame.setTitle("Titolo del Report");
                        frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
                        ReportViewerBean viewer = new ReportViewerBean();
                        viewer.init(new String[0], null, null, null);
                        ReportClientDocument rpt = new ReportClientDocument();
                        rpt.setReportAppServer(ReportClientDocument.inprocConnectionString); // inproc:jrc
                        rpt.open("Report.rpt", OpenReportOptions._openAsReadOnly);
                        IReportSource rptSource = rpt.getReportSource();
                        viewer.setReportSource(rptSource);
                        frame.getContentPane().add(viewer, BorderLayout.CENTER);
                        frame.setSize(1930, 1030);
                        frame.setVisible(true);
                        viewer.start();

  • Using PVCs with the ATM driver

    I am using using Solaris 8 with SunATM 5.0 installed.
    I've written a program that uses atm_open and atm_add_vpci
    When i run this program as a normal user the atm_add_vpci call returns with the error ENOTOWNER
    When i run this program as root everything works fine.
    I want to run this program as a normal user.
    Can anyone tell me how I can do this?
    (the program is does the same as the program 'raw -I 500' from the /opt/SUNWconn/atm/examples directory

    Peter Wu wrote:
    Hello,
    Does anyone know if there is any way to use CachedRowSet with sybase JDBC
    driver?
    I knew there was posting regarding this in the year 2000. And now it 2003. Thanks!
    PeterYes there is, but it involves some driver-specific properties, and I know this from
    a discussion I read on their jdbc support newsgroup. That would be the best place
    for an answer about their driver. Try news://forums.sybase.com, in the sybase.public.jconnect50
    group.
    Joe

  • CachedRowSet with sybase JDBC driver

    In previous postings you mentioned the solution to using CachedRowSets with Sybase
    JDBC involves setting certain properties. My question is WHERE and WHEN do you
    set these properties?

    Peter Wu wrote:
    Hello,
    Does anyone know if there is any way to use CachedRowSet with sybase JDBC
    driver?
    I knew there was posting regarding this in the year 2000. And now it 2003. Thanks!
    PeterYes there is, but it involves some driver-specific properties, and I know this from
    a discussion I read on their jdbc support newsgroup. That would be the best place
    for an answer about their driver. Try news://forums.sybase.com, in the sybase.public.jconnect50
    group.
    Joe

  • JVM Error while running java application through Java Webstart

    Hi All,
    While running java application through Webstart, we got the following error log and application is not running. I am not sure why this is happened? Can anyone help me out to resolve this problem?
    Help Regarding this will be highly appreciated.
    Thanks In advance.
    Bala
    Error in Log File:
    # An unexpected error has been detected by HotSpot Virtual Machine:
    # Internal Error (53545542324F5554494E45530E435050008C), pid=684, tid=9424
    # Java VM: Java HotSpot(TM) Client VM (1.5.0_11-b03 mixed mode)
    --------------- T H R E A D ---------------
    Current thread (0x00345a60): JavaThread [_thread_in_vm, id=9424]
    Stack: [0x00030000,0x00070000), sp=0x0006f9a4, free space=254k
    Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
    V [jvm.dll+0x12430d]
    V [jvm.dll+0x6366e]
    V [jvm.dll+0x636a3]
    V [jvm.dll+0x10073c]
    V [jvm.dll+0x7859b]
    V [jvm.dll+0x919fc]
    C [javaw.exe+0x2120]
    C [javaw.exe+0x11bb]
    C [javaw.exe+0x3151]
    C [kernel32.dll+0x123e5]
    --------------- P R O C E S S ---------------
    Java Threads: ( => current thread )
    Other Threads:
    VM state:not at safepoint (normal execution)
    VM Mutex/Monitor currently owned by a thread: None
    Heap
    def new generation total 2304K, used 42K [0x02a60000, 0x02cd0000, 0x051c0000)
    eden space 2112K, 2% used [0x02a60000, 0x02a6a908, 0x02c70000)
    from space 192K, 0% used [0x02c70000, 0x02c70000, 0x02ca0000)
    to space 192K, 0% used [0x02ca0000, 0x02ca0000, 0x02cd0000)
    tenured generation total 30272K, used 0K [0x051c0000, 0x06f50000, 0x22a60000)
    the space 30272K, 0% used [0x051c0000, 0x051c0000, 0x051c0200, 0x06f50000)
    compacting perm gen total 8192K, used 409K [0x22a60000, 0x23260000, 0x26a60000)
    the space 8192K, 4% used [0x22a60000, 0x22ac64d0, 0x22ac6600, 0x23260000)
    No shared spaces configured.
    Dynamic libraries:
    0x00400000 - 0x0040d000 C:\Program Files\Java\jre1.5.0_11\bin\javaw.exe
    0x7c800000 - 0x7c8c0000 C:\WINDOWS\system32\ntdll.dll
    0x77e40000 - 0x77f42000 C:\WINDOWS\system32\kernel32.dll
    0x77f50000 - 0x77fec000 C:\WINDOWS\system32\ADVAPI32.dll
    0x77c50000 - 0x77cef000 C:\WINDOWS\system32\RPCRT4.dll
    0x77380000 - 0x77412000 C:\WINDOWS\system32\USER32.dll
    0x77c00000 - 0x77c48000 C:\WINDOWS\system32\GDI32.dll
    0x77ba0000 - 0x77bfa000 C:\WINDOWS\system32\MSVCRT.dll
    0x71c20000 - 0x71c32000 C:\WINDOWS\system32\tsappcmp.dll
    0x76290000 - 0x762ad000 C:\WINDOWS\system32\IMM32.DLL
    0x6d640000 - 0x6d7dd000 C:\Program Files\Java\jre1.5.0_11\bin\client\jvm.dll
    0x76aa0000 - 0x76acd000 C:\WINDOWS\system32\WINMM.dll
    0x71bc0000 - 0x71bc8000 C:\WINDOWS\system32\rdpsnd.dll
    0x771f0000 - 0x77201000 C:\WINDOWS\system32\WINSTA.dll
    0x71c40000 - 0x71c98000 C:\WINDOWS\system32\NETAPI32.dll
    0x76b70000 - 0x76b7b000 C:\WINDOWS\system32\PSAPI.DLL
    0x6d290000 - 0x6d298000 C:\Program Files\Java\jre1.5.0_11\bin\hpi.dll
    0x6d610000 - 0x6d61c000 C:\Program Files\Java\jre1.5.0_11\bin\verify.dll
    0x6d310000 - 0x6d32d000 C:\Program Files\Java\jre1.5.0_11\bin\java.dll
    0x6d630000 - 0x6d63f000 C:\Program Files\Java\jre1.5.0_11\bin\zip.dll
    VM Arguments:
    jvm_args: -Xms32m -Xmx512m -Xbootclasspath/a:C:\Program Files\Java\jre1.5.0_11\lib\javaws.jar;C:\Program Files\Java\jre1.5.0_11\lib\deploy.jar -Djnlpx.home=C:\Program Files\Java\jre1.5.0_11\bin -Djnlpx.splashport=1970 -Djnlpx.jvm="C:\Program Files\Java\jre1.5.0_11\bin\javaw.exe" -Djnlpx.remove=true -Djava.security.policy=file:C:\Program Files\Java\jre1.5.0_11\lib\security\javaws.policy -DtrustProxy=true -Xverify:remote -Djnlpx.heapsize=32m,512m
    java_command: com.sun.javaws.Main C:\DOCUME~1\ssiwach\LOCALS~1\Temp\1\javaws3
    Launcher Type: SUN_STANDARD
    Environment Variables:
    PATH=C:\Program Files\Java\jre1.5.0_11\bin;D:\oracle\ora92\bin;C:\Program Files\Oracle\jre\1.3.1\bin;C:\Program Files\Oracle\jre\1.1.8\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;D:\mysql\bin;"C:\Program Files\Java\jre1.5.0_11\bin"
    USERNAME=ssiwach
    OS=Windows_NT
    PROCESSOR_IDENTIFIER=x86 Family 15 Model 4 Stepping 1, GenuineIntel
    --------------- S Y S T E M ---------------
    OS: Windows Server 2003 family Build 3790 Service Pack 1
    CPU:total 2 (cores per cpu 1, threads per core 2) family 15 model 4 stepping 1, cmov, cx8, fxsr, mmx, sse, sse2, sse3, ht
    Memory: 4k page, physical 2097151k(438060k free), swap 4194303k(5136k free)
    vm_info: Java HotSpot(TM) Client VM (1.5.0_11-b03) for windows-x86, built on Dec 15 2006 01:16:12 by "java_re" with MS VC++ 6.0
    ------------------------------------------------------------------------------------------------------------------

    Hi All,
    While running java application through Webstart, we got the following error log and application is not running. I am not sure why this is happened? Can anyone help me out to resolve this problem?
    Help Regarding this will be highly appreciated.
    Thanks In advance.
    Bala
    Error in Log File:
    # An unexpected error has been detected by HotSpot Virtual Machine:
    # Internal Error (53545542324F5554494E45530E435050008C), pid=684, tid=9424
    # Java VM: Java HotSpot(TM) Client VM (1.5.0_11-b03 mixed mode)
    --------------- T H R E A D ---------------
    Current thread (0x00345a60): JavaThread [_thread_in_vm, id=9424]
    Stack: [0x00030000,0x00070000), sp=0x0006f9a4, free space=254k
    Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
    V [jvm.dll+0x12430d]
    V [jvm.dll+0x6366e]
    V [jvm.dll+0x636a3]
    V [jvm.dll+0x10073c]
    V [jvm.dll+0x7859b]
    V [jvm.dll+0x919fc]
    C [javaw.exe+0x2120]
    C [javaw.exe+0x11bb]
    C [javaw.exe+0x3151]
    C [kernel32.dll+0x123e5]
    --------------- P R O C E S S ---------------
    Java Threads: ( => current thread )
    Other Threads:
    VM state:not at safepoint (normal execution)
    VM Mutex/Monitor currently owned by a thread: None
    Heap
    def new generation total 2304K, used 42K [0x02a60000, 0x02cd0000, 0x051c0000)
    eden space 2112K, 2% used [0x02a60000, 0x02a6a908, 0x02c70000)
    from space 192K, 0% used [0x02c70000, 0x02c70000, 0x02ca0000)
    to space 192K, 0% used [0x02ca0000, 0x02ca0000, 0x02cd0000)
    tenured generation total 30272K, used 0K [0x051c0000, 0x06f50000, 0x22a60000)
    the space 30272K, 0% used [0x051c0000, 0x051c0000, 0x051c0200, 0x06f50000)
    compacting perm gen total 8192K, used 409K [0x22a60000, 0x23260000, 0x26a60000)
    the space 8192K, 4% used [0x22a60000, 0x22ac64d0, 0x22ac6600, 0x23260000)
    No shared spaces configured.
    Dynamic libraries:
    0x00400000 - 0x0040d000 C:\Program Files\Java\jre1.5.0_11\bin\javaw.exe
    0x7c800000 - 0x7c8c0000 C:\WINDOWS\system32\ntdll.dll
    0x77e40000 - 0x77f42000 C:\WINDOWS\system32\kernel32.dll
    0x77f50000 - 0x77fec000 C:\WINDOWS\system32\ADVAPI32.dll
    0x77c50000 - 0x77cef000 C:\WINDOWS\system32\RPCRT4.dll
    0x77380000 - 0x77412000 C:\WINDOWS\system32\USER32.dll
    0x77c00000 - 0x77c48000 C:\WINDOWS\system32\GDI32.dll
    0x77ba0000 - 0x77bfa000 C:\WINDOWS\system32\MSVCRT.dll
    0x71c20000 - 0x71c32000 C:\WINDOWS\system32\tsappcmp.dll
    0x76290000 - 0x762ad000 C:\WINDOWS\system32\IMM32.DLL
    0x6d640000 - 0x6d7dd000 C:\Program Files\Java\jre1.5.0_11\bin\client\jvm.dll
    0x76aa0000 - 0x76acd000 C:\WINDOWS\system32\WINMM.dll
    0x71bc0000 - 0x71bc8000 C:\WINDOWS\system32\rdpsnd.dll
    0x771f0000 - 0x77201000 C:\WINDOWS\system32\WINSTA.dll
    0x71c40000 - 0x71c98000 C:\WINDOWS\system32\NETAPI32.dll
    0x76b70000 - 0x76b7b000 C:\WINDOWS\system32\PSAPI.DLL
    0x6d290000 - 0x6d298000 C:\Program Files\Java\jre1.5.0_11\bin\hpi.dll
    0x6d610000 - 0x6d61c000 C:\Program Files\Java\jre1.5.0_11\bin\verify.dll
    0x6d310000 - 0x6d32d000 C:\Program Files\Java\jre1.5.0_11\bin\java.dll
    0x6d630000 - 0x6d63f000 C:\Program Files\Java\jre1.5.0_11\bin\zip.dll
    VM Arguments:
    jvm_args: -Xms32m -Xmx512m -Xbootclasspath/a:C:\Program Files\Java\jre1.5.0_11\lib\javaws.jar;C:\Program Files\Java\jre1.5.0_11\lib\deploy.jar -Djnlpx.home=C:\Program Files\Java\jre1.5.0_11\bin -Djnlpx.splashport=1970 -Djnlpx.jvm="C:\Program Files\Java\jre1.5.0_11\bin\javaw.exe" -Djnlpx.remove=true -Djava.security.policy=file:C:\Program Files\Java\jre1.5.0_11\lib\security\javaws.policy -DtrustProxy=true -Xverify:remote -Djnlpx.heapsize=32m,512m
    java_command: com.sun.javaws.Main C:\DOCUME~1\ssiwach\LOCALS~1\Temp\1\javaws3
    Launcher Type: SUN_STANDARD
    Environment Variables:
    PATH=C:\Program Files\Java\jre1.5.0_11\bin;D:\oracle\ora92\bin;C:\Program Files\Oracle\jre\1.3.1\bin;C:\Program Files\Oracle\jre\1.1.8\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;D:\mysql\bin;"C:\Program Files\Java\jre1.5.0_11\bin"
    USERNAME=ssiwach
    OS=Windows_NT
    PROCESSOR_IDENTIFIER=x86 Family 15 Model 4 Stepping 1, GenuineIntel
    --------------- S Y S T E M ---------------
    OS: Windows Server 2003 family Build 3790 Service Pack 1
    CPU:total 2 (cores per cpu 1, threads per core 2) family 15 model 4 stepping 1, cmov, cx8, fxsr, mmx, sse, sse2, sse3, ht
    Memory: 4k page, physical 2097151k(438060k free), swap 4194303k(5136k free)
    vm_info: Java HotSpot(TM) Client VM (1.5.0_11-b03) for windows-x86, built on Dec 15 2006 01:16:12 by "java_re" with MS VC++ 6.0
    ------------------------------------------------------------------------------------------------------------------

  • Embedded JMS/OC4J issue while running an application in Jdeveloper 10.1.3.2

    Hi,
    I am facing an issue while running an application on my laptop.I downloaded Jdeveloper 10.1.3.2.Installed Jheadstart along with that.
    Created a new application specified in HR demo.When I run the application I get following messages,After that it does not show my application pages.It does not even open browser window.
    [waiting for the server to complete its initialization...]
    Aug 29, 2007 6:01:47 PM com.evermind.server.jms.JMSMessages log
    INFO: JMSServer[]: OC4J JMS server recovering transactions (commit 0) (rollback 0) (prepared 0).
    Aug 29, 2007 6:01:47 PM com.evermind.server.jms.JMSMessages log
    INFO: JMSServer[]: OC4J JMS server recovering local transactions Queue[jms/Oc4jJmsExceptionQueue].
    07/08/29 18:01:55 Oracle Containers for J2EE 10g (10.1.3.1.1) initialized
    When I delete persistnce directory files under embedded oc4j (specifically jms.state), It logs following messages.But it does not run my application pages and not even open browser window to display some error.
    [Starting OC4J using the following ports: HTTP=8988, RMI=23891, JMS=9227.]
    C:\jdevstudio10132\jdev\system\oracle.j2ee.10.1.3.40.66\embedded-oc4j\config>
    C:jdevstudio10132\jdk\bin\javaw.exe -client -classpath C:jdevstudio10132\j2ee\home\oc4j.jar;C:jdevstudio10132\jdev\lib\jdev-oc4j-embedded.jar -Xverify:none -XX:MaxPermSize=256m -DcheckForUpdates=adminClientOnly -Doracle.application.environment=development -Doracle.j2ee.dont.use.memory.archive=true -Doracle.j2ee.http.socket.timeout=500 -Doc4j.jms.usePersistenceLockFiles=false oracle.oc4j.loader.boot.BootStrap -config C:\jdevstudio10132\jdev\system\oracle.j2ee.10.1.3.40.66\embedded-oc4j\config\server.xml
    [waiting for the server to complete its initialization...]
    07/08/29 18:06:16 Oracle Containers for J2EE 10g (10.1.3.1.1) initialized.
    I tried by creating another standalone application with simple html page, it throws same logs and does not show up browser window.I even tried with Jdeveloper 10.1.3.3, but still same issue .
    can you please throw some light on this issue and any suggestion for resolutions.
    Thanks.

    Can someone throw somelight on this issue?
    I posted the same issue in Jdeveloper forum but did not receive any reply .appreciate your suggestions.
    Thanks
    Sekar.

  • JMS/OC4J issue while running an application in Jdeveloper 10.1.3.2/10.1.3.3

    Hi,
    I am facing an issue while running an application on my laptop.I downloaded Jdeveloper 10.1.3.2.Installed Jheadstart along with that.
    Created a new application specified in HR demo.When I run the application I get following messages,After that it does not show my application pages.It does not even open browser window.
    [waiting for the server to complete its initialization...]
    Aug 29, 2007 6:01:47 PM com.evermind.server.jms.JMSMessages log
    INFO: JMSServer[]: OC4J JMS server recovering transactions (commit 0) (rollback 0) (prepared 0).
    Aug 29, 2007 6:01:47 PM com.evermind.server.jms.JMSMessages log
    INFO: JMSServer[]: OC4J JMS server recovering local transactions Queue[jms/Oc4jJmsExceptionQueue].
    07/08/29 18:01:55 Oracle Containers for J2EE 10g (10.1.3.1.1) initialized
    When I delete persistnce directory files under embedded oc4j (specifically jms.state), It logs following messages.But it does not run my application pages and not even open browser window to display some error.
    [Starting OC4J using the following ports: HTTP=8988, RMI=23891, JMS=9227.]
    C:\jdevstudio10132\jdev\system\oracle.j2ee.10.1.3.40.66\embedded-oc4j\config>
    C:jdevstudio10132\jdk\bin\javaw.exe -client -classpath C:jdevstudio10132\j2ee\home\oc4j.jar;C:jdevstudio10132\jdev\lib\jdev-oc4j-embedded.jar -Xverify:none -XX:MaxPermSize=256m -DcheckForUpdates=adminClientOnly -Doracle.application.environment=development -Doracle.j2ee.dont.use.memory.archive=true -Doracle.j2ee.http.socket.timeout=500 -Doc4j.jms.usePersistenceLockFiles=false oracle.oc4j.loader.boot.BootStrap -config C:\jdevstudio10132\jdev\system\oracle.j2ee.10.1.3.40.66\embedded-oc4j\config\server.xml
    [waiting for the server to complete its initialization...]
    07/08/29 18:06:16 Oracle Containers for J2EE 10g (10.1.3.1.1) initialized.
    I tried by creating another standalone application with simple html page, it throws same logs and does not show up browser window.I even tried with Jdeveloper 10.1.3.3, but still same issue .
    can you please throw some light on this issue and any suggestion for resolutions.
    Thanks.

    I am also facing the same issue on my laptop. I searched for forum but no luck.
    appreciate if anybody can throw some light on this.

  • Issue while configuring XLIFF as resource bundle

    We are using Jdeveloper 11.1.1.7.0 ver. We are configuring ADF Faces project for XLIFF by creating xliff file in resources folder and adding xliff file to project properties.
    In design time we are able to see the configured values when we use expression builder however, we are getting following exception at runtime:
    java.util.MissingResourceException: Can't find bundle for base name UIRes, locale en
      at java.util.ResourceBundle.throwMissingResourceException(ResourceBundle.java:1521)
      at java.util.ResourceBundle.getBundleImpl(ResourceBundle.java:1260)

    I am getting issue while configuring report in integrated mode! The issue and the solution to that is as mentioned  here.
    I tried to set the Report Server Service account to Use Another Account
    but when i try to apply i get the issue as below.
    Microsoft.ReportingServices.WmiProvider.WMIProviderException: An unknown error has occurred in the WMI Provider. Error Code 800708AC
    ---> System.Runtime.InteropServices.COMException (0x800708AC): The group name could not be found. (Exception from HRESULT: 0x800708AC)
    --- End of inner exception stack trace ---
    at Microsoft.ReportingServices.WmiProvider.RSWmiAdmin.ThrowOnError(ManagementBaseObject mo)
    at Microsoft.ReportingServices.WmiProvider.RSWmiAdmin.SetWindowsServiceIdentity(String accountName, String password, Boolean useBuiltinAccount)
    at ReportServicesConfigUI.WMIProvider.RSReportServerAdmin.SetWindowsServiceIdentity(String accountName, String password, Boolean useBuiltinAccount)
    Kindly help!
    I have the same error after a change in domain policies and after reconfigure the password of the domain account user used for the Report Server Service Account.
    I don't use a group!!!
    Thank You for any help!
    Alessio

  • Deploying no java applications using Java Web Start

    Hi,
    I am new to java web start. Is it possible to distribute non java applications using java web start. I have an APP which can run on a desktop in standalone mode. The app has jusy HTML and Java script files. Is it possible to package this app and deploying using java web start? I am assuming If it is possible, I can make updates to the packaged app in the web servers and the updates will be downloaded next time the app is used provided configurations are correct?
    thx

    The app has jusy HTML and Java script files. Is it possible
    to package this app and deploying using java web start? Not really. Resources for JWS need to be zipped,
    while this HTML/JS app. will (I guess) not work from
    inside the depths of a Jar (or Zip) archive.
    Note that you can organise for those files to be
    downloaded and expanded onto a known place
    on the user's disk, by using an 'installer' element,
    but..
    ...I am assuming If it is possible, I can make updates to the
    packaged app in the web servers and the updates ..installers are only called once, and do not 'update'.

  • Cannot open MSWord while running java application

    Hi everyone
    I'm not sure if anyone has encountered this problem before.. I'm running a java application under Windows NT and when I try to open an office document it won't run until that java application has been shutdown. I don't even get an error message for this. Nothing happens at all until the application is shutdown and then MSWord just opens as if nothing had ever happened.
    Anyone have any ideas as to what this problem might be?

    As a guess.....
    1. Run a "hello world" java application. Use task manager and take a snap shot of the processes window.
    2. Run nothing else but the java application. Use task manager and take a snap shot of the processes window.
    3. Compare the two and eliminate any that are the same.
    4. Run nothing else but word. Use task manager and take a snap shot of the processes window.
    5. Compare it with 3. Note the ones that appear both times.
    6. Run the java application - use task manager to kill what you found in 5. Run word.
    Step 6 will probably cause the java app to fail in some odd way. But now you know why it doesn't work.
    Of course if nothing is the same in 5 above then that would be odd.

  • Why does Java Application not working with Macromedia Flash 5 or MX?

    Why does Java Application not working with Macromedia Flash 5 or MX?

    Who says they don't?
    Although I don't know much about those I'd think they should be able to talk to Java Aps using Sockets or request Servlets ...
    Spieler

  • Can we run a java application using Runtime.exec()?

    Can we run a java application using Runtime.exec()?
    If yes what should i use "java" or "javaw", and which way?
    r.exec("java","xyz.class");

    The best way to run the java application would be to dynamiically load it within the same JVM. Look thru the class "ClassLoader" and the "Class", "Method" etc...clases.
    The problem with exec is that it starts another JVM and moreover you dont have the interface where you can throw the Output directly.(indirectly it can be done by openong InputStreams bala blah............). I found this convenient. I am attaching part of my code for easy refernce.
    HIH
    ClassLoader cl = null;
    Class c = null;
    Class cArr[] ;
    Method md = null;
    Object mArr[];
    cl = ClassLoader.getSystemClassLoader();
    try{
         c = cl.loadClass(progName.substring(0,progName.indexOf(".class")) );
    } catch(ClassNotFoundException e) {
    System.out.println(e);
         cArr = new Class[1] ;
         try{
         cArr[0] = Class.forName("java.lang.Object");
         } catch(ClassNotFoundException e) {
         System.out.println(e);
         mArr = new Object[1];
         try{
         md = c.getMethod("processPkt", cArr);
         } catch(NoSuchMethodException e) {
         System.out.println(e);
         } catch(SecurityException e) {
         System.out.println(e);
    try {            
    processedPkt = md.invoke( null, mArr) ;
    } catch(IllegalAccessException e) {
              System.out.println(e);
    } catch(IllegalArgumentException e) {
              System.out.println(e);
    }catch(InvocationTargetException e) {
              System.out.println(e);
    }catch(NullPointerException e) {
              System.out.println(e);
    }catch(ExceptionInInitializerError e) {
              System.out.println(e);
    }

  • Java Application using Swig Running Visual C++ 6.0

    i,
    I am using Swig with Java ,I'm trying launch a Java application using a Windows executable,
    I'm using VC++6.0, and followed the instruction in Swig Documentation chaper 20,Section 20.2.8.
    I Build my dll in Vc++ i get this error Anyone know this,please help me.
         SWIG
         Compiling resources...
         Compiling...
         StdAfx.cpp
         Compiling...
         example.c
         Generating Code...
         Compiling...
         example_wrap.cpp
    c:\program files\java\jdk1.5.0_01\include\jni.h(46) : error C2146: syntax error : missing ';' before identifier 'jsize'
    c:\program files\java\jdk1.5.0_01\include\jni.h(46) : fatal error C1004: unexpected end of file found
    Generating Code...
    Error executing cl.exe.
    example.dll - 2 error(s), 0 warning(s)
    Regards
    Devi

    check on line 46, there might be a missing ";"
    c:\program files\java\jdk1.5.0_01\include\jni.h(46) : error C2146: syntax error : missing ';' before identifier 'jsize'

  • Our Java application is built with java 1.4 version and oracle 10g

    Our Java application is built with java 1.4 version and oracle 10g version database, is it possible to upgrade oracle database to 11g?

    is it possible to upgrade
    Yes. SE and the other editions have a migration/upgrade utility, not seeing any mention of that program in the XE license docs. To upgrade to 11gR2 from 10g, the 10g instance must be at patch 10.2.0.2 or higher.
    So if you're a GUI dba, might be out of luck. But the the XE install has the catalog upgrade scripts that need to be run, there is a MOS note explaining the manual upgrade steps.
    Or set up a brand new 11g database instance and datapump your user schema(s) from the 10g instance to the new 11g instance. The database doesn't care what java version you're using, it just does what its told with the data. DDL, DCL, DML ... its not much different. Quite a few new features in 11g.
    But if you're after JVMs that piece is not supported with XE.

Maybe you are looking for