Deploying java class that uses oraclexmlsql.jar

Hi,
I'm trying to deploy a java class that I wrote. It simply gets some data out of my oracle database as xml using the oraclexmlsql package. It works fine when I compile it within JDeveloper.
When I try to deploy it JDeveloper gives out the following error:
Errors in xmlquerydb:
ORA-29521: refferenced name oracle/xml/sql/query/OracleXMLQuery could not be found
loadjava: 1 errors
I can't figure out why that happens. I have used other classes and deployed them as Java stored Procedure and they work fine.
Thanks for help
Andre

I tried to load the oraclexmlsql.jar into the shema where I put my class. The classes from this jar were loaded but can not be compiled( apart from 3 ). I also tried loading my class into sys but I still can't compile it or the oraclexmlsql.jar classes.
Is the xsu12.jar a collection of all the classes that are allready in Sys after the database install?
I have noticed that on expanding the oraclexmlsql.jar file has a strange format and two classes classes are in the directory from which I expanded the jar. These two classes do not get a synonym on loading into the db. Could that have anything to do with it?
Thanks for more help
Andre

Similar Messages

  • Import java class that uses DbConnection

    How to import java class that uses DbConnection? I don't want to write my own PluginDataSource.
    It is possible to get Connection in imported java classes?

    This is not possible. Even connection used by individual PDS are only limited to those individaul PDS only and are not shared across them.
    Thanks
    Rohit

  • Deploying Java Desktop App using executable JAR files

    Hi there.
    Today I am very optimistic about java. I am a beginner, and I had tried (in my few free time) to understand how to deploy java desktop apps.
    I am using the lattest NetBeans IDE to do the programming and it is very very fast and optimized.
    Going to the point, I tried some time ago to deploy an application (made with this IDE) using JAR files, but even though the application run well on my IDE, when I packed it, it rised an error saying that
    java.lang.NoClassDefFoundError: org/netbeans/lib/awtextra/AbsoluteLayout
    I was using an absolute layout on my JFrame forms and this AbsoluteLayout is provided by netbeans and not by the normal SDK.
    I then looked for the absolute layout class and found a jar file in the following path:
    C:\netbeans\modules\ext\AbsoluteLayout.jar
    So I mounted the Jar file in my File Systems and then added the contents of the file to myApp.Jar file.
    I used the automated Jar Recipe Packaging feature of netbeans, that is why I needed to mount the AbsoluteLayout.jar file into my file systems.
    Now it runs fine by just right clicking the MyApp.jar file from Windows Explorer.
    In a next reply to this topic I will include some sample code so that anybody requiring to do such implementation can take this for help.
    Regards!
    JN

    Well,
    I will take some time here to show the basic source code and procedure to create a desktop application, pack it up in a Jar file for deployment, add other classes or jars to the deployment jar file and finally open the jar file as an executable. This applies for either windows and linux environments.
    Take in count i am using Netbeans IDE 3.x (3.5)
    First I open the IDE and create a new project called MyDesktopApp. This is done by going to the menu Project / Project Manager. Then click on the New button and specify the project name and click on OK.
    At this point, the Filesystems tab in the project explorer is empty. So I mount a directory to store myDesktopApp in it. I selected c:\MyDesktopApp but you can select any name you want.
    To mount the directory you follow these steps:
    1. Right-click on File Systems
    2. From the contextual menu select Mount > Local Directory
    3. In the filechooser window, you just browse it and SELECT the directory to mount. Be aware that you can even create the directory on this window. Do not enter (double-click) into the directory you want to mount, just select it and click on finish...
    4.Then the directory entry appears under the filesystems node of the project explorer.
    Now you have to create your application. You can either create a package (special configured and tracked directory) or you can create the clases directly inside the directory. For tidy project, I will create the package.
    To create the package follow these instructions:
    1. Right-click on the mounted directory and from the contextual menu select New > Java Package
    2. In the New Wizard - Java Package window, type the package name and click on finish. I use the "MyDesktopApp" as package name.
    OK. Now the package is created under the mounted directory. Now we have to create the Main Class. In this case I will use a JFRAME as the main class but you can create any class you want.
    To create the JFRAME as main class follow these steps:
    1. Right click on the java package you just created and select New>JFRAME from the contextual menu. If you do not see the JFRAME option on the NEW sub menu you will have to select the All Templates option. I explain the All Templates option now on, it will be easier to use the JFRAME if available. Once you use JFRAME with the all templates then the JFRAME will show up in further NEW usage.
    2. So finally we used the All Templates, and you select the Java GUI Forms > JFRAME form option and click on NEXT.
    3. Give it a name. (I used MyDesktopAppFrm) and click on finish. Be aware you can set advanced options by clicking on next. But for the purposes of this topic we will use default options so click on FINISH
    4. A new JFRAME form appears inside your package. Right click on the form and select Set layout > Absolute Layout.
    5. Add some controls and code. I added a label and a button. And coded the ActionPerformed event of the button to say hello! on the label. this is up to you. The code just looks as follows:
    private void jButton1ActionPerformed(java.awt.event.ActionEvent evt) {
    // Add your handling code here:
    jLabel1.setText("Hello folks!");
    6. Compile and execute the form.
    Let's say this is our Desktop Application. Now We will pack it in a Jar in two steps...
    A. Create a JAR file (Recipe)
    1. Right-click on your package and select New > All Tempaltes (Long Route) You can also select New > JAR Recipe if available.
    2. On the New Wizard Window, choose the JAR ARchives > JAR Recipe template and click on NEXT
    3. I used MyDesktopApp as the file name and Defaults and then click on Next.
    4. Specify the JAR Contents. Select the Package (not the mounted folder) from the mounted file system and click on add and then click on NEXT twice...
    5. On the JAR Manifest window, click on GENERATE
    6. Edit the manifest in the window to add the following code:
    Main-Class: MyDesktopApp.MyDesktopAppFrm
    7. Ensure the Main-Class definition is the same as your java package and JFRAME name. Click on FINISH
    8. At this point we have a jar file in your project directory but this file wont run because it is missing some Netbeans clases that we will add in the next set of steps... Just to check, compile the file (right click on the JAR file and compile) and try to execute. It must compile but must not execute.(well if it executes you are done. It may execute if you did not set the lay out of the form as AbsoluteLayout)
    B. Add the AbsoluteLayOut to the JAR
    1. Right click on File Systems and select Mount > Archive Files
    2. Look for your netbeans installation folder and select the following file:
    .../netbeans/modules/ext/AbsoluteLayout.jar
    3. Click on finish
    4. Now the JAR File is mounted in the file systems.
    5. Right-click on your MyDesktopApp.JAR file and select properties.
    6. Look for the contents property click once on it and then on its elipsis button [...]
    7. From the FileSystems box in the Contents window, select the AbsoluteLayOut file and click on Add
    8. Then the system asks you if you are sure. Of course you are so click OK. (If not sure, just read the message text and click OK...:-))
    9. Click on OK
    10. Compile your JAR Recipe (right click on it and Compile)
    11. Now you must be able to run the file by right clicking it and EXECUTE.
    12. Also you must be able to run the file by double clicking the file from a Windows Explorer. You may receive a message asking to select the program to run the file with. You must browse and select the Javaw.exe file in the bin directory of your Java RUn Time installation. This is typically located at C:\j2sdk1.4.0_01\jre\bin or something like that. Use the File-Search feature of window to locate the JAVAW.exe file if needed.
    I hope this long explanation helps somebody to deploy Java Desktop applications. Please reply the message if it helps you just to know it was useful.
    Thanks for your time....
    JN

  • Failure When Deploying EJB Project That Uses Library Onto Glassfish

    <font size=4>Hi,
    I have a multi project application that I am developing and I am having issues testing it. I have set up a EAR, WAR, EJB, and two library JARs. The EJB contains classes that use components from the library JARs or implement abstract classes from the library JARs. I have added the library JARs to the compile-time libraries of the EJB. I then also added the library JARs to the libraries of the EAR. However when I then go to deploy the EAR onto the Glassfish server I get this error, displayed in the Glassfish log:</font><br>
    <font size=2><font color="red">WARNING: Error in annotation processing: java.lang.NoClassDefFoundError: com/foo/sdk/core/AbstractClass</font><br>
    <font color="red">WARNING: Error in annotation processing: java.lang.NoClassDefFoundError: com/foo/sdk/core/AbstractClass</font><br>
    <font color="red">WARNING: Error in annotation processing: java.lang.NoClassDefFoundError: com/foo/sdk/core/AbstractClass</font><br>
    <font color="red">WARNING: Error in annotation processing: java.lang.NoClassDefFoundError: com/foo/sdk/core/AbstractClas</font><br>
    <font color="red">SEVERE: Class [ com/foo/sdk/core/InterfaceClass ] not found. Error while loading [ class com.foo2.BeanFooClass ]</font><br>
    <font color="red">SEVERE: Exception while deploying the app [FooEAR]</font><br>
    <font color="red">SEVERE: Invalid ejb jar [BeanFoo.jar]: it contains zero ejb. </font><br>
    Note:
    1. A valid ejb jar requires at least one session, entity (1.x/2.x style), or message-driven bean.
    2. EJB3+ entity beans (@Entity) are POJOs and please package them as library jar.
    3. If the jar file contains valid EJBs which are annotated with EJB component level annotations (@Stateless, @Stateful, @MessageDriven, @Singleton), please check server.log to see whether the annotations were processed properly.
    java.lang.IllegalArgumentException: Invalid ejb jar [BeanFoo.jar]: it contains zero ejb.
    Note:
    1. A valid ejb jar requires at least one session, entity (1.x/2.x style), or message-driven bean.
    2. EJB3+ entity beans (@Entity) are POJOs and please package them as library jar.
    3. If the jar file contains valid EJBs which are annotated with EJB component level annotations (@Stateless, @Stateful, @MessageDriven, @Singleton), please check server.log to see whether the annotations were processed properly.
         at com.sun.enterprise.deployment.util.EjbBundleValidator.accept(EjbBundleValidator.java:76)
         at com.sun.enterprise.deployment.util.ApplicationValidator.accept(ApplicationValidator.java:128)
         at com.sun.enterprise.deployment.EjbBundleDescriptor.visit(EjbBundleDescriptor.java:730)
         at com.sun.enterprise.deployment.Application.visit(Application.java:1768)
         at com.sun.enterprise.deployment.archivist.ApplicationArchivist.validate(ApplicationArchivist.java:799)
         at com.sun.enterprise.deployment.archivist.ApplicationArchivist.openWith(ApplicationArchivist.java:277)
         at com.sun.enterprise.deployment.archivist.ApplicationFactory.openWith(ApplicationFactory.java:240)
         at org.glassfish.javaee.core.deployment.DolProvider.load(DolProvider.java:170)
         at org.glassfish.javaee.core.deployment.DolProvider.load(DolProvider.java:93)
         at com.sun.enterprise.v3.server.ApplicationLifecycle.loadDeployer(ApplicationLifecycle.java:826)
         at com.sun.enterprise.v3.server.ApplicationLifecycle.setupContainerInfos(ApplicationLifecycle.java:768)
         at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:368)
         at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:240)
         at org.glassfish.deployment.admin.DeployCommand.execute(DeployCommand.java:370)
         at com.sun.enterprise.v3.admin.CommandRunnerImpl$1.execute(CommandRunnerImpl.java:355)
         at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:370)
         at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:1067)
         at com.sun.enterprise.v3.admin.CommandRunnerImpl.access$1200(CommandRunnerImpl.java:96)
         at com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1247)
         at com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1235)
         at com.sun.enterprise.v3.admin.AdminAdapter.doCommand(AdminAdapter.java:465)
         at com.sun.enterprise.v3.admin.AdminAdapter.service(AdminAdapter.java:222)
         at com.sun.grizzly.tcp.http11.GrizzlyAdapter.service(GrizzlyAdapter.java:168)
         at com.sun.enterprise.v3.server.HK2Dispatcher.dispath(HK2Dispatcher.java:117)
         at com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:234)
         at com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:822)
         at com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:719)
         at com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:1013)
         at com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:225)
         at com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:137)
         at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:104)
         at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:90)
         at com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:79)
         at com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:54)
         at com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:59)
         at com.sun.grizzly.ContextTask.run(ContextTask.java:71)
         at com.sun.grizzly.util.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:532)
         at com.sun.grizzly.util.AbstractThreadPool$Worker.run(AbstractThreadPool.java:513)
         at java.lang.Thread.run(Thread.java:679)
    <font color="red">SEVERE: Exception while deploying the app [FooEAR] : Invalid ejb jar [FooBean.jar]: it contains zero ejb. </font><br>
    Note:
    1. A valid ejb jar requires at least one session, entity (1.x/2.x style), or message-driven bean.
    2. EJB3+ entity beans (@Entity) are POJOs and please package them as library jar.
    3. If the jar file contains valid EJBs which are annotated with EJB component level annotations (@Stateless, @Stateful, @MessageDriven, @Singleton), please check server.log to see whether the annotations were processed properly.</font><br>
    <font size=4>I am using these technologies:
    NetBeans IDE 7.0 for Java EE
    Glassfish 3.1
    I did read that putting the libraries in this directory: <glassfish_home>/domains/domain1/lib may resolve the problem, however there must be a better way.
    Any help would be greatly appreciated!</font>
    Edited by: 866180 on Jun 15, 2011 2:32 PM

    First of all, use a normal font when posting a question. This is just terrible to read.
    You have multiple failures here. Did you actually read and try to understand the error?
    java.lang.NoClassDefFoundError: com/foo/sdk/core/AbstractClassJava is not going to lie, this class is not on the classpath of the application. Either the jar is missing, the class is missing from the jar or you put the jar in the wrong place. Open up the ear using your favorite zip tool and check out its structure. What is the path to the jar inside it?
    Also, open up the META-INF/manifest.mf file inside the EJB jar. Is there a class-path line in there? There shouldn't be!
    A valid ejb jar requires at least one session, entity (1.x/2.x style), or message-driven bean. Apparently your EJB jar contains not a single EJB or MDB class. Did you forget some annotations perhaps?
    Seems to me that your application compiles, but other than that it is very much broken.

  • Deploying an app that uses freeTTS

    I'll get the hang of this soon :-)
    I'm trying to deploy an application that uses the FreeTTS Text to speech. I'm using Netbeans IDE. The program runs fine locally, but when I run it via Web Start, it closes with an exception at the point it initialises the FreeTTS, so I guess I'm missing a .jar in the deployment?
    I've included 5 .jar files that were included with the FreeTTS download, (and these match the ones I have added to the list of libraries in Netbeans).. the important bits of the exception are:
    myapp.Main.StartVoice(Main.java:83) <<- this is my function that initialises
    myapp.Main.main(Main.java:45)
    sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    java.lang.reflect.Method.invoke(Unknown Source)
    com.sun.javaws.Launcher.executeApplication(Unknown Source)
    com.sun.javaws.Launcher.executeMainClass(Unknown Source)
    com.sun.javaws.Launcher.doLaunchApp(Unknown Source)
    com.sun.javaws.Launcher.run(Unknown Source)
    java.lang.Thread.run(Unknown Source)
    So, I guess the first question would be what .jar files do I need to include for a simple program that uses the Kevin16 voice to say "hello", and is the above exception telling me It is missing a .jar file?
    Thanks in advance for any help.
    Message was edited by:
    Forgeuk

    After a couple of days of 'dicking around' with WebStart, I finally stumbled on an answer.
    So, here it is for anyone else getting stuck on distributing a freeTTS application via webstart, it doesn't seem to mention this in any of the FAQs very clearly, it mentions something similar for the webstart clock app.
    I was simply missing a line in the JNLP file:
    <property name="freetts.voices" value="com.sun.speech.freetts.en.us.cmu_us_kal.KevinVoiceDirectory"/>
    Not entire sure what it does, but it now works!

  • Than how can i get java class by using it's class file?

    Hi
    After compilation of a java program, it creates a class file.
    After getting class file suppose class file has been deleted.
    Than how can i get java class by using it's class file?
    Thanks in advance.

    get a decompiler and run your class file through it--I'll assume you want the source code back and that you are not trying to recover a missing class file by attempting to use the class file that is missing--if it's missing, then I've not a clue on how to get it back by using what is already missing.
    BTW: many of your compilers have source control--if it does, just restore your missing file.

  • How do I write a Java Class that Loads a RPT and exports to PDF All Automatically?

    <p style="margin: 0in 0in 0pt" class="MsoNormal"><font face="Times New Roman" size="2">I am using Crystal Reports for Eclipse and I am trying to create a java class that will do everything independently.<span>  </span>It will take a .rpt file, load it with data from the database and then export that to a pdf file and put that pdf in a specific location with a specific name.</font></p><font face="Times New Roman" size="2"> </font> <p style="margin: 0in 0in 0pt" class="MsoNormal"><font face="Times New Roman" size="2">I am using the Crystal Reports for Eclipse and the sample jsp project does that but I am looking for a java class example that doesn't require human interaction through the website.<span>  </span>I have read the help file and seen snippet examples but I am not seeing a complete example.<span>  </span>Could someone point me in the proper direction of a good example either in the forum or the help file for eclipse?</font></p>

    <p>Hi,</p><p>    If you wanted to achieve this in a JSP page then I would suggest using the JSP Page Wizard as it allows you to select PDF as an output type. You can run the wizard and choose the PDF output and it will automatically generate the required code for you. </p><p>However, as you want to use a Java class then I would suggest downloading the following package of sample code:</p><p><a href="http://support.businessobjects.com/communityCS/FilesAndUpdates/crxi_r2_jrc_desktop_samples.zip">http://support.businessobjects.com/communityCS/FilesAndUpdates/crxi_r2_jrc_desktop_samples.zip</a> </p><p>This package includes a number of sample Java classes that demonstrate how to use the engine. The one that you will be interested in is titled "<strong>JRCExportReport"</strong> </p><p>To make life easier I would suggest trying the class in a Crystal Reports Web Project as the runtime libraries will automatically be in the classpath. </p><p>Anyway, give this a shot and let me know how you make out. </p><p>Regards,<br />Sean Johnson (CR4E Product Manager) <br /><br /> <a href="http://www.eclipseplugincentral.com/Web_Links-index-req-ratelink-lid-639.html">Rate this plugin @ Eclipse Plugin Central</a>          </p>

  • Deploy Java class to database from jDeveloper

    In 10g version I could create a deployment profile for deploying java class directly to the database from within jdeveloper. Looks like when you create a deployment profile in 11g that is no longer an option. Has the process changed, or was that functionality flat out removed?

    Hi,
    what about
    Nwe --> Database Tier --> Database Files --> Load Java and Java Stored Procedure
    Frank

  • Writing java program that uses UMTS service

    Hi
    I wonder if it is possible to write java programs that use UMTS services. Is there any class-package in java related with UMTS services?

    you can call a batch file using NT service. the batch file executes the java program. and you can also send an email thru that java program.

  • Call java class by using servlet

    i written simple servlet with doGet(0. I need call java class when i run servlet
    my requirement is when i start the server i will call servlet it will redirect to another page.
    but before that servlet will run java class. which i have written externally.
    i need to run java class by using servlet then it will redirect to another page.
    could you give the proper solution

    You don't call classes - you call methods.
    There's nothing special about servlets except the requirement that they implement HttpServlet. Servlets and other classes they interact with all get compiled into WEB-INF/classes on the server.
    To forward a request to, say, "other.jsp" you do:
    getServletContext().getRequestDispatcher("/other.jsp").forward(request,response);

  • How to archive a Java project that uses an Oracle XE DB?

    Hi,
    As the title suggests, I have a small Java application that uses Oracle XE as the database. Now that I have finished working on the application, I want to archive it and email it to friends and coworkers to test it. However, I know that none of these people have any database software installed. I also can't have them connect remotely to the one on my development machine.
    Is there any way to include the database in my application archive, so that all they have to do is run the application without worrying about its back-end? Should I use another back-end?
    Any help is appreciated.
    Thanks

    Unless your database server is on a remote machine that they can connect to then you can't package the WHOLE DATABASE, software and all and send it via e-mail.
    You can package your application, and also export the contents of your database into a .dmp file and send that.
    The user will NEED Oracle software then to import the contents of your .dmp file.

  • Where deploy Java class in XI 3.0?

    Hi all,
      I have created a Java class for Jco connection and I have created .jar file.
    At this point where must I copy .jar file in XI server???
    And what activities must I do for using my classes with message mapping???
    Thans in advance,
          Michele.

    Michele,
    We are facing a quite similar situation with XI 3.0.  What we've found is that the only methods available for integrating Java code is either
    a) Import a JAR archive into a specific software component
    b) Create a Java proxy to a J2EE environment where you
    implement your Java as EJBs.
    We're still investigating these and other possible options.
    Perhaps you need to install your JAR archive into each of the relevant components (I'm not sure if this works.)
    Another possible alternative could be to identify where the JRE is installed on your XI server and deploy your classes in the lib extensions. (i.e. put your jar file in something like C:\j2sdk1.4.2_04\jre\lib\ext and restart the server) You should then be able to access these from anywhere, though I'm not sure what SAP would say about this solution.
    HTH,
    Patrick Parsons

  • Deploy Java Classes to the Database 2

    Hi,
    I have made a program with JDeveloper, and with the function deploy I can store the code in the Oracle database.
    But now I want to use the loadjava tool.
    I put all the class files in one jar file and used the following command:
    (when I put the .java files in the jar file it works fine, but I want to load the .class files)
    loadjava -user test/test@xx–resolve file.jar
    The following errors I get:
    errors : class test/AnalyzeAccNum
    ORA-29534: referenced object XX.test/QueryManager could not be resolved
    ORA-29545: badly formed class:
    errors : class test/AnalyzeBalNew
    ORA-29534: referenced object XX.test/ReadEB could not be resolved
    ORA-29545: badly formed class:
    errors : class test/AnalyzeBalOld
    ORA-29534: referenced object XX.test/ReadEB could not be resolved
    ORA-29545: badly formed class:
    errors : class test/QueryManager
    ORA-29545: badly formed class:
    errors : class test/ReadEB
    ORA-29534: referenced object XX.test/FetchBankAccountID could not be resolved
    ORA-29545: badly formed class:
    errors : class test/RecognizeAndSaveLine
    ORA-29534: referenced object XX.test/AnalyzeStatementLine could not be resolved
    ORA-29545: badly formed class:
    The following operations failed
    class test/AnalyzeAccNum: resolution
    class test/AnalyzeBalNew: resolution
    class test/AnalyzeBalOld: resolution
    class test/AnalyzeDefLin: resolution
    class test/AnalyzeDesLin: resolution
    class test/AnalyzeDetLin: resolution
    class test/AnalyzePayRef: resolution
    class test/AnalyzeStaNum: resolution
    class test/AnalyzeStatementLine: resolution
    class test/BankCheck: resolution
    class test/FetchBankAccountID: resolution
    class test/FormatLayout: resolution
    class test/FormatLayoutTag: resolution
    class test/InsertInvoiceLine: resolution
    class test/InsertStatement: resolution
    class test/InsertStatementLine: resolution
    class test/ProcessStatementLine: resolution
    class test/QueryManager: resolution
    class test/ReadEB: resolution
    class test/RecognizeAndSaveLine: resolution
    exiting : Failures occurred during processing
    In JDeveloper it works fine, and I changed nothing in de code.
    What am I doing wrong?
    Thanks in advance.

    To make it more simple I made a new java file with only this code:
    package project1;
    public class test {
        public static void test() {
            System.out.println("test");
    }I used the following command to make a class file:
    javac -source 1.3 -target 1.3 test.java
    I used the following command for loadjava:
    loadjava -user test/test@database -resolve -verbose test.class
    this are the errors I get:
    arguments: '-user' 'test/test@database' '-resolve' '-verbose' 'test.class'
    creating : class project1/test
    loading : class project1/test
    resolving: class project1/test
    errors : class project1/test
    ORA-29545: badly formed class:
    The following operations failed
    class project1/test: resolution
    exiting : Failures occurred during processing
    If I do this all in JDeveloper it works fine when i want to deploy the .java file. But when I select the .class to deploy I get this message:
    Invoking loadjava on connection 'database' with arguments:
    -order -resolve -debug -force -thin -verbose
    creating : class project1/test
    loading : class project1/test
    Oracle Jdbc tracing is not avaliable in a non-debug zip/jar file
    resolving: class project1/test
    errors : class project1/test
    ORA-29545: badly formed class:
    The following operations failed
    class project1/test: resolution
    oracle.aurora.server.tools.loadjava.ToolsException: Failures occurred during processing
         at oracle.aurora.server.tools.loadjava.LoadJava.process(LoadJava.java:863)
         at oracle.jdeveloper.deploy.tools.OracleLoadjava.deploy(OracleLoadjava.java:116)
         at oracle.jdeveloper.deploy.tools.OracleLoadjava.deploy(OracleLoadjava.java:46)
         at oracle.jdevimpl.deploy.OracleDeployer.deploy(OracleDeployer.java:97)
         at oracle.jdevimpl.deploy.StoredProcHandler.doDeploy(StoredProcHandler.java:473)
         at oracle.jdevimpl.deploy.StoredProcHandler.doDeploy(StoredProcHandler.java:360)
         at oracle.jdevimpl.deploy.StoredProcHandler.doDeployToMostRecent(StoredProcHandler.java:256)
         at oracle.jdevimpl.deploy.StoredProcProfileDt$2.run(StoredProcProfileDt.java:193)
    #### Deployment incomplete. #### Jun 20, 2007 8:51:09 AM
    *** Note ***
    One possibility for the deployment failure is that the target Database may not support JDK version 1.3. Updating your Project Properties compiler Source & Target to an earlier release could fix this problem.
    Someone who knows what the problem is?
    Message was edited by:
    KdeGraaf

  • Problem deploying an EJB that uses the JCE 1.2.1 api

    We are deploying a JAR file containing all EJBs of our application on
    Weblogic 5.1 SP4 and we're getting a DeploymentException (which is
    fully included at the end of the message).
    We have no problem deploying the same JAR file on WebLogic 5.1 SP8.
    We have isolated each EJB, so that one EJB is pack into is own JAR
    file. We were able to deploy all EJBs but the one using the JCE 1.2.1
    api.
    Is there any issue using JCE 1.2.1 within an EJB under WL SP4 ?
    As I mentionned earlier, everything works fine with SP8 ?
    Any help will be greatly appreciated.
    Patrick
    Complete error dump:
    Fri Dec 21 14:06:07 EST 2001:<E> <EJB> Could not deploy:
    'C:/weblogic/myserver/eportal/EpcWSHBilling.jar': file is not a valid
    jar file, or does not
    contain a valid bean
    weblogic.ejb.common.DeploymentException: DeploymentException opening
    JAR file C:\weblogic\myserver\eportal\EpcWSHBilling.jar; nested
    exception is:
    weblogic.ejb.deployment.JarLoadException - with nested
    exception:
    [weblogic.ejb.common.DeploymentException: Problem creating deployment
    C:/weblogic/myserver/eportal/EpcWSHBilling.jar from
    C:\weblogic\myserver\eportal\EpcWSHBilling.jar; nested exception is:
            weblogic.ejb.common.DeploymentException: could not read JAR
    file 'C:\weblogic\myserver\tmp_deployments\ejbjar2596.jar'
    weblogic.ejb.common.DeploymentException: loading EJB JAR
    C:\weblogic\myserver\tmp_deployments\ejbjar2596.jar; nested exception
    is:
            weblogic.ejb.common.DeploymentException: loading EJB JAR
    C:\weblogic\myserver\tmp_deployments\ejbjar2596.jar; nested exception
    is:
            java.lang.NullPointerException
    weblogic.ejb.common.DeploymentException: loading EJB JAR
    C:\weblogic\myserver\tmp_deployments\ejbjar2596.jar; nested exception
    is:
            java.lang.NullPointerException
    java.lang.NullPointerException
            at weblogic.ejb.internal.depend.ClosedSet.skipClass(ClosedSet.java,
    Compiled Code)
            at weblogic.ejb.internal.depend.ClosedSet.addClass(ClosedSet.java,
    Compiled Code)
            at weblogic.ejb.internal.depend.ClosedSet.findConstants(ClosedSet.java,
    Compiled Code)
            at weblogic.ejb.internal.depend.ClosedSet.run(ClosedSet.java,
    Compiled Code)
            at weblogic.ejb.internal.depend.ClosedSet.findDependencies(ClosedSet.java:53)
            at weblogic.ejb.internal.EJBJarLoader$ClosedSetAdapter.findDependencies(EJBJarLoader.java:220)
            at weblogic.ejb.internal.EJBJarLoader.computeExclude(EJBJarLoader.java,
    Compiled Code)
            at weblogic.ejb.internal.EJBJarLoader.initialize(EJBJarLoader.java:125)
            at weblogic.ejb.internal.EJBJarLoader.<init>(EJBJarLoader.java:88)
            at weblogic.ejb.internal.EJBJarDeployment.setupJar(EJBJarDeployment.java,
    Compiled Code)
            at weblogic.ejb.internal.EJBJarDeployment.setup(EJBJarDeployment.java:211)
            at weblogic.ejb.internal.EJBJarDeployment.setup(EJBJarDeployment.java:182)
            at weblogic.ejb.internal.EJBJarDeployment.setup(EJBJarDeployment.java:164)
            at weblogic.ejb.internal.EJBDeploymentImpl.<init>(EJBDeploymentImpl.java:172)
            at weblogic.ejb.internal.EJBJarDeployment.<init>(EJBJarDeployment.java:122)
            at weblogic.ejb.internal.EJBJarDeployment.<init>(EJBJarDeployment.java:112)
            at weblogic.ejb.internal.EJBManagerImpl.deploy(EJBManagerImpl.java:305)
            at weblogic.ejb.internal.EJBManagerImpl.deployBeans(EJBManagerImpl.java,
    Compiled Code)
            at weblogic.ejb.internal.EJBManagerImpl.<init>(EJBManagerImpl.java:242)
            at weblogic.t3.srvr.T3Srvr.start(T3Srvr.java, Compiled Code)
            at weblogic.t3.srvr.T3Srvr.main(T3Srvr.java:825)
            at java.lang.reflect.Method.invoke(Native Method)
            at weblogic.Server.startServerDynamically(Server.java:99)
            at weblogic.Server.main(Server.java:65)
            at weblogic.Server.main(Server.java:55)
    weblogic.ejb.common.DeploymentException: Problem creating deployment
    C:/weblogic/myserver/eportal/EpcWSHBilling.jar from
    C:\weblogic\myserver\eportal\EpcWSHBilling.jar; nested exception is:
    weblogic.ejb.common.DeploymentException: could not read JAR
    file 'C:\weblogic\myserver\tmp_deployments\ejbjar2596.jar'
    weblogic.ejb.common.DeploymentException: loading EJB JAR
    C:\weblogic\myserver\tmp_deployments\ejbjar2596.jar; nested exception
    is:
    weblogic.ejb.common.DeploymentException: loading EJB JAR
    C:\weblogic\myserver\tmp_deployments\ejbjar2596.jar; nested exception
    is:
    java.lang.NullPointerException
    weblogic.ejb.common.DeploymentException: loading EJB JAR
    C:\weblogic\myserver\tmp_deployments\ejbjar2596.jar; nested exception
    is:
    java.lang.NullPointerException
    java.lang.NullPointerException
    at weblogic.ejb.internal.depend.ClosedSet.skipClass(ClosedSet.java,
    Compiled Code)
    at weblogic.ejb.internal.depend.ClosedSet.addClass(ClosedSet.java,
    Compiled Code)
    at weblogic.ejb.internal.depend.ClosedSet.findConstants(ClosedSet.java,
    Compiled Code)
    at weblogic.ejb.internal.depend.ClosedSet.run(ClosedSet.java,
    Compiled Code)
    at weblogic.ejb.internal.depend.ClosedSet.findDependencies(ClosedSet.java:53)
    at weblogic.ejb.internal.EJBJarLoader$ClosedSetAdapter.findDependencies(EJBJarLoader.java:220)
    at weblogic.ejb.internal.EJBJarLoader.computeExclude(EJBJarLoader.java,
    Compiled Code)
    at weblogic.ejb.internal.EJBJarLoader.initialize(EJBJarLoader.java:125)
    at weblogic.ejb.internal.EJBJarLoader.<init>(EJBJarLoader.java:88)
    at weblogic.ejb.internal.EJBJarDeployment.setupJar(EJBJarDeployment.java,
    Compiled Code)
    at weblogic.ejb.internal.EJBJarDeployment.setup(EJBJarDeployment.java:211)
    at weblogic.ejb.internal.EJBJarDeployment.setup(EJBJarDeployment.java:182)
    at weblogic.ejb.internal.EJBJarDeployment.setup(EJBJarDeployment.java:164)
    at weblogic.ejb.internal.EJBDeploymentImpl.<init>(EJBDeploymentImpl.java:172)
    at weblogic.ejb.internal.EJBJarDeployment.<init>(EJBJarDeployment.java:122)
    at weblogic.ejb.internal.EJBJarDeployment.<init>(EJBJarDeployment.java:112)
    at weblogic.ejb.internal.EJBManagerImpl.deploy(EJBManagerImpl.java:305)
    at weblogic.ejb.internal.EJBManagerImpl.deployBeans(EJBManagerImpl.java,
    Compiled Code)
    at weblogic.ejb.internal.EJBManagerImpl.<init>(EJBManagerImpl.java:242)
    at weblogic.t3.srvr.T3Srvr.start(T3Srvr.java, Compiled Code)
    at weblogic.t3.srvr.T3Srvr.main(T3Srvr.java:825)
    at java.lang.reflect.Method.invoke(Native Method)
    at weblogic.Server.startServerDynamically(Server.java:99)
    at weblogic.Server.main(Server.java:65)
    at weblogic.Server.main(Server.java:55)
    weblogic.ejb.common.DeploymentException: could not read JAR file
    'C:\weblogic\myserver\tmp_deployments\ejbjar2596.jar'
    weblogic.ejb.common.DeploymentException: loading EJB JAR
    C:\weblogic\myserver\tmp_deployments\ejbjar2596.jar; nested exception
    is:
    weblogic.ejb.common.DeploymentException: loading EJB JAR
    C:\weblogic\myserver\tmp_deployments\ejbjar2596.jar; nested exception
    is:
    java.lang.NullPointerException
    weblogic.ejb.common.DeploymentException: loading EJB JAR
    C:\weblogic\myserver\tmp_deployments\ejbjar2596.jar; nested exception
    is:
    java.lang.NullPointerException
    java.lang.NullPointerException
    at weblogic.ejb.internal.depend.ClosedSet.skipClass(ClosedSet.java,
    Compiled Code)
    at weblogic.ejb.internal.depend.ClosedSet.addClass(ClosedSet.java,
    Compiled Code)
    at weblogic.ejb.internal.depend.ClosedSet.findConstants(ClosedSet.java,
    Compiled Code)
    at weblogic.ejb.internal.depend.ClosedSet.run(ClosedSet.java,
    Compiled Code)
    at weblogic.ejb.internal.depend.ClosedSet.findDependencies(ClosedSet.java:53)
    at weblogic.ejb.internal.EJBJarLoader$ClosedSetAdapter.findDependencies(EJBJarLoader.java:220)
    at weblogic.ejb.internal.EJBJarLoader.computeExclude(EJBJarLoader.java,
    Compiled Code)
    at weblogic.ejb.internal.EJBJarLoader.initialize(EJBJarLoader.java:125)
    at weblogic.ejb.internal.EJBJarLoader.<init>(EJBJarLoader.java:88)
    at weblogic.ejb.internal.EJBJarDeployment.setupJar(EJBJarDeployment.java,
    Compiled Code)
    at weblogic.ejb.internal.EJBJarDeployment.setup(EJBJarDeployment.java:211)
    at weblogic.ejb.internal.EJBJarDeployment.setup(EJBJarDeployment.java:182)
    at weblogic.ejb.internal.EJBJarDeployment.setup(EJBJarDeployment.java:164)
    at weblogic.ejb.internal.EJBDeploymentImpl.<init>(EJBDeploymentImpl.java:172)
    at weblogic.ejb.internal.EJBJarDeployment.<init>(EJBJarDeployment.java:122)
    at weblogic.ejb.internal.EJBJarDeployment.<init>(EJBJarDeployment.java:112)
    at weblogic.ejb.internal.EJBManagerImpl.deploy(EJBManagerImpl.java:305)
    at weblogic.ejb.internal.EJBManagerImpl.deployBeans(EJBManagerImpl.java,
    Compiled Code)
    at weblogic.ejb.internal.EJBManagerImpl.<init>(EJBManagerImpl.java:242)
    at weblogic.t3.srvr.T3Srvr.start(T3Srvr.java, Compiled Code)
    at weblogic.t3.srvr.T3Srvr.main(T3Srvr.java:825)
    at java.lang.reflect.Method.invoke(Native Method)
    at weblogic.Server.startServerDynamically(Server.java:99)
    at weblogic.Server.main(Server.java:65)
    at weblogic.Server.main(Server.java:55)
    at weblogic.ejb.internal.EJBJarDeployment.setup(EJBJarDeployment.java:213)
    at weblogic.ejb.internal.EJBJarDeployment.setup(EJBJarDeployment.java:182)
    at weblogic.ejb.internal.EJBJarDeployment.setup(EJBJarDeployment.java:164)
    at weblogic.ejb.internal.EJBDeploymentImpl.<init>(EJBDeploymentImpl.java:172)
    at weblogic.ejb.internal.EJBJarDeployment.<init>(EJBJarDeployment.java:122)
    at weblogic.ejb.internal.EJBJarDeployment.<init>(EJBJarDeployment.java:112)
    at weblogic.ejb.internal.EJBManagerImpl.deploy(EJBManagerImpl.java:305)
    at weblogic.ejb.internal.EJBManagerImpl.deployBeans(EJBManagerImpl.java,
    Compiled Code)
    at weblogic.ejb.internal.EJBManagerImpl.<init>(EJBManagerImpl.java:242)
    at weblogic.t3.srvr.T3Srvr.start(T3Srvr.java, Compiled Code)
    at weblogic.t3.srvr.T3Srvr.main(T3Srvr.java:825)
    at java.lang.reflect.Method.invoke(Native Method)
    at weblogic.Server.startServerDynamically(Server.java:99)
    at weblogic.Server.main(Server.java:65)
    at weblogic.Server.main(Server.java:55)
    --------------- nested within: ------------------
    weblogic.ejb.deployment.JarLoadException - with nested exception:
    [weblogic.ejb.common.DeploymentException: Problem creating deployment
    C:/weblogic/myserver/eportal/EpcWSHBilling.jar from
    C:\weblogic\myserver\eportal\EpcWSHBilling.jar; nested exception is:
            weblogic.ejb.common.DeploymentException: could not read JAR
    file 'C:\weblogic\myserver\tmp_deployments\ejbjar2596.jar'
    weblogic.ejb.common.DeploymentException: loading EJB JAR
    C:\weblogic\myserver\tmp_deployments\ejbjar2596.jar; nested exception
    is:
            weblogic.ejb.common.DeploymentException: loading EJB JAR
    C:\weblogic\myserver\tmp_deployments\ejbjar2596.jar; nested exception
    is:
            java.lang.NullPointerException
    weblogic.ejb.common.DeploymentException: loading EJB JAR
    C:\weblogic\myserver\tmp_deployments\ejbjar2596.jar; nested exception
    is:
            java.lang.NullPointerException
    java.lang.NullPointerException
            at weblogic.ejb.internal.depend.ClosedSet.skipClass(ClosedSet.java,
    Compiled Code)
            at weblogic.ejb.internal.depend.ClosedSet.addClass(ClosedSet.java,
    Compiled Code)
            at weblogic.ejb.internal.depend.ClosedSet.findConstants(ClosedSet.java,
    Compiled Code)
            at weblogic.ejb.internal.depend.ClosedSet.run(ClosedSet.java,
    Compiled Code)
            at weblogic.ejb.internal.depend.ClosedSet.findDependencies(ClosedSet.java:53)
            at weblogic.ejb.internal.EJBJarLoader$ClosedSetAdapter.findDependencies(EJBJarLoader.java:220)
            at weblogic.ejb.internal.EJBJarLoader.computeExclude(EJBJarLoader.java,
    Compiled Code)
            at weblogic.ejb.internal.EJBJarLoader.initialize(EJBJarLoader.java:125)
            at weblogic.ejb.internal.EJBJarLoader.<init>(EJBJarLoader.java:88)
            at weblogic.ejb.internal.EJBJarDeployment.setupJar(EJBJarDeployment.java,
    Compiled Code)
            at weblogic.ejb.internal.EJBJarDeployment.setup(EJBJarDeployment.java:211)
            at weblogic.ejb.internal.EJBJarDeployment.setup(EJBJarDeployment.java:182)
            at weblogic.ejb.internal.EJBJarDeployment.setup(EJBJarDeployment.java:164)
            at weblogic.ejb.internal.EJBDeploymentImpl.<init>(EJBDeploymentImpl.java:172)
            at weblogic.ejb.internal.EJBJarDeployment.<init>(EJBJarDeployment.java:122)
            at weblogic.ejb.internal.EJBJarDeployment.<init>(EJBJarDeployment.java:112)
            at weblogic.ejb.internal.EJBManagerImpl.deploy(EJBManagerImpl.java:305)
            at weblogic.ejb.internal.EJBManagerImpl.deployBeans(EJBManagerImpl.java,
    Compiled Code)
            at weblogic.ejb.internal.EJBManagerImpl.<init>(EJBManagerImpl.java:242)
            at weblogic.t3.srvr.T3Srvr.start(T3Srvr.java, Compiled Code)
            at weblogic.t3.srvr.T3Srvr.main(T3Srvr.java:825)
            at java.lang.reflect.Method.invoke(Native Method)
            at weblogic.Server.startServerDynamically(Server.java:99)
            at weblogic.Server.main(Server.java:65)
            at weblogic.Server.main(Server.java:55)
    at weblogic.ejb.internal.EJBManagerImpl.deploy(EJBManagerImpl.java:313)
    at weblogic.ejb.internal.EJBManagerImpl.deployBeans(EJBManagerImpl.java,
    Compiled Code)
    at weblogic.ejb.internal.EJBManagerImpl.<init>(EJBManagerImpl.java:242)
    at weblogic.t3.srvr.T3Srvr.start(T3Srvr.java, Compiled Code)
    at weblogic.t3.srvr.T3Srvr.main(T3Srvr.java:825)
    at java.lang.reflect.Method.invoke(Native Method)
    at weblogic.Server.startServerDynamically(Server.java:99)
    at weblogic.Server.main(Server.java:65)
    at weblogic.Server.main(Server.java:55)

    We are deploying a JAR file containing all EJBs of our application on
    Weblogic 5.1 SP4 and we're getting a DeploymentException (which is
    fully included at the end of the message).
    We have no problem deploying the same JAR file on WebLogic 5.1 SP8.
    We have isolated each EJB, so that one EJB is pack into is own JAR
    file. We were able to deploy all EJBs but the one using the JCE 1.2.1
    api.
    Is there any issue using JCE 1.2.1 within an EJB under WL SP4 ?
    As I mentionned earlier, everything works fine with SP8 ?
    Any help will be greatly appreciated.
    Patrick
    Complete error dump:
    Fri Dec 21 14:06:07 EST 2001:<E> <EJB> Could not deploy:
    'C:/weblogic/myserver/eportal/EpcWSHBilling.jar': file is not a valid
    jar file, or does not
    contain a valid bean
    weblogic.ejb.common.DeploymentException: DeploymentException opening
    JAR file C:\weblogic\myserver\eportal\EpcWSHBilling.jar; nested
    exception is:
    weblogic.ejb.deployment.JarLoadException - with nested
    exception:
    [weblogic.ejb.common.DeploymentException: Problem creating deployment
    C:/weblogic/myserver/eportal/EpcWSHBilling.jar from
    C:\weblogic\myserver\eportal\EpcWSHBilling.jar; nested exception is:
            weblogic.ejb.common.DeploymentException: could not read JAR
    file 'C:\weblogic\myserver\tmp_deployments\ejbjar2596.jar'
    weblogic.ejb.common.DeploymentException: loading EJB JAR
    C:\weblogic\myserver\tmp_deployments\ejbjar2596.jar; nested exception
    is:
            weblogic.ejb.common.DeploymentException: loading EJB JAR
    C:\weblogic\myserver\tmp_deployments\ejbjar2596.jar; nested exception
    is:
            java.lang.NullPointerException
    weblogic.ejb.common.DeploymentException: loading EJB JAR
    C:\weblogic\myserver\tmp_deployments\ejbjar2596.jar; nested exception
    is:
            java.lang.NullPointerException
    java.lang.NullPointerException
            at weblogic.ejb.internal.depend.ClosedSet.skipClass(ClosedSet.java,
    Compiled Code)
            at weblogic.ejb.internal.depend.ClosedSet.addClass(ClosedSet.java,
    Compiled Code)
            at weblogic.ejb.internal.depend.ClosedSet.findConstants(ClosedSet.java,
    Compiled Code)
            at weblogic.ejb.internal.depend.ClosedSet.run(ClosedSet.java,
    Compiled Code)
            at weblogic.ejb.internal.depend.ClosedSet.findDependencies(ClosedSet.java:53)
            at weblogic.ejb.internal.EJBJarLoader$ClosedSetAdapter.findDependencies(EJBJarLoader.java:220)
            at weblogic.ejb.internal.EJBJarLoader.computeExclude(EJBJarLoader.java,
    Compiled Code)
            at weblogic.ejb.internal.EJBJarLoader.initialize(EJBJarLoader.java:125)
            at weblogic.ejb.internal.EJBJarLoader.<init>(EJBJarLoader.java:88)
            at weblogic.ejb.internal.EJBJarDeployment.setupJar(EJBJarDeployment.java,
    Compiled Code)
            at weblogic.ejb.internal.EJBJarDeployment.setup(EJBJarDeployment.java:211)
            at weblogic.ejb.internal.EJBJarDeployment.setup(EJBJarDeployment.java:182)
            at weblogic.ejb.internal.EJBJarDeployment.setup(EJBJarDeployment.java:164)
            at weblogic.ejb.internal.EJBDeploymentImpl.<init>(EJBDeploymentImpl.java:172)
            at weblogic.ejb.internal.EJBJarDeployment.<init>(EJBJarDeployment.java:122)
            at weblogic.ejb.internal.EJBJarDeployment.<init>(EJBJarDeployment.java:112)
            at weblogic.ejb.internal.EJBManagerImpl.deploy(EJBManagerImpl.java:305)
            at weblogic.ejb.internal.EJBManagerImpl.deployBeans(EJBManagerImpl.java,
    Compiled Code)
            at weblogic.ejb.internal.EJBManagerImpl.<init>(EJBManagerImpl.java:242)
            at weblogic.t3.srvr.T3Srvr.start(T3Srvr.java, Compiled Code)
            at weblogic.t3.srvr.T3Srvr.main(T3Srvr.java:825)
            at java.lang.reflect.Method.invoke(Native Method)
            at weblogic.Server.startServerDynamically(Server.java:99)
            at weblogic.Server.main(Server.java:65)
            at weblogic.Server.main(Server.java:55)
    weblogic.ejb.common.DeploymentException: Problem creating deployment
    C:/weblogic/myserver/eportal/EpcWSHBilling.jar from
    C:\weblogic\myserver\eportal\EpcWSHBilling.jar; nested exception is:
    weblogic.ejb.common.DeploymentException: could not read JAR
    file 'C:\weblogic\myserver\tmp_deployments\ejbjar2596.jar'
    weblogic.ejb.common.DeploymentException: loading EJB JAR
    C:\weblogic\myserver\tmp_deployments\ejbjar2596.jar; nested exception
    is:
    weblogic.ejb.common.DeploymentException: loading EJB JAR
    C:\weblogic\myserver\tmp_deployments\ejbjar2596.jar; nested exception
    is:
    java.lang.NullPointerException
    weblogic.ejb.common.DeploymentException: loading EJB JAR
    C:\weblogic\myserver\tmp_deployments\ejbjar2596.jar; nested exception
    is:
    java.lang.NullPointerException
    java.lang.NullPointerException
    at weblogic.ejb.internal.depend.ClosedSet.skipClass(ClosedSet.java,
    Compiled Code)
    at weblogic.ejb.internal.depend.ClosedSet.addClass(ClosedSet.java,
    Compiled Code)
    at weblogic.ejb.internal.depend.ClosedSet.findConstants(ClosedSet.java,
    Compiled Code)
    at weblogic.ejb.internal.depend.ClosedSet.run(ClosedSet.java,
    Compiled Code)
    at weblogic.ejb.internal.depend.ClosedSet.findDependencies(ClosedSet.java:53)
    at weblogic.ejb.internal.EJBJarLoader$ClosedSetAdapter.findDependencies(EJBJarLoader.java:220)
    at weblogic.ejb.internal.EJBJarLoader.computeExclude(EJBJarLoader.java,
    Compiled Code)
    at weblogic.ejb.internal.EJBJarLoader.initialize(EJBJarLoader.java:125)
    at weblogic.ejb.internal.EJBJarLoader.<init>(EJBJarLoader.java:88)
    at weblogic.ejb.internal.EJBJarDeployment.setupJar(EJBJarDeployment.java,
    Compiled Code)
    at weblogic.ejb.internal.EJBJarDeployment.setup(EJBJarDeployment.java:211)
    at weblogic.ejb.internal.EJBJarDeployment.setup(EJBJarDeployment.java:182)
    at weblogic.ejb.internal.EJBJarDeployment.setup(EJBJarDeployment.java:164)
    at weblogic.ejb.internal.EJBDeploymentImpl.<init>(EJBDeploymentImpl.java:172)
    at weblogic.ejb.internal.EJBJarDeployment.<init>(EJBJarDeployment.java:122)
    at weblogic.ejb.internal.EJBJarDeployment.<init>(EJBJarDeployment.java:112)
    at weblogic.ejb.internal.EJBManagerImpl.deploy(EJBManagerImpl.java:305)
    at weblogic.ejb.internal.EJBManagerImpl.deployBeans(EJBManagerImpl.java,
    Compiled Code)
    at weblogic.ejb.internal.EJBManagerImpl.<init>(EJBManagerImpl.java:242)
    at weblogic.t3.srvr.T3Srvr.start(T3Srvr.java, Compiled Code)
    at weblogic.t3.srvr.T3Srvr.main(T3Srvr.java:825)
    at java.lang.reflect.Method.invoke(Native Method)
    at weblogic.Server.startServerDynamically(Server.java:99)
    at weblogic.Server.main(Server.java:65)
    at weblogic.Server.main(Server.java:55)
    weblogic.ejb.common.DeploymentException: could not read JAR file
    'C:\weblogic\myserver\tmp_deployments\ejbjar2596.jar'
    weblogic.ejb.common.DeploymentException: loading EJB JAR
    C:\weblogic\myserver\tmp_deployments\ejbjar2596.jar; nested exception
    is:
    weblogic.ejb.common.DeploymentException: loading EJB JAR
    C:\weblogic\myserver\tmp_deployments\ejbjar2596.jar; nested exception
    is:
    java.lang.NullPointerException
    weblogic.ejb.common.DeploymentException: loading EJB JAR
    C:\weblogic\myserver\tmp_deployments\ejbjar2596.jar; nested exception
    is:
    java.lang.NullPointerException
    java.lang.NullPointerException
    at weblogic.ejb.internal.depend.ClosedSet.skipClass(ClosedSet.java,
    Compiled Code)
    at weblogic.ejb.internal.depend.ClosedSet.addClass(ClosedSet.java,
    Compiled Code)
    at weblogic.ejb.internal.depend.ClosedSet.findConstants(ClosedSet.java,
    Compiled Code)
    at weblogic.ejb.internal.depend.ClosedSet.run(ClosedSet.java,
    Compiled Code)
    at weblogic.ejb.internal.depend.ClosedSet.findDependencies(ClosedSet.java:53)
    at weblogic.ejb.internal.EJBJarLoader$ClosedSetAdapter.findDependencies(EJBJarLoader.java:220)
    at weblogic.ejb.internal.EJBJarLoader.computeExclude(EJBJarLoader.java,
    Compiled Code)
    at weblogic.ejb.internal.EJBJarLoader.initialize(EJBJarLoader.java:125)
    at weblogic.ejb.internal.EJBJarLoader.<init>(EJBJarLoader.java:88)
    at weblogic.ejb.internal.EJBJarDeployment.setupJar(EJBJarDeployment.java,
    Compiled Code)
    at weblogic.ejb.internal.EJBJarDeployment.setup(EJBJarDeployment.java:211)
    at weblogic.ejb.internal.EJBJarDeployment.setup(EJBJarDeployment.java:182)
    at weblogic.ejb.internal.EJBJarDeployment.setup(EJBJarDeployment.java:164)
    at weblogic.ejb.internal.EJBDeploymentImpl.<init>(EJBDeploymentImpl.java:172)
    at weblogic.ejb.internal.EJBJarDeployment.<init>(EJBJarDeployment.java:122)
    at weblogic.ejb.internal.EJBJarDeployment.<init>(EJBJarDeployment.java:112)
    at weblogic.ejb.internal.EJBManagerImpl.deploy(EJBManagerImpl.java:305)
    at weblogic.ejb.internal.EJBManagerImpl.deployBeans(EJBManagerImpl.java,
    Compiled Code)
    at weblogic.ejb.internal.EJBManagerImpl.<init>(EJBManagerImpl.java:242)
    at weblogic.t3.srvr.T3Srvr.start(T3Srvr.java, Compiled Code)
    at weblogic.t3.srvr.T3Srvr.main(T3Srvr.java:825)
    at java.lang.reflect.Method.invoke(Native Method)
    at weblogic.Server.startServerDynamically(Server.java:99)
    at weblogic.Server.main(Server.java:65)
    at weblogic.Server.main(Server.java:55)
    at weblogic.ejb.internal.EJBJarDeployment.setup(EJBJarDeployment.java:213)
    at weblogic.ejb.internal.EJBJarDeployment.setup(EJBJarDeployment.java:182)
    at weblogic.ejb.internal.EJBJarDeployment.setup(EJBJarDeployment.java:164)
    at weblogic.ejb.internal.EJBDeploymentImpl.<init>(EJBDeploymentImpl.java:172)
    at weblogic.ejb.internal.EJBJarDeployment.<init>(EJBJarDeployment.java:122)
    at weblogic.ejb.internal.EJBJarDeployment.<init>(EJBJarDeployment.java:112)
    at weblogic.ejb.internal.EJBManagerImpl.deploy(EJBManagerImpl.java:305)
    at weblogic.ejb.internal.EJBManagerImpl.deployBeans(EJBManagerImpl.java,
    Compiled Code)
    at weblogic.ejb.internal.EJBManagerImpl.<init>(EJBManagerImpl.java:242)
    at weblogic.t3.srvr.T3Srvr.start(T3Srvr.java, Compiled Code)
    at weblogic.t3.srvr.T3Srvr.main(T3Srvr.java:825)
    at java.lang.reflect.Method.invoke(Native Method)
    at weblogic.Server.startServerDynamically(Server.java:99)
    at weblogic.Server.main(Server.java:65)
    at weblogic.Server.main(Server.java:55)
    --------------- nested within: ------------------
    weblogic.ejb.deployment.JarLoadException - with nested exception:
    [weblogic.ejb.common.DeploymentException: Problem creating deployment
    C:/weblogic/myserver/eportal/EpcWSHBilling.jar from
    C:\weblogic\myserver\eportal\EpcWSHBilling.jar; nested exception is:
            weblogic.ejb.common.DeploymentException: could not read JAR
    file 'C:\weblogic\myserver\tmp_deployments\ejbjar2596.jar'
    weblogic.ejb.common.DeploymentException: loading EJB JAR
    C:\weblogic\myserver\tmp_deployments\ejbjar2596.jar; nested exception
    is:
            weblogic.ejb.common.DeploymentException: loading EJB JAR
    C:\weblogic\myserver\tmp_deployments\ejbjar2596.jar; nested exception
    is:
            java.lang.NullPointerException
    weblogic.ejb.common.DeploymentException: loading EJB JAR
    C:\weblogic\myserver\tmp_deployments\ejbjar2596.jar; nested exception
    is:
            java.lang.NullPointerException
    java.lang.NullPointerException
            at weblogic.ejb.internal.depend.ClosedSet.skipClass(ClosedSet.java,
    Compiled Code)
            at weblogic.ejb.internal.depend.ClosedSet.addClass(ClosedSet.java,
    Compiled Code)
            at weblogic.ejb.internal.depend.ClosedSet.findConstants(ClosedSet.java,
    Compiled Code)
            at weblogic.ejb.internal.depend.ClosedSet.run(ClosedSet.java,
    Compiled Code)
            at weblogic.ejb.internal.depend.ClosedSet.findDependencies(ClosedSet.java:53)
            at weblogic.ejb.internal.EJBJarLoader$ClosedSetAdapter.findDependencies(EJBJarLoader.java:220)
            at weblogic.ejb.internal.EJBJarLoader.computeExclude(EJBJarLoader.java,
    Compiled Code)
            at weblogic.ejb.internal.EJBJarLoader.initialize(EJBJarLoader.java:125)
            at weblogic.ejb.internal.EJBJarLoader.<init>(EJBJarLoader.java:88)
            at weblogic.ejb.internal.EJBJarDeployment.setupJar(EJBJarDeployment.java,
    Compiled Code)
            at weblogic.ejb.internal.EJBJarDeployment.setup(EJBJarDeployment.java:211)
            at weblogic.ejb.internal.EJBJarDeployment.setup(EJBJarDeployment.java:182)
            at weblogic.ejb.internal.EJBJarDeployment.setup(EJBJarDeployment.java:164)
            at weblogic.ejb.internal.EJBDeploymentImpl.<init>(EJBDeploymentImpl.java:172)
            at weblogic.ejb.internal.EJBJarDeployment.<init>(EJBJarDeployment.java:122)
            at weblogic.ejb.internal.EJBJarDeployment.<init>(EJBJarDeployment.java:112)
            at weblogic.ejb.internal.EJBManagerImpl.deploy(EJBManagerImpl.java:305)
            at weblogic.ejb.internal.EJBManagerImpl.deployBeans(EJBManagerImpl.java,
    Compiled Code)
            at weblogic.ejb.internal.EJBManagerImpl.<init>(EJBManagerImpl.java:242)
            at weblogic.t3.srvr.T3Srvr.start(T3Srvr.java, Compiled Code)
            at weblogic.t3.srvr.T3Srvr.main(T3Srvr.java:825)
            at java.lang.reflect.Method.invoke(Native Method)
            at weblogic.Server.startServerDynamically(Server.java:99)
            at weblogic.Server.main(Server.java:65)
            at weblogic.Server.main(Server.java:55)
    at weblogic.ejb.internal.EJBManagerImpl.deploy(EJBManagerImpl.java:313)
    at weblogic.ejb.internal.EJBManagerImpl.deployBeans(EJBManagerImpl.java,
    Compiled Code)
    at weblogic.ejb.internal.EJBManagerImpl.<init>(EJBManagerImpl.java:242)
    at weblogic.t3.srvr.T3Srvr.start(T3Srvr.java, Compiled Code)
    at weblogic.t3.srvr.T3Srvr.main(T3Srvr.java:825)
    at java.lang.reflect.Method.invoke(Native Method)
    at weblogic.Server.startServerDynamically(Server.java:99)
    at weblogic.Server.main(Server.java:65)
    at weblogic.Server.main(Server.java:55)

  • How to hot deploy java class?

    I write some java class and put them into the weblogic\class folder to
    replace the old java class files.
    When I run the program, the server still run the old java class.
    But when I restart the server, the server runs new java class.
    The server must restart, when I want to run new java class?
    thanks

    Does this work ??
    I was unable to achieve hot deployment using REDEPLOY file.
    Sheng Sheen <[email protected]> wrote in message
    news:[email protected]..
    You need to create a REDEPLOY file and touch the file.
    From the documentations:
    Dynamic Redeployment of Exploded Applications
    You can also dynamically redeploy applications or application components
    that have been deployed in exploded format. When an application has been
    deployed in exploded format, the Administration Server periodically looks
    for a file named REDEPLOY in the exploded application directory. If the
    timestamp on this file changes, the Administration Server redeploys the
    exploded directory.
    If you want to update files in an exploded application directory, do the
    following:
    a.. When you first deploy the exploded application, create an empty file
    named REDEPLOY in the directory where the exploded application resides.
    b.. To update the exploded application, copy the updated files over the
    existing files in that directory.
    c.. After copying the new files, touch the REDEPLOY file in the exploded
    directory to alter its timestamp.
    When the Administration Server detects the changed timestamp, it redeploys
    the contents of the exploded directory.
    "Alex" <[email protected]> wrote in message
    news:[email protected]..
    I write some java class and put them into the weblogic\class folder to
    replace the old java class files.
    When I run the program, the server still run the old java class.
    But when I restart the server, the server runs new java class.
    The server must restart, when I want to run new java class?
    thanks

Maybe you are looking for

  • Trackpad Model # mid 2009 13" unibody Macbook Pro

    What model trackpad can I use to replace the one in my mid 2009 unibody macbook pro?...and where can I get one from a preferably reliable source? It clicks but doesn't respond unless I press hard.  The Apple store offered to replace it but for a lot.

  • Unable to print / Concurrent program completes with warning

    Hi, We have recently re-built our Apps server from scratch, ie. install OS, Apps using rapidwiz, restore old backup. Now everything works perfect except printing. We are able to configure all the printers are can able to take test prints using cups f

  • CS3 Strange Behaviour or Bug?

    Create a shape. Fill the shape with a color no stroke. Copy that shape and paste in front. Make this new shape on top a gradient fill no stroke. Set the gradient fill to multiply 100%. Draw another radom shape on top your existing shapes. Now copy on

  • How to get list of VMs running under SCVMM using SCORCH activities

    hello, I am in learning phase on SCORCH...I wants to know steps required to get list of VMs running under SCVMM using SCORCH activities. Thanks Richa KM

  • Removal of the BUPA REL relationships on the ECC Side

    Hi Experts, We have the BUPA_REL Relationship maitnaiend in the ECC and we replicate to CRM. when the relationship are ended or deleted in ECC it is not gettign updated on the CRM.  Bdoc errors out and relationship still exists in CRM though it is re