JDeveloper 11.1.2.1.0 on OEL 5 can't open jar files and dies

I have just installed JDeveloper on a OEL 5 VM, and when I try to open or create a basic application I get a series of errors claiming that that java could not open jar files, which ultimately ends in the app dying, claiming that it has too many open files. The failures below were generated using the wizard to create a brand new "Java Desktop Application (ADF)" application. I used all default values on installation, including the bundled Java SDK. I am trying to familiarize myself with JDeveloper in preparation for a new development project, and would like to use Oracle technology since Pillar is now a part of Oracle. Any help would be appreciated.
uname -a:
Linux az-devoelvm-01 2.6.32-300.4.1.el5uek #1 SMP Fri Dec 23 03:13:22 EST 2011 x86_64 x86_64 x86_64 GNU/Linux
Below is the final failure:
SEVERE: framework event org.eclipse.osgi type 2
java.io.IOException: Too many open files
     at java.io.UnixFileSystem.createFileExclusively(Native Method)
     at java.io.File.checkAndCreate(File.java:1704)
     at java.io.File.createTempFile(File.java:1792)
     at org.eclipse.osgi.storagemanager.StorageManager.createTempFile(StorageManager.java:714)
     at org.eclipse.osgi.storagemanager.StorageManager.getOutputStream(StorageManager.java:776)
     at org.eclipse.osgi.internal.baseadaptor.BaseStorage.saveBundleDatas(BaseStorage.java:550)
     at org.eclipse.osgi.internal.baseadaptor.BaseStorage.saveAllData(BaseStorage.java:439)
     at org.eclipse.osgi.internal.baseadaptor.BaseStorage.access$1(BaseStorage.java:427)
     at org.eclipse.osgi.internal.baseadaptor.BaseStorage$StateSaver.run(BaseStorage.java:1219)
