Create UML from *.jar

Hi,
is there any freeware tool that can create UML from a simple .jar-file or a set of .class-files ?
Cheers
/Andreas

er... that should be possible
I know Enterprise Architect can do that with .java files... Just use some dumb decompiling tool for .class files, all you need for your UML diagrams is methods and fields, so the correctness of the implementations doesn't matter

Similar Messages

  • Javahelp Search -- Failed to create URL from jar

    When I attempt to use my search feature, I get the following message:
    Failed to create URL from jar:file:C:\ulcpen10.jar!/ulcp.hs|C:/src/db/pubs/ulc/javahelp/cp-ulc-generatedid-55.html
    Failed to create URL from jar:file:C:\ulcpen10.jar!/ulcp.hs|C:/src/db/pubs/ulc/javahelp/cp-ulc-odbc-tutorial-s-5132529.html
    Failed to create URL from jar:file:C:\ulcpen10.jar!/ulcp.hs|C:/src/db/pubs/ulc/javahelp/cp-ulsynchronize-library-sesql.htmlpresumably, the files that were found in the search were:
    cp-ulc-generatedid-55.html
    cp-ulc-odbc-tutorial-s-5132529.html
    cp-ulsynchronize-library-sesql.html
    but it seems the URL being built is incorrect. I am building my search like so:
    in the xml:
    <view>
    <name>Search</name>
    <label>Search</label>
    <type>javax.help.SearchView</type>
    <data engine="com.sun.java.help.search.DefaultSearchEngine">
    JavaHelpSearch
    </data>
    </view>
    and in the java:
         _jhIndexer = new com.sun.java.help.search.Indexer();
         //outDir is the directory the help is compiled to -- defined earlier
         String searchName = "JavaHelpSearch";
         String args[] = new String[ 3 ];
         args[ 0 ] = "-db";
         args[ 1 ] = outDir + searchName;
         args[ 2 ] = outDir;
         try {
             _jhIndexer.compile( args );
         } catch( Exception e ) {
             e.printStackTrace();
         //addDirectory copies everything from ourDir/searchName to jar/searchName
         jarFile.addDirectory( searchName, outDir + searchName, null );Any ideas how to fix this?
    Thanks,
    Aarnott

    Yesterday I met with the same problem with you, and I read the Javahelp_Guide for several times and today I solve the problem. I reply the topic and want to share the experience with friends.
    First cofirm that you have created the html pages, .hs file, index file, TOC file, map file, and be sure they all work well. We assume you put the last 4 files in D:\HelpFile, and the html pages in D:\HelpFile\HelpPage
    Now we come to the second step -- generate the Full-Text Search Database.
    1. Open "Start" -> "Run" in windows, and input "cmd" command.
    2. Switch to your help folder, here we assume it as D:\HelpFile
    3. Find the path of the jhindexer in the javahelp\bin folder of the JavaHelp system release, e.g E:\JavaHelp\bin
    4. Input the following command in cmd.exe you just open in step 1:
    E:\JavaHelp\bin\jhindexer HelpPage
    the command means to call the tool jhindexer to generate the Full-Text Search database for the html pages in folder HelpPage
    5. you'll find a new folder named JavaHelpSearch generated in the current folder D:\HelpFile
    6. Pack all the files in folder D:\HelpFile as a jar file and you can use it in your system
    Note: 1. avoid asian character in your folder path, though there's no obvious reason but we should avoid possible error.
    2. Full-Text Search need no programming in your program, just do it as the steps ibid.
    release: Javahelp 2.0.05
    Operation System: Windows XP

  • Create complib from .jar

    Hello I read on this forum that is possible use file .jar for components libraries. I have a lot of jar with right structure, but I don't know how make file .complib from .jar . Does exist a tool that can help me ? thanks.

    OneTeam,
    See if this link helps you any:
    http://wiki.java.net/bin/view/Javatools/CustomComponentLibraries#Assembling_the_Complib_File
    Another recommended link - Lots of updates on complib status in Creator:
    http://blogs.sun.com/edwingo/
    Good luck.
    Sandeep
    --Creator Team                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • Error when trying to create a types jar from a web service WSDL

    Hi,
    I generated a WSDL from a web service. When I try to generate a types jar from that WSDL in another project, I get an error:
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    com.bea.workshop.webservices.servicecontrol.ui.except.TypeGenerationFailedException: Buildfile: C:\eclipsews\.metadata\com.bea.workshop.webservices.servicecontrol.ui\build-dir\build.xml
    Trying to override old definition of task wsgen
    build:
    build-types:
    clean-types:
    [echo] Deleting types directory c:\development\wlwBuild\XCaregiverEBillingMasterServiceService1297810259474
    [echo] Deleting types jar C:\eclipsews\AAATest\WebContent\WEB-INF\lib\CaregiverEBillingMasterServiceServiceTypes_xmlbeans_apache.jar
    [mkdir] Created dir: C:\development\wlwBuild\XCaregiverEBillingMasterServiceService1297810259474
    generate-src-code:
    [echo] Generating types of family xmlbeans_apache from WSDL at file:/C:/eclipsews/AAATest/src/test/CaregiverEBillingMasterServiceService.wsdl, all services. Outputting to c:\development\wlwBuild\XCaregiverEBillingMasterServiceService1297810259474
    [typesGen] Generating complex Java types for schema types in WSDL file:/C:/eclipsews/AAATest/src/test/CaregiverEBillingMasterServiceService.wsdl. Outputting to C:\development\wlwBuild\XCaregiverEBillingMasterServiceService1297810259474 ...
    [typesGen] [WARNING] Generating array which is non-compliant with JaxRPC 1.1 for XML name: t=ArrayOfTreatmentDetailItem@http://org/abc/claims/caregiver/ebilling/services
    [typesGen] [WARNING] Generating array which is non-compliant with JaxRPC 1.1 for XML name: t=ArrayOfDocumentTypeAutoPayWrapper_literal@java:org.abc.claims.caregiver.ebilling.services.util
    [typesGen] [WARNING] Generating array which is non-compliant with JaxRPC 1.1 for XML name: t=ArrayOfJavaLangint_literal@java:org.abc.claims.caregiver.ebilling.services
    [typesGen] [WARNING] Generating array which is non-compliant with JaxRPC 1.1 for XML name: t=ArrayOfDocumentSubmissionHierarchy@http://org/abc/claims/caregiver/ebilling/services
    [typesGen] [WARNING] Generating array which is non-compliant with JaxRPC 1.1 for XML name: t=ArrayOfMessageCode@http://org/abc/claims/caregiver/ebilling/services
    [typesGen] [WARNING] Generating array which is non-compliant with JaxRPC 1.1 for XML name: t=ArrayOfFeeCodeType@http://org/abc/claims/caregiver/ebilling/services
    [typesGen] [WARNING] Generating array which is non-compliant with JaxRPC 1.1 for XML name: t=ArrayOfBatchMessage@http://org/abc/claims/caregiver/ebilling/services
    [typesGen] [WARNING] Generating array which is non-compliant with JaxRPC 1.1 for XML name: t=ArrayOfArrayOfJavaLangstring_literal@java:org.abc.claims.caregiver.ebilling.services.util
    [typesGen] [WARNING] Generating array which is non-compliant with JaxRPC 1.1 for XML name: t=ArrayOfJavaLangstring_literal@java:org.abc.claims.caregiver.ebilling.services.util
    compile-src-code:
    [echo] Compiling source files from c:\development\wlwBuild\XCaregiverEBillingMasterServiceService1297810259474 to c:\development\wlwBuild\XCaregiverEBillingMasterServiceService1297810259474
    [javac] Compiling 298 source files to C:\development\wlwBuild\XCaregiverEBillingMasterServiceService1297810259474
    [javac] ----------
    [javac] 1. ERROR in C:\development\wlwBuild\XCaregiverEBillingMasterServiceService1297810259474\com\abc\claims\caregiver\ebilling\FeeCodeDocument.java (at line 51)
    [javac]      public static com.abc.claims.caregiver.ebilling.FeeCodeDocument parse(java.lang.String xmlAsString) throws org.apache.xmlbeans.XmlException {
    [javac]      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    [javac] No exception of type XmlException can be thrown; an exception type must be a subclass of Throwable
    [javac] ----------
    [javac] 2. ERROR in C:\development\wlwBuild\XCaregiverEBillingMasterServiceService1297810259474\com\abc\claims\caregiver\ebilling\FeeCodeDocument.java (at line 54)
    [javac]      public static com.abc.claims.caregiver.ebilling.FeeCodeDocument parse(java.lang.String xmlAsString, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
    [javac]      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    [javac] No exception of type XmlException can be thrown; an exception type must be a subclass of Throwable
    [javac] ----------
    [javac] 3. ERROR in C:\development\wlwBuild\XCaregiverEBillingMasterServiceService1297810259474\com\abc\claims\caregiver\ebilling\FeeCodeDocument.java (at line 58)
    [javac]      public static com.abc.claims.caregiver.ebilling.FeeCodeDocument parse(java.io.File file) throws org.apache.xmlbeans.XmlException, java.io.IOException {
    [javac]      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    [javac] No exception of type XmlException can be thrown; an exception type must be a subclass of Throwable
    [javac] ----------
    [javac] 4. ERROR in C:\development\wlwBuild\XCaregiverEBillingMasterServiceService1297810259474\com\abc\claims\caregiver\ebilling\FeeCodeDocument.java (at line 61)
    [javac]      public static com.abc.claims.caregiver.ebilling.FeeCodeDocument parse(java.io.File file, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
    [javac]      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    [javac] No exception of type XmlException can be thrown; an exception type must be a subclass of Throwable
    [javac] ----------
    [javac] 5. ERROR in C:\development\wlwBuild\XCaregiverEBillingMasterServiceService1297810259474\com\abc\claims\caregiver\ebilling\FeeCodeDocument.java (at line 64)
    [javac]      public static com.abc.claims.caregiver.ebilling.FeeCodeDocument parse(java.net.URL u) throws org.apache.xmlbeans.XmlException, java.io.IOException {
    [javac]      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    [javac] No exception of type XmlException can be thrown; an exception type must be a subclass of Throwable
    [javac] ----------
    [javac] 6. ERROR in C:\development\wlwBuild\XCaregiverEBillingMasterServiceService1297810259474\com\abc\claims\caregiver\ebilling\FeeCodeDocument.java (at line 67)
    [javac]      public static com.abc.claims.caregiver.ebilling.FeeCodeDocument parse(java.net.URL u, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
    [javac]      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    [javac] No exception of type XmlException can be thrown; an exception type must be a subclass of Throwable
    === snipped here due to huge file size ===
    [javac] 2680. ERROR in C:\development\wlwBuild\XCaregiverEBillingMasterServiceService1297810259474\org\xfa\schema\xfaData\x10\SignatureDocument.java (at line 99)
    [javac]      public static org.xfa.schema.xfaData.x10.SignatureDocument parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
    [javac]      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    [javac] No exception of type XmlException can be thrown; an exception type must be a subclass of Throwable
    [javac] ----------
    [javac] 2681. ERROR in C:\development\wlwBuild\XCaregiverEBillingMasterServiceService1297810259474\org\xfa\schema\xfaData\x10\SignatureDocument.java (at line 103)
    [javac]      public static org.apache.xmlbeans.xml.stream.XMLInputStream newValidatingXMLInputStream(org.apache.xmlbeans.xml.stream.XMLInputStream xis) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
    [javac]      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    [javac] No exception of type XmlException can be thrown; an exception type must be a subclass of Throwable
    [javac] ----------
    [javac] 2682. ERROR in C:\development\wlwBuild\XCaregiverEBillingMasterServiceService1297810259474\org\xfa\schema\xfaData\x10\SignatureDocument.java (at line 107)
    [javac]      public static org.apache.xmlbeans.xml.stream.XMLInputStream newValidatingXMLInputStream(org.apache.xmlbeans.xml.stream.XMLInputStream xis, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
    [javac]      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    [javac] No exception of type XmlException can be thrown; an exception type must be a subclass of Throwable
    [javac] ----------
    [javac] 2682 problems (2682 errors)
    BUILD FAILED
    C:\eclipsews\.metadata\com.bea.workshop.webservices.servicecontrol.ui\build-dir\build.xml:73: The following error occurred while executing this line:
    C:\eclipsews\.metadata\com.bea.workshop.webservices.servicecontrol.ui\build-dir\build.xml:107: The following error occurred while executing this line:
    C:\eclipsews\.metadata\com.bea.workshop.webservices.servicecontrol.ui\build-dir\build.xml:181: Compile failed; see the compiler error output for details.
    Total time: 17 seconds
         at com.bea.workshop.webservices.servicecontrol.ui.util.TypesGenerationScript.run(TypesGenerationScript.java:197)
         at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:113)
    Caused by: org.eclipse.core.runtime.CoreException: C:\eclipsews\.metadata\com.bea.workshop.webservices.servicecontrol.ui\build-dir\build.xml:73: The following error occurred while executing this line:
    C:\eclipsews\.metadata\com.bea.workshop.webservices.servicecontrol.ui\build-dir\build.xml:107: The following error occurred while executing this line:
    C:\eclipsews\.metadata\com.bea.workshop.webservices.servicecontrol.ui\build-dir\build.xml:181: Compile failed; see the compiler error output for details.
         at org.eclipse.ant.core.AntRunner.handleInvocationTargetException(AntRunner.java:451)
         at org.eclipse.ant.core.AntRunner.run(AntRunner.java:383)
         at com.bea.workshop.webservices.servicecontrol.ui.util.TypesGenerationScript.run(TypesGenerationScript.java:185)
         ... 1 more
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    I was previously able to generate a types jar just fine from the web service's WSDL. Recently, I made some changes to the web service. Apparently, these changes to the web service now cause the WSDL to be unparseable when trying to generate types jars.
    Any ideas?

    The WSDL is generated from my web service. I made heavy revisions to my web service which, in turn, affected the resultant WSDL. The changes I made to my web service were almost exclusively related to object substitution. For example, prior to the change I was referencing object A from my web service; after the change, I was referencing object B. The objects that I'm referring to are XMLBeans, if that matters. I can't really describe it more than that without actually showing you the WSDL.
    I would post the WSDL file here to allow you to try to create a types jar out of it, but the WSDL exceeds the 30000 character limit for this field. There is no way for me to attach the WSDL to this post.

  • CommandAction works through OnDeviceDebug, but not when installed from jar

    Hi everybody,
    I'm trying to run a HelloMIDlet example and if I run it on emulator it works fine, also when I run it on mobile through OnDeviceDebug from eclipse it works fine, but when I install a jar file and run the application it ends with Application Error message and it exits. I found out that the problem might be in the CommandAction method, because when I use this:
    public void commandAction(Command c, Displayable s) {
              notifyDestroyed();
    }then the application works also when installed from jar, but when I use this:
    public void commandAction(Command c, Displayable s) {
       String label = new String("Exit");   //just for test
       if (label.equals("Exit"))
         notifyDestroyed();
    }then it ends with Application Error right after I run the program (and it works when I use OnDeviceDebug). I'm using jdk1.5.0_06 and WTK from Sony Erricsson (my target device is W800i, which supports CLDC1.1 and MIDP2.0)
    My manifest file is
    Manifest-Version: 1.0
    MicroEdition-Configuration: CLDC-1.1
    MIDlet-Name: HelloMIDlet
    Created-By: Sun Microsystems Inc.
    MIDlet-Vendor: Sun Microsystems, Inc.
    MIDlet-1: HelloMIDlet, , HelloMIDlet
    MIDlet-Version: 1.0
    MicroEdition-Profile: MIDP-2.0
    MIDlet-Description: Hello Worldand I don't use the jad file when installing the application (seems to be unecessary when you have a manifest file inside the jar). And I'm unable to debug it because when debugging then it works normally. Also I tried to recompile the BluetoothDemo and the same error(and works through OnDeviceDebug). And when I installed the jar file, which is originally distributed with BluetoothDemo then it worked. When I compared original jar file and my jar file then the only difference was in the size the class files (class files compiled by me were bigger then the class files in original jar file (which work)).
    Any ideas guys and girls?

    I tried that approach but it doesn't work either. I think maybe my directory structure is wrong.
    C:\IRS\IRS.jar
    C:\IRS\irs.hs
    referenced: jar:file://C:/IRS/IRS.jar!/irs.hs
    Am I doing this right?

  • Failed to obtain/create connection from connection pool after redeploy

    I have a web application (.war) that uses a jdbc connection pool. The application works fine, however after I redeploy it using the administration console I get "Failed to obtain/create connection from connection pool [ Datavision_Pool ]. Reason : null" followed by "Error allocating connection : [Error in allocating a connection. Cause: null]" from javax.enterprise.resource.resourceadapter and I am forced to restart the instance. I am running Sun Java System Application Server 9.1 (build b58g-fcs)
    using a connection pool to a Microsoft SQL 2000 database using inet software's JDBC drivers. I need to be able to redeploy applications without having to restart the instance. Any help is appreciated.

    I have turned on some additional diagnostics and found out some answers and a work-around, but I think that there may be a bug in the way JDBC connection pool classes are loaded. The actual error was a null pointer in the JDBC driver class in the perpareStatement method. The only line in this method is "return factory.createPreparedStatement( this , sql );" and the only possible NPE would be if the factory was null, which should be impossible because it is a static variable and it is initialized when the class is loaded. The problem occurs because we deploy the JDBC driver .jar file within our .war file, for use when a client doesn't have or want to use connection pooling. Apparently, the connection pool must have picked up some of these classes and when the .war was redeployed, the reference to the factory was lost for existing connections (not sure how). If I remove the JDBC .jar file from the .war, it works, but that wasn't an ideal solution, the other way to get it to work was to change the sun-web.xml file to have <class-loader delegate="true">. We previously had it set to false in version 8.1 because of interference with a different version of the apache Tiles classes, which has now been addressed in version 9.1.
    I still think there is an issue, because the connection pool should never use the application specific classloaders. Am I wrong to believe this?

  • ClassNotFound in case of class from jar in lib folder

    Hello,
    I get an application that I have to deploy on Weblogic AS. It is big ear with couple of wars inside. Let's say it is bigApp.ear.
    It is deployed and state is Active. When go to browser and try to run an application I get an error. In logs I found ClassNotFoundException. The error is related to a class, let's say: com.some.package.Abc - I have this class in a jar file, let's say someFile.jar and it is in a folder WLS_FOLDER\samples\domains\wl_server\lib where:
    - WLS_FOLDER is my WLS installation folder
    - wl_server - name of my domain where I deploy an application.
    I wrote a small application (simple form), let's say simpleApp.war. The application uses the class com.some.package.Abc, but the class is not put into the war (WEB-INF/lib) of my small aplication (I use Maven and dependency to someFile.jar has scope provided, so simpleApp.war does not contain it). The result is that simpleApp works fine and there is no error in logs. It creates an instance of com.some.package.Abc and correctly display toString() of the instance of the class in a browser. So this means that application simpleApp is able to see and use classes that are inside jars in WLS_FOLDER\samples\domains\wl_server\lib folder.
    So my guess is that there is something in bigApp.ear but I don't know where to search. I read about class loaders hierarchy in Weblogic and Class Loader Filtering. But I have looked inside every weblogic.xml in bigApp.ear and wars that are inside and there is no filter on "com.some.package" or "com.some" or "com" only different packages.
    Is there any other mechanism in Weblogic that could block the visibility of classes from jars from lib folder of domain to the applications that are deployed in that domain??
    Regards

    Hi,
    Place that something.jar file under Domain_Home / lib folder and restart the server it will included with in the classpath and your app will able to pick the class without any issue.
    Regards,
    Kal

  • 11g Release 2  Installation: Error in creating link from ../bin/javaws

    While installing Oracle 11g Release 11.2.0.2 on a solaris 10 box, the installation fails on the copy phase with message below:
    INFO: creating link '../bin/javaws' for '/app11g/oracle/product/11.2.0/dbhome_1/jdk/jre/javaws/javaws'
    INFO: creating link '../bin/javaws' for '/app11g/oracle/product/11.2.0/dbhome_1/jdk/jre/javaws/javaws'
    INFO: Exception thrown from action: createLink
    Exception Name: LinkException
    Exception String: Error in creating link from ../bin/javaws to /app11g/oracle/product/11.2.0/dbhome_1/jdk/jre/javaws/javaws
    Exception Severity: 1
    INFO: Exception handling set to prompt user with options to Retry Ignore

    Thank you Srini. During the prerequisite check was successfull. However here are the last 100 lines of the log:
    oui/bin/runInstaller.var oui/bin/runSSHSetup.sh oui/bin/addLangs.sh oui/bin/runConfig.sh oui/bin/attachHome.sh oui/bin/detachHome.sh
    INFO: chmod 0664 oui/jlib/OraCheckPoint.jar oui/jlib/OraInstaller.jar oui/jlib/OraInstallerNet.jar oui/jlib/OraPrereq.jar oui/jlib/OraPrereqChecks.jar oui/jlib/emCfg.jar oui/jlib/emocmutl.jar oui/jlib/http_client.jar oui/jlib/oneclick.jar oui/jlib/prov_fixup.jar oui/jlib/share.jar oui/jlib/xmlparserv2.jar oui/jlib/lib/emocmclnt-14.jar oui/jlib/lib/emocmclnt.jar oui/jlib/lib/emocmcommon.jar oui/jlib/lib/http_client.jar oui/jlib/lib/jcert.jar oui/jlib/lib/jnet.jar oui/jlib/lib/jsse.jar oui/jlib/lib/log4j-core.jar oui/jlib/lib/osdt_core3.jar oui/jlib/lib/osdt_jce.jar oui/jlib/lib/regexp.jar oui/jlib/lib/xmlparserv2.jar oui/jlib/Libraries.old/NtServiceQueries.jar oui/jlib/Libraries.old/WindowsFolders.jar oui/jlib/Libraries.old/WindowsGeneralQueries.jar oui/jlib/Libraries.old/areasQueries.jar oui/jlib/Libraries.old/clusterActionLib.jar oui/jlib/Libraries.old/clusterQuery.jar oui/jlib/Libraries.old/dbActions.jar oui/jlib/Libraries.old/dbQueries.jar oui/jlib/Libraries.old/fileActionLib.jar oui/jlib/Libraries.old/fileQueries.jar oui/jlib/Libraries.old/generalActions.jar oui/jlib/Libraries.old/generalQueries.jar oui/jlib/Libraries.old/jarActionLib.jar oui/jlib/Libraries.old/launchpadaction.jar oui/jlib/Libraries.old/netQueries.jar oui/jlib/Libraries.old/ntServicesActions.jar oui/jlib/Libraries.old/oradim.jar oui/jlib/Libraries.old/rgsActions.jar oui/jlib/Libraries.old/rgsQueries.jar oui/jlib/Libraries.old/spawnActions.jar oui/jlib/Libraries.old/standardDialogs.jar oui/jlib/Libraries.old/unixActions.jar oui/jlib/Libraries.old/unixQueries.jar oui/jlib/Libraries.old/w32OcxLib.jar oui/jlib/Libraries.old/w32RegActionLib.jar oui/jlib/Libraries.old/w32RegQueryLib.jar oui/jlib/Libraries.old/wingeneralActionLib.jar oui/jlib/jlib/emocmclnt-14.jar oui/jlib/jlib/emocmclnt.jar oui/jlib/jlib/emocmcommon.jar oui/jlib/jlib/http_client.jar oui/jlib/jlib/jcert.jar oui/jlib/jlib/jnet.jar oui/jlib/jlib/jsse.jar oui/jlib/jlib/log4j-core.jar oui/jlib/jlib/osdt_core3.jar oui/jlib/jlib/osdt_jce.jar oui/jlib/jlib/regexp.jar oui/jlib/jlib/xmlparserv2.jar
    INFO: chmod 0750 srvm/admin/ractrans
    INFO: chmod 754 OPatch/crs/auto_patch.pl OPatch/crs/crsconfig_lib.pm OPatch/crs/crsdelete.pm OPatch/crs/crspatch.pm OPatch/crs/oracss.pm OPatch/crs/patch112.pl OPatch/crs/s_crsconfig_defs OPatch/crs/s_crsconfig_lib.pm OPatch/crs/log/dummy
    INFO: chmod 644 OPatch/docs/FAQ OPatch/docs/Users_Guide.txt OPatch/docs/Prereq_Users_Guide.txt
    INFO: chmod 755 OPatch/opatch
    INFO: chmod 644 OPatch/opatchprereqs/oui/knowledgesrc.xml OPatch/opatch.pl OPatch/opatch.ini OPatch/emdpatch.pl OPatch/opatchprereqs/opatch/opatch_prereq.xml OPatch/opatchprereqs/opatch/rulemap.xml OPatch/opatchprereqs/opatch/runtime_prereq.xml OPatch/jlib/opatch.jar OPatch/jlib/opatchutil.jar OPatch/jlib/opatchprereq.jar OPatch/jlib/opatchactions.jar OPatch/jlib/opatchext.jar OPatch/jlib/opatchfmw.jar
    INFO: chmod 754 OPatch/fmw/application.py OPatch/fmw/init_def.py OPatch/fmw/main_driver.py OPatch/fmw/node_manager.py OPatch/fmw/prereq.py OPatch/fmw/start_stop.py
    INFO: chmod 644 OPatch/opatchprereqs/prerequisite.properties
    INFO:
    INFO: Start output from spawned process:
    INFO: ----------------------------------
    INFO:
    INFO: chmod: ERROR: invalid mode
    INFO: chmod: WARNING: can't access bin/cmadmin
    chmod: WARNING: can't access bin/cmctl
    INFO: chmod: WARNING: can't access bin/cmgw
    chmod: WARNING: can't access bin/cmmigr
    INFO: chmod: WARNING: can't access bin/procob
    chmod: WARNING: can't access bin/rtsora
    INFO: End output from spawned process.
    INFO: ----------------------------------
    INFO: DONE Executing permissions file from :/tmp/OraInstall2011-12-08_04-13-37PM/fastcopy/setperms1.sh
    INFO: InstallProgressMonitor: Starting phase 2
    INFO: Installation in progress
    INFO: Installation in progress
    INFO: Copying files for 'Sun JDK 1.5.0.24.08 '
    INFO: Copying files for 'Sun JDK 1.5.0.24.08 '
    INFO: 12/8/11 4:19:20 PM EST: Starting install Install Phase 1 of component Sun JDK
    INFO: Calling Action unixActions10.2.0.3.0 createLink
         source = ../libjsig.so
         destination = /app11g/oracle/product/11.2.0/dbhome_1/jdk/jre/lib/sparcv9/server/libjsig.so
         overwriteExistingLink = true
         overwriteExistingDir = null
    INFO: creating link '../libjsig.so' for '/app11g/oracle/product/11.2.0/dbhome_1/jdk/jre/lib/sparcv9/server/libjsig.so'
    INFO: creating link '../libjsig.so' for '/app11g/oracle/product/11.2.0/dbhome_1/jdk/jre/lib/sparcv9/server/libjsig.so'
    INFO: Calling Action unixActions10.2.0.3.0 createLink
         source = ../libjsig.so
         destination = /app11g/oracle/product/11.2.0/dbhome_1/jdk/jre/lib/sparc/client/libjsig.so
         overwriteExistingLink = true
         overwriteExistingDir = null
    INFO: creating link '../libjsig.so' for '/app11g/oracle/product/11.2.0/dbhome_1/jdk/jre/lib/sparc/client/libjsig.so'
    INFO: creating link '../libjsig.so' for '/app11g/oracle/product/11.2.0/dbhome_1/jdk/jre/lib/sparc/client/libjsig.so'
    INFO: Calling Action unixActions10.2.0.3.0 createLink
         source = libjdgaSUNWffb.so
         destination = /app11g/oracle/product/11.2.0/dbhome_1/jdk/jre/lib/sparcv9/libjdgaSUNWafb.so
         overwriteExistingLink = true
         overwriteExistingDir = null
    INFO: creating link 'libjdgaSUNWffb.so' for '/app11g/oracle/product/11.2.0/dbhome_1/jdk/jre/lib/sparcv9/libjdgaSUNWafb.so'
    INFO: creating link 'libjdgaSUNWffb.so' for '/app11g/oracle/product/11.2.0/dbhome_1/jdk/jre/lib/sparcv9/libjdgaSUNWafb.so'
    INFO: Calling Action unixActions10.2.0.3.0 createLink
         source = client/libjvm.so
         destination = /app11g/oracle/product/11.2.0/dbhome_1/jdk/jre/lib/sparc/libjvm.so
         overwriteExistingLink = true
         overwriteExistingDir = null
    INFO: creating link 'client/libjvm.so' for '/app11g/oracle/product/11.2.0/dbhome_1/jdk/jre/lib/sparc/libjvm.so'
    INFO: creating link 'client/libjvm.so' for '/app11g/oracle/product/11.2.0/dbhome_1/jdk/jre/lib/sparc/libjvm.so'
    INFO: Calling Action unixActions10.2.0.3.0 createLink
         source = libjdgaSUNWffb.so
         destination = /app11g/oracle/product/11.2.0/dbhome_1/jdk/jre/lib/sparc/libjdgaSUNWafb.so
         overwriteExistingLink = true
         overwriteExistingDir = null
    INFO: creating link 'libjdgaSUNWffb.so' for '/app11g/oracle/product/11.2.0/dbhome_1/jdk/jre/lib/sparc/libjdgaSUNWafb.so'
    INFO: creating link 'libjdgaSUNWffb.so' for '/app11g/oracle/product/11.2.0/dbhome_1/jdk/jre/lib/sparc/libjdgaSUNWafb.so'
    INFO: Calling Action unixActions10.2.0.3.0 createLink
         source = ../bin/javaws
         destination = /app11g/oracle/product/11.2.0/dbhome_1/jdk/jre/javaws/javaws
         overwriteExistingLink = true
         overwriteExistingDir = null
    INFO: creating link '../bin/javaws' for '/app11g/oracle/product/11.2.0/dbhome_1/jdk/jre/javaws/javaws'
    INFO: creating link '../bin/javaws' for '/app11g/oracle/product/11.2.0/dbhome_1/jdk/jre/javaws/javaws'
    INFO: Exception thrown from action: createLink
    Exception Name: LinkException
    Exception String: Error in creating link from ../bin/javaws to /app11g/oracle/product/11.2.0/dbhome_1/jdk/jre/javaws/javaws
    Exception Severity: 1
    I

  • Can't create JVM from JNI_CreateJavaVM(&jvm, (void**)&env, &vm_args);

    I'm new in using JNI. When i compile the C program that invoke the JAVA program, everthing goes fine. I can obtain the the "exe" from the compilation.
    But when i run the "exe" file it display "can't create Java VM". Here is the part of the code in C program:
    ........//other code
    JNI_VERSION_1_2
    JavaVMInitArgs vm_args;
    JavaVMOption options[1];
    options[0].optionString =
    "-Djava.class.path=" USER_CLASSPATH;
    vm_args.version = 0x00010002;
    vm_args.options = options;
    vm_args.nOptions = 1;
    vm_args.ignoreUnrecognized = JNI_TRUE;
    /* Create the Java VM */
    res = JNI_CreateJavaVM(&jvm, (void**)&env, &vm_args);
    if (res < 0) {
    fprintf(stderr, "Can't create Java VM\n");
    exit(1);
    .......//other code
    I'm using JDK1.3, and windows ME.
    Can anyone tell me the problem?

    I think you need to get the address of the create function from the jvm.dll at runtime and call that: this works for me:
         HINSTANCE handle;
         JavaVMOption options[5];
         char JREHome[MAX_PATH];
         char JVMPath[MAX_PATH];                                        
         char classpathOption[MAX_PATH];
         char librarypathOption[MAX_PATH];
         if(!GetPublicJREHome(JREHome, MAX_PATH))
              LogError("Could not locate JRE");
              abort();
         strcpy(JVMPath,JREHome);
         strcat(JVMPath,"\\bin\\client\\jvm.dll");
        if ((handle=LoadLibrary(JVMPath))==0)
              LogError("Error loading: %s", JVMPath);
              abort();
        CreateJavaVM_t pfnCreateJavaVM=(CreateJavaVM_t)GetProcAddress(handle,"JNI_CreateJavaVM");
        if (pfnCreateJavaVM==0)
              LogError("Error: can't find JNI interfaces in: %s",JVMPath);
              abort();
         strcpy(classpathOption,"-Djava.class.path=");
         strcat(classpathOption,dir);
         strcat(classpathOption,";");
         strcat(classpathOption,JREHome);
         strcat(classpathOption,"\\lib");
         strcat(classpathOption,";");
         strcat(classpathOption,JREHome);
         strcat(classpathOption,"\\lib\\comm.jar");
         strcpy(librarypathOption,"-Djava.library.path=");
         strcat(librarypathOption,JREHome);
         strcat(librarypathOption,"\\lib");
         OutputDebugString("classpath option=");
         OutputDebugString(classpathOption);
         OutputDebugString("\n");
         OutputDebugString("librarypath option=");
         OutputDebugString(librarypathOption);
         OutputDebugString("\n");
         options[0].optionString=classpathOption;     
         options[1].optionString=librarypathOption;     
         options[2].optionString="vfprintf";
         options[2].extraInfo=_vfprintf_;
         options[3].optionString="exit";
         options[3].extraInfo=_exit_;
         options[4].optionString="abort";
         options[4].extraInfo=_abort_;
        vmArgs.version  = JNI_VERSION_1_2;
        vmArgs.nOptions = 5;
        vmArgs.options  = options;
        vmArgs.ignoreUnrecognized = false;
        if(pfnCreateJavaVM(&jvm,(void**)&env, &vmArgs)!=0)
              LogError("Could not create VM");
              abort();
         }

  • Create Domain from template doesn't loads right deployment configurations

    Hi!
    I would like to export my domain configuration in a new machine.
    As documentation reccomended I've generated the template.jar using the template builder.
    When I try to create a new domain on other machine (using the option "create domain from tempalte") I noted that the configuration server would load correctly but the same doesn't happens for the deployment configuration.
    Does Anyone know where is the error?
    Diego

    Thank you for the reply.
    Since I've configured a complex environment this is a critical issue for me.
    I tried two different solution.
    The first is using the template builder, the second using the pack/unpack script but the result is the same.
    I hoped to solve the problem unpacking the environment changing only the config file but it seem get more than one problem.
    I will ask helping to the support.
    Diego

  • Create the executable jar's file

    Hi guys,
    I am working on java desktop's application where a user will be able to run the application by double click the executable jar file. I followed the description of "Creating and Deploying a Simple Archive to Your File System of the help. After creating the jar file and when I double click on jar file to run the application I got this error message "Could not find the main class. Program will exit". I was not also able to run the application on the dos command.
    Please help. I don't have any problem when I run from Jdeveloper 9.0.4. I have window XP professional.
    Your input will be very welcomed.

    OK open up your deployed Jar file in something like Winzip and have a look at the Manifest.MF in meta-inf\
    I've just created an executable JAR with a main class of mypackage1.Class1 and it all ran ok. Here's the manifest:
    Manifest-Version: 1.0
    Main-Class: mypackage1.Class1
    Created-By: Oracle9i JDeveloper 9.0.2So make sure your's is similar and your Main-class looks the same - e.g. does not say something like:
    Main-Class: mypackage1.Class1.class

  • How to create the file   .jar in  openScript .

    How to create the file .jar in openScript .
    thanks

    Ahh ok.
    What I usually do is create a script called My Functions then I add new functions by right clicking in OpenScript's tree view
    Add-> Other -> General -> New Function.
    Once you have created the functions you can either place the script on a shared repository or export it manually an then share it File -> export
    Then from the script that you want to call the functions go to:
    Script -> Script Properties -> Script Assets -> Script -> Add then select the My Functions script once that is done you can call the methods from the script by:
    Add -> Script Functions -> Script My Functions then select the function you wish to use.
    Hope this helps
    Alex

  • Loading images from jar

    Found a good solution that works from running in command line, i.e java -jar or normally or using web start and not getting missing image URL loading from jar
    It deserves some dukes :) Also, someone can improve on it to make sure it's 100%
    Asume the function is in a package AWTUtilities class
    Many forums provide close solution but they all forget the vital replacing back slash with forward slash when reading from jar!! :)
    That's what got me stump for a good day trying to figure why it should load the images, but it's not...
    Regards
    Abraham Khalil
       // The subtlety in getResource() is that it uses the
       // Class loader of the class used to get the rousource.
       // This means that if you want to load a resource from
       // your JAR file, then you better use a class in the
       // JAR file.
       public static Image getImageResource( String name ) throws java.io.IOException {
          return getImageResource( AWTUtilities.class, name );
       public static Image getImageResource(Class base, String name ) throws java.io.IOException {
          if (name != null) {
             Image result = null;
             // A must, else won't pick the path properly within the jar!!
             // For file system forward or backward slash is not an issue
             name = name.replace('\\', '/');
             // For loading from file system using getResource via base class
             URL imageURL = base.getResource( name );
             // For loading from jar starting from root path using getResource via base class
             if (imageURL == null) {
                imageURL = base.getResource("/" + name );
             // For loading from file system using getSystemResource
             if (imageURL == null) {
                imageURL = ClassLoader.getSystemResource( name );
             // For loading from jar starting from root path using getSystemResource
             if (imageURL == null) {
                imageURL = ClassLoader.getSystemResource("/" + name );
             // Found the image url? If so, create the image and return it...
             if ( imageURL != null ) {
                Toolkit tk = Toolkit.getDefaultToolkit();
                result = tk.createImage( (ImageProducer) imageURL.getContent() );
             return result;
          else {
             return null;

    The problem is that you use the wrong classloader. The system default classloader is the one that launched the webstart utility. It doesn't contain your classes or jars. You have to get hold of the classloader for your classes.
    Here's my solution as a schetch: probably it won't compile but you get the idea:
    // 1: get hold of the classloader for my classes:
    // - this class cannot possibly be loaded by anyone else:
    Object dummy = new Object(){
    public String toString() { return super.toString(); }
    ClassLoader cl = dummy.getClass().getClassLoader();
    // 2: get an inputstream to read resource from from jar:
    InputStream is = cl.getResourceAsStream("images/myimage.gif");
    // 3: create image from inputstream
    // can be done in many different ways using tmp-files etc.
    ImageIcon icon = new ImageIcon(is);
    Image img = icon.getImage();

  • Importing bc4j from jar in project

    Hi,
    since we have a complex application, we want to group application modules logically into smaller modules (submodules), which must be combined to yield more complex modules. Every submodule lives in its own project, so reusing a submodule in a more complex project implies that that submodule must be imported into the project hosting the more complex appmodule.
    Within a project, as soon as a BC4J module has been created (call it the "base module"), the "import business components" option becomes avaiable. With this, BC4J can be imported, e.g. from a jar file.
    Everything works fine, as long as JDeveoper is not exited. The imported views, viewlinks, etc. can be used in the datamodel of the base module, and the tester runs neatly on the compex applicatoin module, as well for the native as for the imported views.
    After the project has been rebuilt, everything has been saved, and JDev is exited, on restart, the imported BC package is still visible, but all views and links belonging to it are now gone, since an error occurs loading the BC4J xml file (strange since at first the xml file could obviously be parsed without problem). I include the error trace at the end of this message.
    Even though an additional classpath to the imported jar file has been set, and a library containing the imported jar has been defined and added to the new project, the load error persists.
    If the bc4j are not imported from jar, but directly, no such error occurs!
    Is this a known problem (in Jdev 9.0.3.1035) and are there any workarounds?
    Alex
    Error trace:
    oracle.jbo.dt.objects.JboException: XML load error. Line number: 1
    Object: [name of imported bc4j xml file]
    Project: [name of project files are imported to ]
    Start of root element expected.
         void oracle.jbo.dt.objects.JboException.throwException(java.lang.String, oracle.jbo.dt.objects.JboNamedObject, java.lang.Throwable)
              JboException.java:81
         void oracle.jbo.dt.objects.JboPackage.loadFromXMLFile(java.net.URL, java.io.InputStream)
              JboPackage.java:727
         void oracle.jbo.dt.objects.JboBaseObject.loadFromXMLFile()
              JboBaseObject.java:1874
         void oracle.jbo.dt.objects.JboPackage.loadFromXMLFile()
              JboPackage.java:675
         void oracle.jbo.dt.objects.JboPackage.checkForLoad()
              JboPackage.java:363
         oracle.jbo.dt.objects.JboNamedObject oracle.jbo.dt.objects.JboPackage.findContainedObjectByName(java.lang.String)
              JboPackage.java:352
         oracle.jbo.dt.objects.JboNamedObject oracle.jbo.dt.objects.JboPackage.findObjectByName(java.lang.String)
              JboPackage.java:1480
         oracle.jbo.dt.objects.JboNamedObject oracle.jbo.dt.objects.JboApplication.findContainerChildObject(oracle.jbo.dt.objects.JboPackage, java.lang.String)
              JboApplication.java:733
         oracle.jbo.dt.objects.JboNamedObject oracle.jbo.dt.objects.JboApplication.findObjectByName(java.lang.String)
              JboApplication.java:642
         oracle.jbo.dt.objects.JboNamedObject oracle.jbo.dt.objects.JboApplication.findObjectByName(java.lang.String, oracle.jbo.dt.objects.JboPackage)
              JboApplication.java:614
         void oracle.jbo.dt.objects.JboObjectReference.loadResolveReferencesXML(oracle.jbo.dt.objects.JboBaseObject)
              JboObjectReference.java:179
         oracle.jbo.dt.objects.JboNamedObject oracle.jbo.dt.objects.JboObjectReference.getReferencedObjectInternal(oracle.jbo.dt.objects.JboBaseObject)
              JboObjectReference.java:89
         oracle.jbo.dt.objects.JboView oracle.jbo.dt.objects.JboViewReference.getView()
              JboViewReference.java:53
         java.lang.String oracle.jbo.dt.objects.JboViewReference.getImageLoc(boolean)
              JboViewReference.java:205
         void oracle.jbo.dt.objects.JboAppModule.addStructurePaneNodes(oracle.jbo.dt.system.SysStructureNode)
              JboAppModule.java:1372
         oracle.jbo.dt.system.SysStructureNode oracle.jbo.dt.objects.JboBaseObject.getStructurePaneNode()
              JboBaseObject.java:1627
         void oracle.jbo.dt.ui.main.bced.BceDefTree.addDefTreeObjectNodes(oracle.jbo.dt.objects.JboBaseObject, javax.swing.tree.MutableTreeNode)
              BceDefTree.java:80
         void oracle.jbo.dt.ui.main.bced.BceDefTree.setJboObject(oracle.jbo.dt.objects.JboBaseObject)
              BceDefTree.java:53
         void oracle.jbo.dt.jdevx.ui.JdxExplorer.setContext(oracle.ide.addin.Context)
              JdxExplorer.java:113
         oracle.ide.explorer.Explorer oracle.ideimpl.explorer.ExplorerManagerImpl.getExplorerForHost(oracle.ide.addin.View, oracle.ide.addin.Context)
              ExplorerManagerImpl.java:571
         void oracle.ideimpl.explorer.ExplorerWindowImpl.viewSelectionChanged(oracle.ide.addin.Context)
              ExplorerWindowImpl.java:222
         void oracle.ide.addin.AbstractPinnable.viewSelectionChanged(oracle.ide.addin.ViewSelectionEvent)
              AbstractPinnable.java:179
         void oracle.ideimpl.explorer.ExplorerWindowImpl.viewSelectionChanged(oracle.ide.addin.ViewSelectionEvent)
              ExplorerWindowImpl.java:207
         void oracle.ide.addin.AbstractView.fireViewSelectionChanged(oracle.ide.addin.ViewSelectionEvent)
              AbstractView.java:413
         void oracle.ideimpl.navigator.NavigatorWindowImpl.fireViewSelectionChanged(oracle.ide.addin.ViewSelectionEvent)
              NavigatorWindowImpl.java:717
         void oracle.ideimpl.navigator.NavigatorWindowImpl$3.viewSelectionChanged(oracle.ide.addin.ViewSelectionEvent)
              NavigatorWindowImpl.java:997
         void oracle.ide.addin.AbstractView.fireViewSelectionChanged(oracle.ide.addin.ViewSelectionEvent)
              AbstractView.java:413
         void oracle.ideimpl.explorer.BaseTreeExplorer.actionPerformed(java.awt.event.ActionEvent)
              BaseTreeExplorer.java:1677
         void javax.swing.Timer.fireActionPerformed(java.awt.event.ActionEvent)
              Timer.java:150
         void javax.swing.Timer$DoPostEvent.run()
              Timer.java:108
         void java.awt.event.InvocationEvent.dispatch()
              InvocationEvent.java:154
         void java.awt.EventQueue.dispatchEvent(java.awt.AWTEvent)
              EventQueue.java:337
         boolean java.awt.EventDispatchThread.pumpOneEventForHierarchy(java.awt.Component)
              EventDispatchThread.java:131
         void java.awt.EventDispatchThread.pumpEventsForHierarchy(java.awt.Conditional, java.awt.Component)
              EventDispatchThread.java:98
         void java.awt.EventDispatchThread.pumpEvents(java.awt.Conditional)
              EventDispatchThread.java:93
         void java.awt.EventDispatchThread.run()
              EventDispatchThread.java:85

    There is a bug in 9.0.3 that occurs if the jar file you are importing is on a different drive letter than the one that your project is on. If the jar and your project are on the same drive then everything works ok. If they are not, the symptoms match the ones you are describing. The workaround is to relocate the jar file to the same drive. This has been fixed for future releases.
    Hope this helps.
    Ray

  • Creating a weblogic.jar file?

    I am looking to minimize my client size java app, which makes use of EJBs.
    I am using the verboseToZip utility that is described at:
    http://www.weblogic.com/docs51/techdeploy/verbosetozip.html
    It has reduced the size of the jar from 35MB to about 700K. The application
    has problems starting up, however. I get the exception shown below. Any
    idea what this means? I looked in the jar file, and sure enough there are
    classes in a directory named: com/rsa/jsafe. The error occurs when getting
    the EJB home object (at the start of the application).
    Thanks,
    Mike
    ------------------------------------------Exception-------------------------
    Exception in thread "main" java.lang.NoClassDefFoundError:
    COM/rsa/jsafe/JSAFE_InvalidUseException
    at
    weblogic.security.WLMessageDigest.getInstance(WLMessageDigest.java:53)
    at
    weblogic.security.MD5RandomBitsSource.seed(MD5RandomBitsSource.java:56)
    at weblogic.rjvm.LocalRJVM.<init>(LocalRJVM.java:108)
    at weblogic.rjvm.LocalRJVM.getLocalRJVM(LocalRJVM.java:85)
    at weblogic.rjvm.RJVMManager.getLocalRJVM(RJVMManager.java:89)
    at weblogic.rjvm.RJVMManager.initialize(RJVMManager.java:78)
    at weblogic.kernel.Kernel.ensureInitialized(Kernel.java:137)
    at weblogic.rjvm.ServerURL.findOrCreateRJVM(ServerURL.java:182)
    at
    weblogic.jndi.WLInitialContextFactoryDelegate.getInitialContext(WLInitialCon
    textFactoryDelegate.java:195)
    at
    weblogic.jndi.WLInitialContextFactoryDelegate.getInitialContext(WLInitialCon
    textFactoryDelegate.java:148)
    at
    weblogic.jndi.WLInitialContextFactory.getInitialContext(WLInitialContextFact
    ory.java:123)
    at
    javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:668)
    at
    javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:246)
    at javax.naming.InitialContext.init(InitialContext.java:222)
    at javax.naming.InitialContext.<init>(InitialContext.java:198)
    at
    com.ecocap.daemon2.dbthread.setupContextAndObjects(dbthread.java:1064)
    at com.ecocap.daemon2.dbthread.<init>(dbthread.java:48)
    at com.ecocap.daemon2.DaemonFrame.<init>(DaemonFrame.java:45)
    at com.ecocap.daemon2.daemon.<init>(daemon.java:27)
    at com.ecocap.daemon2.daemon.main(daemon.java:184)

    Don,
    Thanks for responding so quickly. You are correct - I am on Windows. I
    didn't realize it was a case sensitivity problem. Anyway, I took your third
    option, since it was the least painful for me and everything worked.
    Thanks,
    Mike
    "Don Ferguson" <[email protected]> wrote in message
    news:[email protected]...
    Let me guess: this is on Windows. I bet the problem concernscase-insensitive
    file names. When creating the client jar, a "com" directory was created.When
    it came time for the COM directory, Windows just treated it as equivalentto
    "com". However java does not. There are a variety of solutions:
    a) use Unix to build the client jar
    b) use ant to extract the appropriate subset of classes from weblogic.jarwhen
    creating the client.jar (bypassing the filesystem).
    c) move the COM stuff to a separate directory tree, and use somecombination of
    jar -C or jar -u to create the client.jar.
    Don
    Michael DiChiappari wrote:
    I am looking to minimize my client size java app, which makes use of
    EJBs.
    I am using the verboseToZip utility that is described at:
    http://www.weblogic.com/docs51/techdeploy/verbosetozip.html
    It has reduced the size of the jar from 35MB to about 700K. Theapplication
    has problems starting up, however. I get the exception shown below.Any
    idea what this means? I looked in the jar file, and sure enough thereare
    classes in a directory named: com/rsa/jsafe. The error occurs whengetting
    the EJB home object (at the start of the application).
    Thanks,
    Mike
    ------------------------------------------Exception-------------------------
    Exception in thread "main" java.lang.NoClassDefFoundError:
    COM/rsa/jsafe/JSAFE_InvalidUseException
    at
    weblogic.security.WLMessageDigest.getInstance(WLMessageDigest.java:53)
    at
    weblogic.security.MD5RandomBitsSource.seed(MD5RandomBitsSource.java:56)
    at weblogic.rjvm.LocalRJVM.<init>(LocalRJVM.java:108)
    at weblogic.rjvm.LocalRJVM.getLocalRJVM(LocalRJVM.java:85)
    at weblogic.rjvm.RJVMManager.getLocalRJVM(RJVMManager.java:89)
    at weblogic.rjvm.RJVMManager.initialize(RJVMManager.java:78)
    at weblogic.kernel.Kernel.ensureInitialized(Kernel.java:137)
    at weblogic.rjvm.ServerURL.findOrCreateRJVM(ServerURL.java:182)
    at
    weblogic.jndi.WLInitialContextFactoryDelegate.getInitialContext(WLInitialCon
    textFactoryDelegate.java:195)
    at
    weblogic.jndi.WLInitialContextFactoryDelegate.getInitialContext(WLInitialCon
    textFactoryDelegate.java:148)
    at
    weblogic.jndi.WLInitialContextFactory.getInitialContext(WLInitialContextFact
    ory.java:123)
    at
    javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:668)
    at
    javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:246)
    at javax.naming.InitialContext.init(InitialContext.java:222)
    at javax.naming.InitialContext.<init>(InitialContext.java:198)
    at
    com.ecocap.daemon2.dbthread.setupContextAndObjects(dbthread.java:1064)
    at com.ecocap.daemon2.dbthread.<init>(dbthread.java:48)
    at com.ecocap.daemon2.DaemonFrame.<init>(DaemonFrame.java:45)
    at com.ecocap.daemon2.daemon.<init>(daemon.java:27)
    at com.ecocap.daemon2.daemon.main(daemon.java:184)

Maybe you are looking for

  • Creating Post Script File from Word Document

    Hi How to create a Ps File from Word document.. Is there any api to do this ? ~Arjun

  • CK51N updates SO cost estimate but not the status of SO line item

    Hi All, Ours is a MTO scenario with Sales Order costing. When we execute the Order BOM cost estimate in CK51N the cost estmate is updated in tne sales order line item but the status of the Sales Order line item remains "to be costed". Please advise i

  • Can't access iTunes Library through iPhoto

    Hi, Since I've updated iTunes to 10.5 I can't access it's library using iPhoto. I've created a Slideshow in iPhoto and as I tried do add some music to it iPhoto tells me to run iTunes so it can access its music, yet itunes was actually running and th

  • How to fix unexpectedly quit

    when i open some of the programs it says relaunch Plz Respond

  • Hi, Nothing 2 do with this subject but

    Hi Nothing to do with this subject but just a quick question concerning the X-Fi Sound Card and Crystalizer,, i was wondering if audio still sounds much better on the X-Fi with your old speakers,, although they arnt that old I have a set of Altec Lan