facebook

Weblogic 12c Connector fails with Library Deployments

  1. MyEclipse IDE
  2.  > 
  3. Installation, Configuration & Updates
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #349754 Reply

    axelb2004
    Participant

    Hello,

    we are working with weblogic 12c and using one library deployment.

    starting the weblogic with the “normal” startscript is everthing ok. the ear deploy without any errors and using the deployed library.

    using the connector from myeclipse the weblogic ignores (maybe?) the library and try to find the jars in the ear.

    Any ideas?

    Bye
    Axel

    
    <Jun 11, 2014 1:56:30 PM CEST> <Warning> <Deployer> <BEA-149078> <Stack trace for message 149004
    weblogic.application.ModuleException: 
        at weblogic.j2eeclient.AppClientModule.findMainClass(AppClientModule.java:309)
        at weblogic.j2eeclient.AppClientModule.init(AppClientModule.java:195)
        at weblogic.j2eeclient.AppClientModule.init(AppClientModule.java:113)
        at weblogic.application.internal.flow.ModuleListenerInvoker.init(ModuleListenerInvoker.java:84)
        at weblogic.application.internal.flow.InitModulesFlow.initModule(InitModulesFlow.java:312)
        Truncated. see log file for complete stacktrace
    Caused By: java.io.IOException: D:\****\mydomain\servers\AdminServer\tmp\_WL_user\_appsdir_********-ear-2015-SNAPSHOT_ear\tspw6c\lib\eclipselink-2.5.1.jar (The system cannot find the file specified) with : D:\****\mydomain\servers\AdminServer\tmp\_WL_user\_appsdir_********-ear-2015-SNAPSHOT_ear\tspw6c\lib\eclipselink-2.5.1.jar
        at java.util.zip.ZipFile.open(Native Method)
        at java.util.zip.ZipFile.<init>(ZipFile.java:215)
        at java.util.zip.ZipFile.<init>(ZipFile.java:145)
        at java.util.jar.JarFile.<init>(JarFile.java:153)
        at java.util.jar.JarFile.<init>(JarFile.java:117)
        Truncated. see log file for complete stacktrace
    > 
    
    Attachments:
    You must be logged in to view attached files.
    #349755 Reply

    Hi,

    the same error occurs on my environment.
    I use the same weblogic and the library is a weblogic “shared library”.

    when starting weblogic via “startWeblogic.cmd” everything works fine.
    when starting from myeclipse the shared library seems to be not visible to my application.

    i assume that “startWeblogic.cmd” uses some extra parameters that are not set when starting from myeclipse.

    cheers
    martin

    #349772 Reply

    Hi,

    I could get my application working in MyEclipse 2014 after following the steps mentioned in this blog.

    Can you please try the example mentioned in the oracle blog and let us know whether you can run the application using shared libraries ?

    If you are still facing issues, can you please mention the exact steps you followed for creating a shared library in weblogic server. Also, please mention the steps followed in MyEclipse (Right from creating a project till running the project on weblogic server).

    Also, please share your MyEclipse installation details from MyEclipse > Installation summary > Installation details ?

    #349806 Reply

    axelb2004
    Participant

    @support-pradeep wrote:

    Also, please share your MyEclipse installation details from MyEclipse > Installation summary > Installation details ?

    *** Date:
    Montag, 16. Juni 2014 14:32 Uhr MESZ

    *** System properties:
    OS=WindowsServer2012
    OS version=6.2.0
    OS arch=amd64
    Profile arch=x86_64
    Window system=win32
    Java version=1.7.0_45
    Workspace=file:/D:/workspace/
    VM Args=-javaagent:lombok.jar
    -Xbootclasspath/a:lombok.jar
    -Xmx2048m
    -XX:MaxPermSize=320m
    -XX:ReservedCodeCacheSize=64m
    -Dosgi.nls.warnings=ignore
    -jar
    D:\MyEclipse\plugins/org.eclipse.equinox.launcher_1.3.0.v20130327-1440.jar

    *** Subscription information
    Product Id: E3MP (MyEclipse Professional Subscription)
    License version: 3.0
    Full Maintenance Included
    Subscription expiration date (YYYYMMDD): 20150319
    Number of users: 1

    *** Eclipse details:
    MyEclipse Enterprise Workbench

    Version: 2014
    Build id: 12.0.0-20131202

    Blueprint: N/A

    com.genuitec.eclipse.mobile.feature – 12.0.0.201311260528
    com.genuitec.myeclipse.database – 12.0.0.me201311281640
    com.genuitec.myeclipse.desktop – 12.0.0.me201311281640
    com.genuitec.myeclipse.enterprise.workbench – 12.0.0.me201311281640
    com.genuitec.myeclipse.geronimo – 12.0.0.me201311281640
    com.genuitec.myeclipse.glassfish – 12.0.0.me201311281640
    com.genuitec.myeclipse.icefaces.feature – 12.0.0.me201311281640
    com.genuitec.myeclipse.imageeditor – 12.0.0.me201311281640
    com.genuitec.myeclipse.jboss – 12.0.0.me201311281640
    com.genuitec.myeclipse.jetty – 12.0.0.me201311281640
    com.genuitec.myeclipse.jonas – 12.0.0.me201311281640
    com.genuitec.myeclipse.jrun – 12.0.0.me201311281640
    com.genuitec.myeclipse.jsf – 12.0.0.me201311281640
    com.genuitec.myeclipse.maven – 12.0.0.me201311281640
    com.genuitec.myeclipse.oracle – 12.0.0.me201311281640
    com.genuitec.myeclipse.orion – 12.0.0.me201311281640
    com.genuitec.myeclipse.persistence – 12.0.0.me201311281640
    com.genuitec.myeclipse.reports – 12.0.0.me201311281640
    com.genuitec.myeclipse.resin – 12.0.0.me201311281640
    com.genuitec.myeclipse.struts – 12.0.0.me201311281640
    com.genuitec.myeclipse.sun – 12.0.0.me201311281640
    com.genuitec.myeclipse.tomcat – 12.0.0.me201311281640
    com.genuitec.myeclipse.uml2 – 12.0.0.me201311281640
    com.genuitec.myeclipse.visualvm – 12.0.0.me201311281640
    com.genuitec.myeclipse.visualvm.server – 12.0.0.me201311281640
    com.genuitec.myeclipse.weblogic – 12.0.0.me201311281640
    com.genuitec.myeclipse.websphere – 12.0.0.me201311281640
    com.genuitec.myeclipse.ws – 12.0.0.me201311281640
    org.eclipse.birt – 4.3.1.me201311281640
    org.eclipse.datatools.connectivity.feature – 1.11.1.me201311281640
    org.eclipse.datatools.enablement.feature – 1.11.1.me201311281640
    org.eclipse.datatools.modelbase.feature – 1.11.1.v201306041610-7707GCcNBHLDaKTEcRi
    org.eclipse.datatools.sqldevtools.feature – 1.11.1.me201311281640
    org.eclipse.emf – 2.9.1.v20130902-0605
    org.eclipse.gef – 3.9.1.201308190730
    org.eclipse.graphiti.feature – 0.10.1.v20130918-0838
    org.eclipse.jpt.jpa.feature – 3.3.1.me201311281640
    org.eclipse.jpt.jpadiagrameditor.feature – 1.2.0.me201311281640
    org.eclipse.jst.common.fproj.enablement.jdt – 3.4.0.me201311281640
    org.eclipse.jst.enterprise_ui.feature – 3.5.0.me201311281640
    org.eclipse.jst.server_adapters.ext.feature – 3.3.103.me201311281640
    org.eclipse.jst.server_adapters.feature – 3.2.201.me201311281640
    org.eclipse.jst.server_ui.feature – 3.4.1.me201311281640
    org.eclipse.jst.ws.axis2tools.feature – 1.1.200.me201311281640
    org.eclipse.m2e.feature – 1.4.0.me201311281640
    org.eclipse.sapphire.platform – 0.6.6.201310081535
    org.eclipse.wst.common.fproj – 3.4.0.me201311281640
    org.eclipse.wst.server_adapters.feature – 3.2.300.me201311281640
    org.eclipse.xsd – 2.9.1.v20130902-0605
    org.springframework.ide.eclipse.feature – 3.3.0.me201311281640
    org.zeroturnaround.myeclipse.feature – 5.5.3.RELEASE-201404211541

    com.collabnet.subversion.merge.feature – 4.0.2
    fr.obeo.acceleo.bridge.feature – 2.6.0.me201311281640
    org.eclipse.cvs – 1.4.0.v20130911-1000
    org.eclipse.draw2d – 3.9.1.201308190730
    org.eclipse.e4.rcp – 1.2.1.v20130910-2014
    org.eclipse.egit – 3.1.0.201310021548-r
    org.eclipse.epp.mpc – 1.2.1.I20130917-2019
    org.eclipse.equinox.p2.core.feature – 1.2.1.v20130827-1605
    org.eclipse.equinox.p2.discovery.feature – 1.0.100.v20130502-0334
    org.eclipse.equinox.p2.extras.feature – 1.2.0.v20130827-1605
    org.eclipse.equinox.p2.rcp.feature – 1.2.0.v20130828-0031
    org.eclipse.equinox.p2.user.ui – 2.2.0.v20130828-0031
    org.eclipse.help – 2.0.1.v20130911-1000
    org.eclipse.jdt – 3.9.1.v20130911-1000
    org.eclipse.jgit – 3.1.0.201310021548-r
    org.eclipse.jsf.feature – 3.7.0.me201311281640
    org.eclipse.mylyn.bugzilla_feature – 3.9.1.v20130917-0100
    org.eclipse.mylyn.commons – 3.9.1.v20130917-0100
    org.eclipse.mylyn.commons.identity – 1.1.1.v20130917-0100
    org.eclipse.mylyn.commons.notifications – 1.1.1.v20130917-0100
    org.eclipse.mylyn.commons.repositories – 1.1.1.v20130917-0100
    org.eclipse.mylyn.context_feature – 3.9.1.v20130917-0100
    org.eclipse.mylyn.cvs – 1.1.1.v20130917-0100
    org.eclipse.mylyn.discovery – 3.9.1.v20130917-0100
    org.eclipse.mylyn.git – 1.1.1.v20130917-0100
    org.eclipse.mylyn.ide_feature – 3.9.1.v20130917-0100
    org.eclipse.mylyn.java_feature – 3.9.1.v20130917-0100
    org.eclipse.mylyn.monitor – 3.9.1.v20130917-0100
    org.eclipse.mylyn.tasks.ide – 3.9.1.v20130917-0100
    org.eclipse.mylyn.team_feature – 3.9.1.v20130917-0100
    org.eclipse.mylyn.versions – 1.1.1.v20130917-0100
    org.eclipse.mylyn_feature – 3.9.1.v20130917-0100
    org.eclipse.ocl – 3.1.0.v20110606-1427
    org.eclipse.pde – 3.9.1.v20130911-1000
    org.eclipse.platform – 4.3.1.v20130911-1000
    org.eclipse.rcp – 4.3.1.v20130911-1000
    org.eclipse.wb.core.feature – 1.6.1.r43x201309092314
    org.eclipse.wb.core.java.feature – 1.6.1.r43x201309092318
    org.eclipse.wb.core.ui.feature – 1.6.1.r43x201309092325
    org.eclipse.wb.core.xml.feature – 1.6.1.r43x201309092330
    org.eclipse.wb.doc.user.feature – 1.6.1.r43x201309092334
    org.eclipse.wb.layout.group.feature – 1.6.1.r43x201309092345
    org.eclipse.wb.rcp.SWT_AWT_support – 1.6.1.r43x201309100026
    org.eclipse.wb.rcp.doc.user.feature – 1.6.1.r43x201309100019
    org.eclipse.wb.rcp.feature – 1.6.1.r43x201309100008
    org.eclipse.wb.swing.doc.user.feature – 1.6.1.r43x201309100012
    org.eclipse.wb.swing.feature – 1.6.1.r43x201309100023
    org.eclipse.wb.swt.feature – 1.6.1.r43x201309092350
    org.eclipse.wb.xwt.feature – 1.6.1.r43x201309100031
    org.sonatype.m2e.buildhelper.feature – 0.15.0.201207090124
    org.sonatype.m2e.mavenarchiver.feature – 0.15.0.201207090125-signed-20130612210623
    org.tigris.subversion.clientadapter.feature – 1.10.1
    org.tigris.subversion.clientadapter.javahl.feature – 1.8.8.1
    org.tigris.subversion.clientadapter.svnkit.feature – 1.8.3
    org.tigris.subversion.subclipse – 1.10.4
    org.zeroturnaround.eclipse.feature – 5.5.3.RELEASE-201404211541
    org.zeroturnaround.eclipse.wtp.feature – 5.5.3.RELEASE-201404211541

    Eclipse startup command=-os
    win32
    -ws
    win32
    -arch
    x86_64
    -showsplash
    -launcher
    D:\MyEclipse\myeclipse.exe
    -name
    Myeclipse
    –launcher.library
    D:\MyEclipse\plugins/org.eclipse.equinox.launcher.i18n.win32.win32.x86_64_3.2.0.v201103301700\eclipse_3215.dll
    -startup
    D:\MyEclipse\plugins/org.eclipse.equinox.launcher_1.3.0.v20130327-1440.jar
    -exitdata
    1124_48
    -install
    D:\MyEclipse
    -vm
    D:\MyEclipse\binary/com.sun.java.jdk7.win32.x86_64_1.7.0.u45/bin/javaw.exe

    #349823 Reply

    axelb2004,

    As mentioned in my earlier response, can you please try the shared libraries example mentioned in the oracle here and let us know whether you can run the application ? I have tried it at my end and could get it working.

    If you are still facing issues, can you please mention the exact steps you followed for creating a shared library in weblogic server. Also, please mention the steps followed in MyEclipse (Right from creating a project till running the project on weblogic server). If possible please attach the sample project and shared library to help us replicate the issue at our end.

Viewing 5 posts - 1 through 5 (of 5 total)
Reply To: Weblogic 12c Connector fails with Library Deployments

You must be logged in to post in the forum log in