And this is an example of the failures to open the jar files:
SEVERE: framework event oracle.external.weblogic-script-runner type 2
java.util.zip.ZipException: Exception in opening zip file: /home/earnett/Oracle/Middleware/modules/features/weblogic.server.modules_10.3.5.0.jar
     at org.eclipse.osgi.framework.util.SecureAction.getZipFile(SecureAction.java:264)
     at org.eclipse.osgi.baseadaptor.bundlefile.ZipBundleFile.basicOpen(ZipBundleFile.java:88)
     at org.eclipse.osgi.baseadaptor.bundlefile.ZipBundleFile.getZipFile(ZipBundleFile.java:101)
     at org.eclipse.osgi.baseadaptor.bundlefile.ZipBundleFile.checkedOpen(ZipBundleFile.java:74)
     at org.apidesign.netbinox.JarBundleFile$1.checkedOpen(JarBundleFile.java:119)
     at org.eclipse.osgi.baseadaptor.bundlefile.ZipBundleFile.getEntry(ZipBundleFile.java:246)
     at org.apidesign.netbinox.JarBundleFile.findEntry(JarBundleFile.java:199)
     at org.apidesign.netbinox.JarBundleFile.resource(JarBundleFile.java:163)
     at org.netbeans.core.netigso.spi.NetigsoArchive$1.resource(NetigsoArchive.java:71)
     at org.netbeans.Archive.getData(Archive.java:199)
     at org.netbeans.NetigsoFramework.fromArchive(NetigsoFramework.java:130)
     at org.netbeans.core.netigso.Netigso.fromArchive(Netigso.java:461)
     at org.netbeans.core.netigso.spi.NetigsoArchive.fromArchive(NetigsoArchive.java:101)
     at org.apidesign.netbinox.JarBundleFile.getCachedEntry(JarBundleFile.java:210)
     at org.apidesign.netbinox.JarBundleFile.getEntry(JarBundleFile.java:218)
     at org.eclipse.osgi.baseadaptor.bundlefile.BundleFile.internalGetResourceURL(BundleFile.java:151)
     at org.eclipse.osgi.baseadaptor.bundlefile.BundleFile.getResourceURL(BundleFile.java:147)
     at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findResourceImpl(ClasspathManager.java:351)
     at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalResources(ClasspathManager.java:329)
     at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.findLocalResources(DefaultClassLoader.java:212)
     at org.eclipse.osgi.internal.loader.BundleLoader.findLocalResources(BundleLoader.java:769)
     at org.eclipse.osgi.internal.loader.SingleSourcePackage.getResources(SingleSourcePackage.java:41)
     at org.eclipse.osgi.internal.loader.MultiSourcePackage.getResources(MultiSourcePackage.java:51)
     at org.eclipse.osgi.internal.loader.BundleLoader.findResources(BundleLoader.java:688)
     at org.eclipse.osgi.internal.loader.buddy.RegisteredPolicy.loadResources(RegisteredPolicy.java:114)
     at org.eclipse.osgi.internal.loader.buddy.PolicyHandler.doBuddyResourcesLoading(PolicyHandler.java:168)
     at org.eclipse.osgi.internal.loader.BundleLoader.findResources(BundleLoader.java:709)
     at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.findResources(DefaultClassLoader.java:162)
     at java.lang.ClassLoader.getResources(ClassLoader.java:1039)
     at java.util.ServiceLoader$LazyIterator.hasNext(ServiceLoader.java:323)
     at java.util.ServiceLoader$1.hasNext(ServiceLoader.java:415)
     at oracle.adfdt.model.DataControlManager.addDataControlFilter(DataControlManager.java:763)
     at oracle.adfdtinternal.model.ide.dbpanel.DataControlFilterPalette.jbInit(DataControlFilterPalette.java:105)
     at oracle.adfdtinternal.model.ide.dbpanel.DataControlFilterPalette.<init>(DataControlFilterPalette.java:97)
     at oracle.adfdtinternal.model.ide.dbpanel.DataBindingDockeableWindow.<init>(DataBindingDockeableWindow.java:95)
     at oracle.adfdtinternal.model.ide.dbpanel.DataSourceDockableFactory.getDockWindow(DataSourceDockableFactory.java:62)
     at oracle.adfdtinternal.model.ide.dbpanel.DataSourceDockableFactory.getDockable(DataSourceDockableFactory.java:81)
     at oracle.ideimpl.docking.DockStationImpl.createDockable(DockStationImpl.java:1452)
     at oracle.ideimpl.docking.DockStationImpl.findDockable(DockStationImpl.java:1432)
     at oracle.ideri.navigator.NavigatorDockableFactory.createDrawer(NavigatorDockableFactory.java:70)
     at oracle.ideri.navigator.NavigatorDockableFactory.access$200(NavigatorDockableFactory.java:32)
     at oracle.ideri.navigator.NavigatorDockableFactory$ProxyAwareHostedDockableListener.hostedDockableRegistered(NavigatorDockableFactory.java:221)
     at oracle.ideimpl.docking.HostedDockableHook$2.run(HostedDockableHook.java:119)
     at oracle.ideimpl.extension.ExtensionManagerImpl$AfterExtensionLoadingRunnable.run(ExtensionManagerImpl.java:2130)
     at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
     at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:642)
     at java.awt.EventQueue.access$000(EventQueue.java:85)
     at java.awt.EventQueue$1.run(EventQueue.java:603)
     at java.awt.EventQueue$1.run(EventQueue.java:601)
     at java.security.AccessController.doPrivileged(Native Method)
     at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
     at java.awt.EventQueue.dispatchEvent(EventQueue.java:612)
     at oracle.javatools.internal.ui.EventQueueWrapper._dispatchEvent(EventQueueWrapper.java:169)
     at oracle.javatools.internal.ui.EventQueueWrapper.dispatchEvent(EventQueueWrapper.java:151)
     at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
     at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
     at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:178)
     at java.awt.Dialog$1.run(Dialog.java:1046)
     at java.awt.Dialog$3.run(Dialog.java:1098)
     at java.security.AccessController.doPrivileged(Native Method)
     at java.awt.Dialog.show(Dialog.java:1096)
     at java.awt.Component.show(Component.java:1585)
     at java.awt.Component.setVisible(Component.java:1537)
     at java.awt.Window.setVisible(Window.java:842)
     at java.awt.Dialog.setVisible(Dialog.java:986)
     at oracle.bali.ewt.dialog.JEWTDialog.runDialog(JEWTDialog.java:395)
     at oracle.bali.ewt.dialog.JEWTDialog.runDialog(JEWTDialog.java:356)
     at oracle.ideimpl.feedback2.client.ui.CustomerFeedbackDialog.runDialog(CustomerFeedbackDialog.java:110)
     at oracle.ideimpl.feedback2.client.FeedbackManagerImpl.showCustomerFeedbackDialog(FeedbackManagerImpl.java:525)
     at oracle.ideimpl.feedback2.client.FeedbackManagerImpl.showFeedbackDialog(FeedbackManagerImpl.java:360)
     at oracle.ideimpl.feedback2.client.FeedbackManagerImpl$2.run(FeedbackManagerImpl.java:238)
     at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
     at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:642)
     at java.awt.EventQueue.access$000(EventQueue.java:85)
     at java.awt.EventQueue$1.run(EventQueue.java:603)
     at java.awt.EventQueue$1.run(EventQueue.java:601)
     at java.security.AccessController.doPrivileged(Native Method)
     at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
     at java.awt.EventQueue.dispatchEvent(EventQueue.java:612)
     at oracle.javatools.internal.ui.EventQueueWrapper._dispatchEvent(EventQueueWrapper.java:169)
     at oracle.javatools.internal.ui.EventQueueWrapper.dispatchEvent(EventQueueWrapper.java:151)
     at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
     at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
     at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:178)
     at java.awt.Dialog$1.run(Dialog.java:1046)
     at java.awt.Dialog$3.run(Dialog.java:1098)
     at java.security.AccessController.doPrivileged(Native Method)
     at java.awt.Dialog.show(Dialog.java:1096)
     at java.awt.Component.show(Component.java:1585)
     at java.awt.Component.setVisible(Component.java:1537)
     at java.awt.Window.setVisible(Window.java:842)
     at java.awt.Dialog.setVisible(Dialog.java:986)
     at oracle.bali.ewt.dialog.JEWTDialog.runDialog(JEWTDialog.java:395)
     at oracle.bali.ewt.dialog.JEWTDialog.runDialog(JEWTDialog.java:356)
     at oracle.ide.dialogs.ProgressBar.start(ProgressBar.java:352)
     at oracle.ide.dialogs.ProgressBar.start(ProgressBar.java:243)
     at oracle.ide.dialogs.ProgressBar.start(ProgressBar.java:215)
     at oracle.jdeveloper.template.wizard.NewObjectFromTemplateWizard$WizardEventAdapter$1ProgressRunnable.start(NewObjectFromTemplateWizard.java:497)
     at oracle.jdeveloper.template.wizard.NewObjectFromTemplateWizard$WizardEventAdapter.wizardFinished(NewObjectFromTemplateWizard.java:537)
     at oracle.bali.ewt.wizard.BaseWizard.processWizardEvent(BaseWizard.java:2525)
     at oracle.bali.ewt.wizard.BaseWizard.processEventImpl(BaseWizard.java:2566)
     at oracle.bali.ewt.LWComponent.processEvent(LWComponent.java:658)
     at oracle.bali.ewt.wizard.BaseWizard.doFinish(BaseWizard.java:2171)
     at oracle.bali.ewt.wizard.BaseWizard$Action$1.run(BaseWizard.java:3948)
     at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
     at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:642)
     at java.awt.EventQueue.access$000(EventQueue.java:85)
     at java.awt.EventQueue$1.run(EventQueue.java:603)
     at java.awt.EventQueue$1.run(EventQueue.java:601)
     at java.security.AccessController.doPrivileged(Native Method)
     at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
     at java.awt.EventQueue.dispatchEvent(EventQueue.java:612)
     at oracle.javatools.internal.ui.EventQueueWrapper._dispatchEvent(EventQueueWrapper.java:169)
     at oracle.javatools.internal.ui.EventQueueWrapper.dispatchEvent(EventQueueWrapper.java:151)
     at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
     at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
     at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:178)
     at java.awt.Dialog$1.run(Dialog.java:1046)
     at java.awt.Dialog$3.run(Dialog.java:1098)
     at java.security.AccessController.doPrivileged(Native Method)
     at java.awt.Dialog.show(Dialog.java:1096)
     at java.awt.Component.show(Component.java:1585)
     at java.awt.Component.setVisible(Component.java:1537)
     at java.awt.Window.setVisible(Window.java:842)
     at java.awt.Dialog.setVisible(Dialog.java:986)
     at oracle.bali.ewt.wizard.WizardDialog.runDialog(WizardDialog.java:382)
     at oracle.bali.ewt.wizard.WizardDialog.runDialog(WizardDialog.java:298)
     at oracle.jdeveloper.template.wizard.NewObjectFromTemplateWizard.runWizard(NewObjectFromTemplateWizard.java:117)
     at oracle.jdeveloper.template.wizard.GalleryItemAdapter.invoke(GalleryItemAdapter.java:56)
     at oracle.ide.wizard.WizardManager.invokeWizard(WizardManager.java:446)
     at oracle.ide.wizard.WizardManager$1.run(WizardManager.java:530)
     at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
     at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:642)
     at java.awt.EventQueue.access$000(EventQueue.java:85)
     at java.awt.EventQueue$1.run(EventQueue.java:603)
     at java.awt.EventQueue$1.run(EventQueue.java:601)
     at java.security.AccessController.doPrivileged(Native Method)
     at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
     at java.awt.EventQueue.dispatchEvent(EventQueue.java:612)
     at oracle.javatools.internal.ui.EventQueueWrapper._dispatchEvent(EventQueueWrapper.java:169)
     at oracle.javatools.internal.ui.EventQueueWrapper.dispatchEvent(EventQueueWrapper.java:151)
     at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
     at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
     at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
     at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
     at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
     at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
Caused by: java.util.zip.ZipException: error in opening zip file
     at java.util.zip.ZipFile.open(Native Method)
     at java.util.zip.ZipFile.<init>(ZipFile.java:127)
     at java.util.zip.ZipFile.<init>(ZipFile.java:144)
     at org.eclipse.osgi.framework.util.SecureAction$14.run(SecureAction.java:255)
     at java.security.AccessController.doPrivileged(Native Method)
     at org.eclipse.osgi.framework.util.SecureAction.getZipFile(SecureAction.java:253)
     ... 146 more

Hi
I run JDeveloper on Ubuntu without a problem, please make sure you have enough permissions on the directory where JDeveloper was installed. Also have you make the installation with the same user? What's your JDK version?
- Juan Camilo

Similar Messages

  • Can't open any files from within jdeveloper

    Whenever I attempt to open a file in jdeveloper i get the following error:
    java.lang.NullPointerException
         at oracle.ideimpl.editor.RecentFilesLRU$RemovedFileTracker.addListener(RecentFilesLRU.java:318)
         at oracle.ideimpl.editor.RecentFilesLRU$RemovedFileTracker.addListeners(RecentFilesLRU.java:308)
         at oracle.ideimpl.editor.RecentFilesLRU.getLRUList(RecentFilesLRU.java:197)
         at oracle.ideimpl.editor.RecentFilesLRU.getPositionInLRUList(RecentFilesLRU.java:238)
         at oracle.ideimpl.editor.RecentFilesLRU.getRecentFile(RecentFilesLRU.java:254)
         at oracle.ideimpl.editor.EditorManagerImpl.getMostRecentEditorAddin(EditorManagerImpl.java:874)
         at oracle.ideimpl.editor.EditorManagerImpl.getBestEditorAddin(EditorManagerImpl.java:854)
         at oracle.ideimpl.editor.EditorManagerImpl.openEditor(EditorManagerImpl.java:1234)
         at oracle.ideimpl.navigator.OpenEditorController.whenOpenEditor(OpenEditorController.java:41)
         at oracle.ideimpl.navigator.OpenEditorContextMenuListener.handleDefaultAction(OpenEditorContextMenuListener.java:51)
         at oracle.ide.controller.ContextMenuListenersHook$LazyContextMenuListener.handleDefaultAction(ContextMenuListenersHook.java:199)
         at oracle.ide.controller.ContextMenu.fireDefaultAction(ContextMenu.java:412)
         at oracle.ideimpl.explorer.BaseTreeExplorer.fireDefaultAction(BaseTreeExplorer.java:1792)
         at oracle.ideimpl.explorer.BaseTreeExplorer.dblClicked(BaseTreeExplorer.java:2127)
         at oracle.ideimpl.explorer.BaseTreeExplorer.mouseReleased(BaseTreeExplorer.java:2148)
         at oracle.ideimpl.explorer.CustomTree.processMouseEvent(CustomTree.java:198)
         at java.awt.Component.processEvent(Component.java:5806)
         at java.awt.Container.processEvent(Container.java:2058)
         at java.awt.Component.dispatchEventImpl(Component.java:4413)
         at java.awt.Container.dispatchEventImpl(Container.java:2116)
         at java.awt.Component.dispatchEvent(Component.java:4243)
         at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4322)
         at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3986)
         at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3916)
         at java.awt.Container.dispatchEventImpl(Container.java:2102)
         at java.awt.Window.dispatchEventImpl(Window.java:2440)
         at java.awt.Component.dispatchEvent(Component.java:4243)
         at java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
         at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:273)
         at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:183)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:173)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:168)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:160)
         at java.awt.EventDispatchThread.run(EventDispatchThread.java:121)

    In that case your system folder should be under C:\Documents and Settings\username\Application Data\JDeveloper. Try removing that folder - when you restart JDeveloper you'll have to open your applications again.
    Blaise

  • Opening jsp files in JDeveloper as source

    Does anyone know how to open jsp/jspx files in JDeveloper (10.1.3.4) as source, by-passing the design tab? For some reason with some files my IDE locks up when I open a file and it is generating the design screen. I want it to default to source mode for all files.
    Thanks,
    Mike

    Hi,
    Take a look at JDeveloper settings - change the default code editor view for JSPx  files .
    Pedja

  • Application works in jdeveloper but not as standalone jar file

    Hi All
    We have developed an application using BI Publisher APIs,it works as expected through JDevelper,however when I try to deploy it to a jar file a run it through command line it gives me No class found exception for
    javax/xml/rpc/Service class factory.. thinking that the class is not present.I have extracted the jar file but could find the class file in the expected directory........anyhelp would greatly be appreciated.
    Regards
    Venkatesh

    Hi Venkatesh,
    Few questions.
    1. What is your JDeveloper version? (Always better to post your JDev version along with the question, which would help us to help you better).
    2. Did you try adding webserviceclient.jar to the classpath? (Search in your JDev installation directory for the location of this jar file).
    -Arun

  • Error in deploying .jar file from JDeveloper 10.1.3.5

    Hello,
    I want to deploy .jar file in a machine, instead of having to install JDeveloper to run the application (it contains: Web Services and Data Base).
    I have followed the following steps in JDeveloper to create the .jar file:
    1) Right click over the project: New... --> General (All Technologies option selected) --> Deployment Profiles --> JAR File
    2) I have selected "Include Manifest File" option specifying the application's main class
    3) In JAR Deployment Profile Properties window: File Groups --> Project Output --> Contributors are selected: "Project Output Directory" and "Project Dependencies"
    4) With the previous steps, JDeveloper generates a .deploy file. It is created in Resources folder. From this folder, I have selected the .deploy file and right click and I have selected "Deploy to JAR file"
    The .jar is created succesfully. In this point, I try to execute with the command:
    java -jar NAME_OF_THE_DIRECTORY_WHERE_THE FILEIS_DEPLOYED\NameFile.jar
    and I have the following error:
    Exception in thread "main" java.lang.NoClassDefFoundError: javax/xml/rpc/ServiceFactory
    at project.proxy.AccountClient.<init><AccountClient.java>
    at project.proxy.AccountClient.main<init><AccountClient.java>
    The Manifest File content is:
    Manifest-Version: 1.0
    Created-By: Oracle JDeveloper 10.1.3.5.0
    Main-Class: project.proxy.AccountClient
    I have tested with differents variables to create the .jar file, but always the error is the same. And I haven't found information to solve it. For this reason, I appreciate any help.
    Thank you and regards.
    Edited by: user1634407 on 31-mar-2010 8:27
    Edited by: user1634407 on 31-mar-2010 8:47

    If you are just building a client that access a Web service you need a JAR and not a WAR.
    Ok!
    One thing to try is look at the command line that JDeveloper uses to run your client (it's in the log window) - specifically look at the classpath used.
    Then try and run the same thing from a command line and see if it works.
    Nowadays, the application is running with a .BAT file, it contains the statement released from the JDeveloper console, and it is working perfectlly.
    I try to do the same from a command line, and it works too.
    Assuming it is - you can either use that, or you'll need to make sure that your JAR includes all the mentioned jars that were in the class path - this is done through the library type file group.
    To create the .JAR file I have choosen the following options (JAR Deployment Profile Properties):
    1) Include Manifest File --> I have selected the class that contains the main class (from the Browse option)
    2) I left the default File Groups (Project Output) --> it has: Project Output Directory + Project Dependencies
    3) As you said me, I have created a new File Group (type: Libraries) --> and here, I have selected all the possible Contributors. These match those specified in the project (Oracle XML Parser v2, J2EE, JAX-RPC Client, Commons Logging 1.0.3, Ojdbc14.jar).
    4) Deployment to JAR File successfully.
    The resulting MANIFEST.MF is:
    Manifest-Version: 1.0
    Created-By: Oracle JDeveloper 10.1.3.5.0
    Main-Class: project.proxy.Execution
    It hasn't definied "Class-Path", althought to especified a new File Group with the libraries... Is it an error?
    If I extract the .JAR file, I see all libraries, and I have two folders: one with .class files of my project and other one is META-INF with MANIFEST.MF file.
    5) From command line I executed:
    C:\jdevstudio10135\jdk\bin > java -jar C:\jdevstudio10135\jdev\mywork\project\project\deploy\NameFile.jar
    And the result is an error:
    Exception in thread "main": java.lang.NoClassDefFoundError: javax/xml/rpc/ServiceFactory
    I think the error is because it can not find the library ServiceFactory, but it is especified inside JAX-RPC Client library. What is wrong?
    *6)* I have tried too to insert in "JAR Deployment Profile Properties" (in JAR options) an additional Manifest File to merge into MANIFEST.MF, to include "Class-Path" with all libraries's project (the same JAR from the statement released from the JDeveloper console), but I think that it is a limit, because if I insert all libraries the "Class-Path" doesn't inserted in MANIFEST.MF. The maxim is:
    Class-Path: C:\jdevstudio10135\jdev\mywork\project\project\classes C:\jdevstudio10135\lib\xmlparserv2.jar C:\jdevstudio10135\lib\xml.jar C:\jdevstudio10135\j2ee\home\lib\activation.jar C:\jdevstudio10135\j2ee\home\lib\ejb.jar C:\jdevstudio10135\j2ee\home\lib\jms.jar C:\jdevstudio10135\j2ee\home\lib\jta.jar C:\jdevstudio10135\j2ee\home\lib\mail.jar C:\jdevstudio10135\j2ee\home\lib\servlet.jar C:\jdevstudio10135\webservices\lib\jaxrpc-api.jar
    The following libraries afther the previous one aren't allowed to include because I think that is exceeding the maximum size.
    I have tested to create various MANIFEST.MF with different PATHs libraries, but it isn't work to include in the MANIFEST.MF file all libraries...
    (C:\jdevstudio10135\webservices\lib\wsclient.jar
    C:\jdevstudio10135\webservices\lib\wsserver.jar
    C:\jdevstudio10135\webservices\lib\wssecurity.jar
    C:\jdevstudio10135\webservices\lib\wsdl.jar
    C:\jdevstudio10135\webservices\lib\orasaaj.jar
    C:\jdevstudio10135\webservices\lib\saaj-api.jar
    C:\jdevstudio10135\webservices\lib\orawsdl.jar
    C:\jdevstudio10135\webservices\lib\orawsrm.jar
    C:\jdevstudio10135\webservices\lib\jaxr_api.jar
    C:\jdevstudio10135\webservices\lib\orajaxr.jar
    C:\jdevstudio10135\webservices\lib\relaxngDatatype.jar
    C:\jdevstudio10135\webservices\lib\jaxb-impl.jar
    C:\jdevstudio10135\webservices\lib\jaxb-libs.jar
    C:\jdevstudio10135\webservices\lib\xsdlib.jar
    C:\jdevstudio10135\webservices\lib\mdds.jar
    C:\jdevstudio10135\jlib\jaxen.jar
    C:\jdevstudio10135\jlib\oraclepki.jar
    C:\jdevstudio10135\jlib\ojpse.jar
    C:\jdevstudio10135\jlib\osdt_core.jar
    C:\jdevstudio10135\jlib\osdt_cert.jar
    C:\jdevstudio10135\jlib\osdt_xmlsec.jar
    C:\jdevstudio10135\jlib\osdt_wss.jar
    C:\jdevstudio10135\jlib\osdt_saml.jar
    C:\jdevstudio10135\jlib\repository.jar
    C:\jdevstudio10135\jlib\ojmisc.jar
    C:\jdevstudio10135\j2ee\home\lib\http_client.jar
    C:\jdevstudio10135\j2ee\home\jazncore.jar
    C:\jdevstudio10135\j2ee\home\oc4jclient.jar
    C:\jdevstudio10135\rdbms\jlib\xdb.jar
    C:\jdevstudio10135\diagnostics\lib\ojdl2.jar
    C:\jdevstudio10135\jakarta-taglibs\commons-logging-1.0.3\commons-logging-api.jar
    C:\jdevstudio10135\jakarta-taglibs\commons-logging-1.0.3\commons-logging.jar
    C:\oracle\product\10.2.0\client_1\jdbc\lib\ojdbc14.jar
    C:\oracle\product\10.2.0\client_1\jdbc\lib\ojdbc14_g.jar
    C:\oracle\product\10.2.0\client_1\jdbc\lib\ojdbc14dms.jar
    C:\oracle\product\10.2.0\client_1\jdbc\lib\ojdbc14dms_g.jar)
    With this .MF file (or including only "C:\jdevstudio10135\jdev\mywork\project\project\classes") I have solved the other problem (not found the libraries), but it still not working, the error is a little different:
    Exception in thread "main": java.lang.NoClassDefFoundError: project/proxy/Execution
    The path where the main class is: C:\jdevstudio10135\jdev\mywork\project\project\classes\project\proxy\Execution.class
    I have tried to insert directlly the following paths in "Main Class" option of "Include Manifest File":
    C:\jdevstudio10135\jdev\mywork\project\project\classes\project\proxy\Execution
    C:\\jdevstudio10135\\jdev\\mywork\\project\\project\\classes\\project\\proxy\\Execution
    And with these values, the error is the same: Exception in thread "main": java.lang.NoClassDefFoundError
    I am not sure if the error is a bug of JDeveloper 10.1.3.5 or it is something that I don't correctly. Any idea?
    Thank you again and regards.
    Edited by: user12085357 on 08-abr-2010 1:31
    Edited by: user12085357 on 08-abr-2010 1:38
    Edited by: user12085357 on 08-abr-2010 6:58

  • Open java files in Jdeveloper

    Hi,
    Good day
    I have a question about OAF under Oracle ERP version 11.10.5.2
    I have some web pages working fine, and I can see the code in the server (in the custom application folder under java). How can I open them in my client? If I open them in the JDeveloper they appear under miscellaneous node not under a workspace or a project. How can I do that?

    Dear All,
    I am not really sure which file i should open first? the Controller, Application module, Entity object or View object?
    or I need to open another file?
    Thanks for the help

  • How do you create a jar file in JDeveloper 11.1.2.0.0

    How do you create a jar file in JDeveloper 11.1.2.0.0

    1) Select the project for which you would like to generate the jar.
    2) Right Click the selected right and select 'Project Properties'
    3) Select the 'Deployment' in the left tab.
    4) Click on 'New' to create a new deployment profile and in the popup dialog, select 'Jar File' profile type and provide the name.
    5) Press 'ok' to save the changes.
    6) Select the project and right click and select 'Deploy to' and select the jar profile name you have specified.
    The Jar library is generated and the full path to the library jar is shown in the log window.
    Thanks,
    Navaneeth

  • How to add JAR files in JDeveloper 10.1.2

    Hi,
    We have developed a J2EE project using JDeveloper. Now, i have to add Upload CV functionality to the application. I want to use the classes provided by org.apache.commons.fileupload which is there in the commons-fileupload-1.2.2.jar file provided by them. My problem is i am unable to add this JAR file to my project. When i try to add this JAR file using the Project Properties of my project. Its asking me to browse the path of the J2SE Executable or EDIT the Class Path or Source Path or Doc Path. There is not option to add JAR files. If the JAR file is not added, its showing the errors:
    imported class 'org.apache.commons.fileupload.disk.DiskFileItemFactory' not found exception..
    Please let me know how i could associate JAR files to my project so that the upload files functionality is implemented. Will be desperately waiting for any assistance....
    Regards,
    Najmuddin

    Thanks John, that was helpful. After i added the JAR file, its showing me the following error:
    Error(479,16): class FileUploadException not found in class htdocs.recruitment._regMain.CommonsFileUploadServlet
    Is there any specific location where i need to keep my JAR file or i can browse it from anywhere?
    Regards,
    Najmuddin

  • Jar files with oracle jdeveloper

    Hi, wondering where in jdeveloper do you go and select where to link to .jar files?
    thanks

    I've observed this problem with certain AV tools. Some fare much better than others (inside Oracle, we use Symantec AV and I see very little slowdown even when it's scanning jar files in jdev's install directory).
    You didn't mention which version of jdeveloper you're using. Assuming 10.1.3 preview, the directories to exclude from scanning would be either the whole of your jdev install directory, or if you must be more selective, something like:
    %JDEVHOME%/jlib
    %JDEVHOME%/jdev/lib
    %JDEVHOME%/ide/lib
    %JDEVHOME%/jdev/extensions
    %JDEVHOME%/lib
    Would be a good start. These directories contain the bulk of the jars loaded at IDE startup.
    Thanks,
    Brian

  • Locating a jar file into JDeveloper 11g

    Hi there,
    I'm looking for a easy way to find out which jar files are part of each predefined library on JDev. Is there an xml file inside JDev where it is defined?
    Best regards,
    George

    For programmatic access to the library definitions, the libraries are defined in the shared-library definitions in the server.xml files in the following directories.
    C:\JDeveloper\jdev\system\oracle.j2ee.10.1.3.41.57\embedded-oc4j\config
    C:\JDeveloper\jdev\extensions\oracle.adfp.seededoc4j.10.1.3\srcimage\j2ee\home\config
    C:\JDeveloper\j2ee\home\config
    The code-source path specifies the library jar fles.

  • Jdeveloper 10.1.2 creating jar files in user's temporary director

    Hi all,
    McAfee uses 100% of my PC CPU every once in a while when jdevw.exe creates jar files in C:\Documents and Settings\wase\Local Settings\Temp. They get created at seemingly random times while I am running the embedded OC4J in debug mode (Struts, BC4J, ADF). McAfee is configured to ignore a few of my directories and I would like to direct those files into an unscanned directory. (No, The powers that be will NOT turn off on access scanning of archives. Sigh.) The files go away when I shut down JDeveloper.
    Thanks,
    --Amy Smith
    Here is a list of the files that were created.
    /cygdrive/c/Documents and Settings/wase/Local Settings/Temp\ $ ls *.jar
    BusinessCSCommon28154.jar commons-beanutils28174.jar javax-ssl-1_228194.jar ordhttp28213.jar
    BusinessCSMT28155.jar commons-collections28175.jar jdev-cm28195.jar ordim1128216.jar
    LW_PfjBean28156.jar commons-digester28176.jar jewt428196.jar ordim28215.jar
    adf-controller28157.jar commons-el28177.jar jmf28197.jar regexp28217.jar
    adfm28158.jar commons-fileupload28178.jar jsp-el-api28198.jar share28218.jar
    adfmtl28159.jar commons-lang-228179.jar jsse28199.jar standard28219.jar
    adfmweb28160.jar commons-lang28180.jar jssl-1_128200.jar struts-legacy28220.jar
    adftags28161.jar commons-logging28181.jar jssl-1_228201.jar struts28221.jar
    aurora_client28162.jar commons-validator28182.jar ldapjclnt1028202.jar struts28230.jar
    bc4jct28163.jar customizer28183.jar log28203.jar template28222.jar
    bc4jctejb28164.jar datatags28184.jar log4j-128204.jar uix228223.jar
    bc4jdomorcl28165.jar db2jcc28185.jar mediaplayer28205.jar uix2tags28224.jar
    bc4jimdomains28166.jar db2jcc_license_cisuz28186.jar mts28206.jar uixadfrt28225.jar
    bc4jmt28167.jar dms28187.jar multiplayer28207.jar xmlcomp28226.jar
    bc4jmtejb28168.jar dsv228188.jar nls_charset1228208.jar xmlparserv228227.jar
    bc4jutil28169.jar hawutil28189.jar ojmisc28209.jar xsqlserializers28228.jar
    bigraphbean28170.jar help428190.jar oracle-el28210.jar xsu1228229.jar
    classes1228171.jar inspect428191.jar oracle_ice28211.jar
    classes12dms28172.jar jakarta-oro28192.jar oraclexsql28212.jar
    collections28173.jar javax-ssl-1_128193.jar ordhttp1128214.jar

    Any suggestions for how I could pursue finding a resolution?
    Thanks,
    --Amy Smith                                                                                                                                                                           

  • Redeploying jar files in Jdeveloper - 10.1.3.3.0

    Hi,
    Is there a way to redeploy an existing .jar file in Jdeveloper 10g (10.1.3.3.0).
    We are upgrading from Oracle - 11i to R12 and this .jar file is working in 11i and if I try to use the same in R12, I'm getting an IllegalAccessError in the OAF page, where the .jar file is invoked (because of the version mismatch I believe).
    If we redeploy the .jar file, will that help in the version issue?
    Please provide some pointers on redeploying the existing jar files in JDeveloper 10.1.3.3.0
    Regards,
    Mohan

    You should ask this in the {forum:id=210}
    Timo

  • JDeveloper 10g, ADF, ANT:How to define ant task for EAR & WAR file creation

    I am trying to automate the deployment process of our ADF Faces & BC application. I have reviewed this doc:
    http://download.oracle.com/docs/cd/B31017_01/web.1013/b28951/anttasks.htm
    and followed the procedure for integrating ant onto the server. I can build the project and also successfully deploy the ear file. Howerver, I did not find any instruction on how to generate the EAR file. Can anyone point me to the right place for this task definition?
    Here is my current build.xml file.
    <?xml version="1.0" encoding="windows-1252" ?>
    <!--Ant buildfile generated by Oracle JDeveloper-->
    <!--Generated Jul 16, 2007 12:20:13 PM-->
    <project name="CRDBApps" default="build-all" basedir="." xmlns:oracle="antlib:oracle">
    <property file="build.properties"/>
    <property file="ant-oracle.properties"/>
    <target name="clean-all" depends="">
    <ant antfile="build.xml" dir="CRDBView" target="clean"/>
    <ant antfile="build.xml" dir="CRDBLib" target="clean"/>
    <ant antfile="build.xml" dir="CRDBModel" target="clean"/>
    </target>
    <target name="build-all" depends="clean-all">
    <ant antfile="build.xml" dir="CRDBView" target="compile"/>
    <ant antfile="build.xml" dir="CRDBLib" target="compile"/>
    <ant antfile="build.xml" dir="CRDBModel" target="compile"/>
    </target>
    <target name="deployear" depends="">
    <echo message="-----> Deploying the application module deployment (ear) file"/>
    <oracle:deploy deployerUri="deployer:oc4j:opmn://myserver/home"
    userid="oc4jadmin"
    password="password"
    file="CRDBView/deploy/CRDBApps.ear"
    deploymentName="CRDBApps"
    bindAllWebApps="default-web-site"/>
    </target>
    </project>
    thanks!
    Wes

    Thanks all for the tips. After reading up a bit today on ear/war files and ant. I ended up just creating a task to mimic the ear/war file structure. My script isnt pretty but I'll work on refining that later. Here is what I have if anyone ever is interested:
    <target name="war" depends="">
    <echo message="Executing target war..."/>
    <mkdir dir="war"/>
    <copydir src="CRDBView\public_html" dest="war\"/>
    <copydir src="CRDBView\classes" dest="war\WEB-INF\classes"/>
    <copydir src="CRDBModel\classes" dest="war\WEB-INF\classes"/>
    <copydir src="CRDBLib\classes" dest="war\WEB-INF\classes"/>
    <echo message="Creating war file..."/>
    <jar basedir ="war" destfile="CRDBApps.war"/>
    <echo message="Done executing target war..."/>
    </target>
    <target name="ear" depends="war">
    <echo message="Executing target ear..."/>
    <mkdir dir="ear\META-INF"/>
    <copydir src="CRDBView\deploy\META-INF" dest="ear\META-INF"/>
    <copy file="CRDBApps.war" todir="ear\"/>
    <jar basedir ="ear" destfile="CRDBApps.ear"/>
    <echo message="Done executing target ear..."/>
    </target>
    <target name="cleanAndDeployCRDBApps" depends="build-all,deployear">
    <echo message="Executing target cleanAndDeployCRDBApps..."/>
    <delete dir="war"/>
    <delete dir="ear"/>
    <echo message="Done executing target cleanAndDeployCRDBApps..."/>
    </target>
    <target name="deployear" depends="ear">
    <echo message="Executing target deployear"/>
    <oracle:deploy deployerUri="deployer:oc4j:opmn://myserver:6003/home"
    userid="oc4jadmin"
    password="password"
    file="CRDBApps.ear"
    deploymentName="CRDBApps"
    bindAllWebApps="default-web-site"/>
    <delete file="CRDBApps.ear"/>
    <delete file="CRDBApps.war"/>
    <echo message="Done executing target deployear"/>
    </target>
    ...

  • Toplink jar files for Jdeveloper

    What Toplink jar files do in need to setup inside jdeveloper?

    You will need TopLink.jar.
    - antlr.jar is required if using EJBQL
    - source.jar should be added to the library to assit in debugging
    Doug

  • Unable to open ant file using JDeveloper

    I am using JDeveloper 10.1.3 production (version 10.1.3.0.4 build 3673) and I am having difficulty understanding the way ant build files are handled by this version.
    I would like to open ant files (build.xml) just like any other XML file so that I can edit it from the JDeveloper. But I am not able to do it, because the build.xml is at the root of the my application directory structure and trying to add that application root directory to the project contents results in directory with .java files getting added (but not the root directory itself, which has the build.xml file). Of course, I can add a dummy Something.java file under the root directory to cheat JDeveloper into adding this root directory to project contents directories.
    But I am wondering whether there is a better way to do this?

    You are adding the directory in the "Java Content"
    Try expending the Project Content and adding the directory under Resource.

Maybe you are looking for

  • SWFs published from CS6 do not work, but from CS5 they do

    I have recently begun learning how to create animations in Adobe Flash. I've been using Flash CS5. After creating my animations, I would embed them in Microsoft Powerpoint as shockwave flash objects. I would then send the powerpoint to my dad through

  • What is the highest OS for Early 2008 Mac Book Pro?

    I have an Early 2008 MacBook Pro running Snow Leopard and I would like to know the highest operating system it can run.  Thanks!

  • PKI-02002: Unable to open the wallet. Check password.

    I am getting the following error: And I am unable to start IntegratedWeblogic Server. oracle.security.jps.service.credstore.CredStoreException: JPS-01050: Opening of wallet based credential store failed. Reason java.io.IOException: PKI-02002: Unable

  • Rtfd after saving from mail without attachments!

    As in the OS X before (I lately found out), my emails from Mail are saved without the attachments. The box "include attachments" is marked, of course. There is a .rftd file resulting but it's just the text. I had a look in the package and as well the

  • Macbook Pro will not load OS and will not boot from Install Disk

    When I try to turn on my macbook pro it goes to the gray logo screen with the spinning gear however it does not progress from there and then after several minutes it proceeds to restart itself and the same process repeats itself. I have tried to boot