Upload a jar file in remote Weblogic server using wlst

Is there a way to upload a jar file to a specific location on remote weblogic server using wlst? This is my scenario - I need to upload aspectjweaver.jar to the remote server. This needs to be done before weblogic startup, as weaving takes place during startup . FTP is not an option because those ports are blocked

Hi,
You don't have such option through upload files as what FTP do but you can deploy the application through wlst.
eg:
deploy('Web14','C:/TEMP/Web14.war',targets='Cluster1',stageMode='stage',upload='true',remote='true')
Or you can use Deploy option to deploy app directly.
eg:
java weblogic.Deployer -adminurl http://localhost:7001
-username weblogic -password weblogic
-deploy ./myapp.ear -id myDeployment
This will upload file and place the file there from there you can manipulate the file.
Hope this will work for you.
Regards,
Kal

Similar Messages

  • Errors when deploying application to a remote WebLogic server using Eclipse

    I'm using Eclipse with OEPE for WebLogic 10.3.5 on linux and running a weblogic server versioned the same.
    I've created a new EAR which combined several EARs that I had, and deployed it on my local server using the 'servers' tab in Eclipse. It went well.
    When I tried to deploy the EAR into my remote server, I got the exception:
    Application archive not found : myworkspace/.metadata/.plugins/org.eclipse.core.resources/.projects/MyEAR/beadep/remote_weblogic/MyEAR/split_src.ear
    This also happens when trying to deploy the EAR to a server that runs on my computer but configured as 'remote' in Eclipse. This does not happen for any other application of mine.
    Next thing I tried is to update my Eclipse OEPE and server to 12.1.1, so I've downloaded the two, installed them both as new, and now when I'm looking for remote servers in the Eclipse, instead of writing the server status (republish/synchronized) it writes:
    User: myuser, failed to be authenticated
    I'm lost. How can I deploy my application with Eclipse OEPE to a remote weblogic server?
    Edited by: wafwaf on 02:03 02/02/2012

    I'm using Eclipse with OEPE for WebLogic 10.3.5 on linux and running a weblogic server versioned the same.
    I've created a new EAR which combined several EARs that I had, and deployed it on my local server using the 'servers' tab in Eclipse. It went well.
    When I tried to deploy the EAR into my remote server, I got the exception:
    Application archive not found : myworkspace/.metadata/.plugins/org.eclipse.core.resources/.projects/MyEAR/beadep/remote_weblogic/MyEAR/split_src.ear
    This also happens when trying to deploy the EAR to a server that runs on my computer but configured as 'remote' in Eclipse. This does not happen for any other application of mine.
    Next thing I tried is to update my Eclipse OEPE and server to 12.1.1, so I've downloaded the two, installed them both as new, and now when I'm looking for remote servers in the Eclipse, instead of writing the server status (republish/synchronized) it writes:
    User: myuser, failed to be authenticated
    I'm lost. How can I deploy my application with Eclipse OEPE to a remote weblogic server?
    Edited by: wafwaf on 02:03 02/02/2012

  • (261705413) Q RPCC-7 Does the client.jar file tie you Weblogic Server?

    Q<RPCC-7> BEA is providing client-side helpers in the client.jar file, including
    parsing and SOAP facilities, etc. But, are we saying that there is nothing
    in there that ties the client to the server-side WLS implemenation? It seems
    that putting the interface of the underlying implementation EJB SLS bean is a
    coupling...??? It also seems that by coupling the client to WebLogic classes
    (weblogic.soap.WebServiceProxy|SoapMethod) we are coupling it to WLS.
    A<RPCC-7>: I understand your concerns, but you are not tied to WLS that tightly.
    Certainly, the static client code utilizes the EJB interface that underlies the
    web service but it is possible to invoke the web service dynamically. The use
    of weblogic library classes to invoke the web service just indicates the use of
    weblogic's client API. This client API can also be used to invoked webservices
    hosted on other application server or frameworks. Additionally, other client APIs
    can be used to invoke this web service, for instance the VB client example that
    ended Thursday's presentation. Lastly, the remote interface in the client.jar
    file could actually just be a java presentation generated from a WSDL file that
    represents a C# web service (this is actually only possible in WLS7.0 and not
    6.1 but the point is you do not actually know the inderlying framework or implementation
    andnor should you care).
    Adam

    check the server log;
    /app/oracle/product/fwm11g/user_projects/domains/fwm_domain/servers/AdminServer/logs/AdminServer.log
    you can launch the console and see if it is running; http://<server>:<port>/console

  • Missing .jar files in the Weblogic Server 6.1 beta

    The files /weblogic/lib/weblogic_sp.jar and /weblogic/lib/poolorb.jar are required
    to be set in the
    classpath, according to the documentation. But they are missing in the downloaded
    version of the server.
    Is there any solution?

    Hi Rajashree,
    weblogic_sp.jar file is for service pack. I am assuming that you installed
    latest version from the download site. the latest one is a bundled version
    of wls6.0 with sp2. we put sp2 with 6.0 together, then you do not see that
    jar file.
    I am confused with poolorb.jar file. do you mean wlepool.jar and wleorb.jar?
    those 2 files are used when you need to make a connection pool to WLE
    server. if you do not use it, you do not need to include it in your
    classpath.
    Thanks
    yu
    Rajashree Desai <[email protected]> wrote in message
    news:3b53ea0c$[email protected]..
    >
    The files /weblogic/lib/weblogic_sp.jar and /weblogic/lib/poolorb.jar arerequired
    to be set in the
    classpath, according to the documentation. But they are missing in thedownloaded
    version of the server.
    Is there any solution?

  • Deploy a jar file on remote glassfish server with ant

    Hi!
    I have writing an ant script but I to jam.
    With antcall (+2param) I call one target,
    from this based on a condition I call with an antcall again (+2param) another target,
    My question: the previous params why could not to overwrite.
    Another question: if I make a loop invites the first input target, how can I stop it without that all my threads separated to do.
    Thank You

    Hi!
    I have writing an ant script but I stopped.
    A command with antcall and two parameters
    (<param name="Param1" value="${project.p1}"/>)
    (<param name="Param2" value="${project.p2}"/>) from this based on a condition I call one target,
    <condition property="condition">
    <available file="${deploy.dir}/${Param2}" type="file"/>
    </condition>
    <antcall target="listProjectFiles">
    <param name="Param1" value="${Param1}"/>
    <param name="Param2" value="${Param2}"/>
    </antcall>
    <!--if did not find it, start from begining-->
    <antcall target="listProjectFiles">
    <param name="Param1" value="${Param1}"/>
    <param name="Param2" value="${Param0}"/>
    </antcall>
    My question: the previous params why could not to overwrite in later antcall?
    Another question: if I make a loop invites the first input target(antcall target="1"), how can I stop it without that all my threads separated to do.
    Thank You Again

  • Deploy error on remote Weblogic Server 10

    Hi, All,
    I try to deploy a simple JSP page with war deploy profile to a remote Weblogic Server 10. but error found:
    C:\jdeveloper10133\jdk\jre\bin\javaw.exe -classpath C:\jdeveloper10133\jdev\lib\ext\weblogic.jar weblogic.Deployer -adminurl http://rst-act3ct2.us.oracle.com:7001 -user weblogic -password **** -debug -verbose -deploy -upload -source C:\jdevWorkspace\WLSApplication\JSPProject\deploy\simpleJSP.ear -name simpleJSP
    java.lang.NoClassDefFoundError: weblogic/utils/Debug
    at weblogic.Deployer.<clinit>(Deployer.java:23)
    I wonder if there is any other jar file I need to add in classpath for deploy on remote weblogic? Thanks in advance.
    Best Regards,
    Bill

    I'm having the same problem. And I'm not ready to give up just yet -- this is a feature I really need to get working.
    This build script works locally:
    <project name="DEPLOY_TEST" default="deploy" basedir=".">
      <path id="classpath">
        <pathelement location="/opt/bea/wlserver_10.3/server/lib/weblogic.jar"/>
      </path>
      <target name="init-wldeploy-10.3">
        <taskdef name="wldeploy" classname="weblogic.ant.taskdefs.management.WLDeploy">
           <classpath refid="classpath"/>
        </taskdef>
      </target>
      <target name="deploy" depends="init-wldeploy-10.3">
        <wldeploy action="deploy" source="test.ear" name="test"
                  user="weblogic" password="******" verbose="true" adminurl="t3://localhost:7001" debug="true"
                  upload="true" targets="testCluster"/>
      </target>
    </project>But a similar ant script (replacing localhost with server name) run on my development machine gives:
    java.lang.NoClassDefFoundError: weblogic/utils/DebugAnybody else scratching their head over this one?

  • Cannot deploy BPM process from JDev into remote weblogic server

    Hi all,
    I have in a trouble!
    I've built a simple BPM process but when i deploy it from JDeveloper to a remote weblogic server it have following error, pls give me solution
    [02:16:27 PM] ---- Deployment started. ----
    [02:16:27 PM] Target platform is (Weblogic 10.3).
    [02:16:27 PM] Running dependency analysis...
    [02:16:27 PM] Building...
    [02:16:31 PM] Deploying profile...
    [02:16:31 PM] Updating revision id for the SOA Project 'Project1.jpr' to '1.0'..
    [02:16:31 PM] Wrote Archive Module to C:\JDeveloper\mywork\TestDeploy\Project1\deploy\sca_Project1_rev1.0.jar
    [02:16:31 PM] Running dependency analysis...
    [02:16:31 PM] Building...
    [02:16:33 PM] Deploying 2 profiles...
    [02:16:33 PM] Wrote Web Application Module to C:\JDeveloper\mywork\TestDeploy\Project2_UI\deploy\Project2_UI.war
    [02:16:33 PM] Wrote Enterprise Application Module to C:\JDeveloper\mywork\TestDeploy\deploy\TestDeploy.ear
    [02:16:33 PM] Deploying sca_Project1_rev1.0.jar to partition "default" on server AdminServer [http://HP:7001]
    [02:16:33 PM] Processing sar=/C:/JDeveloper/mywork/TestDeploy/Project1/deploy/sca_Project1_rev1.0.jar
    [02:16:33 PM] Adding sar file - C:\JDeveloper\mywork\TestDeploy\Project1\deploy\sca_Project1_rev1.0.jar
    [02:16:33 PM] Preparing to send HTTP request for deployment
    [02:16:33 PM] Creating HTTP connection to host:HP, port:7001
    [02:16:33 PM] Sending internal deployment descriptor
    [02:16:33 PM] Sending archive - sca_Project1_rev1.0.jar
    [02:16:33 PM] Received HTTP response from the server, response code=503
    [02:16:33 PM] Invalid logging line: <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
    [02:16:33 PM] Invalid logging line: <html><head>
    [02:16:33 PM] Invalid logging level on line: <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
    [02:16:33 PM] Invalid logging line: <title>ERROR: The requested URL could not be retrieved</title>
    [02:16:33 PM] Invalid logging line: <style type="text/css"><!--
    [02:16:33 PM] Invalid logging line: /*
    [02:16:33 PM] Invalid logging line: Stylesheet for Squid Error pages
    [02:16:33 PM] Invalid logging line: Adapted from design by Free CSS Templates
    [02:16:33 PM] Invalid logging line: http://www.freecsstemplates.org
    [02:16:33 PM] Invalid logging line: Released for free under a Creative Commons Attribution 2.5 License
    [02:16:33 PM] Invalid logging line: */
    [02:16:33 PM] Invalid logging line: /* Page basics */
    [02:16:33 PM] Invalid logging line: * {
    [02:16:33 PM] Invalid logging level on line:      font-family: verdana, sans-serif;
    [02:16:33 PM] Invalid logging line: }
    [02:16:33 PM] Invalid logging line: html body {
    [02:16:33 PM] Invalid logging level on line:      margin: 0;
    [02:16:33 PM] Invalid logging level on line:      padding: 0;
    [02:16:33 PM] Invalid logging level on line:      background: #efefef;
    [02:16:33 PM] Invalid logging level on line:      font-size: 12px;
    [02:16:33 PM] Invalid logging level on line:      color: #1e1e1e;
    [02:16:33 PM] Invalid logging line: }
    [02:16:33 PM] Invalid logging line: /* Page displayed title area */
    [02:16:33 PM] Invalid logging line: #titles {
    [02:16:33 PM] Invalid logging level on line:      margin-left: 15px;
    [02:16:33 PM] Invalid logging level on line:      padding: 10px;
    [02:16:33 PM] Invalid logging level on line:      padding-left: 100px;
    [02:16:33 PM] Invalid logging level on line:      background: url('http://www.squid-cache.org/Artwork/SN.png') no-repeat left;
    [02:16:33 PM] Invalid logging line: }
    [02:16:33 PM] Invalid logging line: /* initial title */
    [02:16:33 PM] Invalid logging line: #titles h1 {
    [02:16:33 PM] Invalid logging level on line:      color: #000000;
    [02:16:33 PM] Invalid logging line: }
    [02:16:33 PM] Invalid logging line: #titles h2 {
    [02:16:33 PM] Invalid logging level on line:      color: #000000;
    [02:16:33 PM] Invalid logging line: }
    [02:16:33 PM] Invalid logging line: /* special event: FTP success page titles */
    [02:16:33 PM] Invalid logging line: #titles ftpsuccess {
    [02:16:33 PM] Invalid logging level on line:      background-color:#00ff00;
    [02:16:33 PM] Invalid logging level on line:      width:100%;
    [02:16:33 PM] Invalid logging line: }
    [02:16:33 PM] Invalid logging line: /* Page displayed body content area */
    [02:16:33 PM] Invalid logging line: #content {
    [02:16:33 PM] Invalid logging level on line:      padding: 10px;
    [02:16:33 PM] Invalid logging level on line:      background: #ffffff;
    [02:16:33 PM] Invalid logging line: }
    [02:16:33 PM] Invalid logging line: /* General text */
    [02:16:33 PM] Invalid logging line: p {
    [02:16:33 PM] Invalid logging line: }
    [02:16:33 PM] Invalid logging line: /* error brief description */
    [02:16:33 PM] Invalid logging line: #error p {
    [02:16:33 PM] Invalid logging line: }
    [02:16:33 PM] Invalid logging line: /* some data which may have caused the problem */
    [02:16:33 PM] Invalid logging line: #data {
    [02:16:33 PM] Invalid logging line: }
    [02:16:33 PM] Invalid logging line: /* the error message received from the system or other software */
    [02:16:33 PM] Invalid logging line: #sysmsg {
    [02:16:33 PM] Invalid logging line: }
    [02:16:33 PM] Invalid logging line: pre {
    [02:16:33 PM] Invalid logging level on line: font-family:sans-serif;
    [02:16:33 PM] Invalid logging line: }
    [02:16:33 PM] Invalid logging line: /* special event: FTP / Gopher directory listing */
    [02:16:33 PM] Invalid logging line: #dirlisting tr.entry td.icon,td.filename,td.size,td.date {
    [02:16:33 PM] Invalid logging level on line: border-bottom: groove;
    [02:16:33 PM] Invalid logging line: }
    [02:16:33 PM] Invalid logging line: #dirlisting td.size {
    [02:16:33 PM] Invalid logging level on line: width: 50px;
    [02:16:33 PM] Invalid logging level on line: text-align: right;
    [02:16:33 PM] Invalid logging level on line: padding-right: 5px;
    [02:16:33 PM] Invalid logging line: }
    [02:16:33 PM] Invalid logging line: /* horizontal lines */
    [02:16:33 PM] Invalid logging line: hr {
    [02:16:33 PM] Invalid logging level on line:      margin: 0;
    [02:16:33 PM] Invalid logging line: }
    [02:16:33 PM] Invalid logging line: /* page displayed footer area */
    [02:16:33 PM] Invalid logging line: #footer {
    [02:16:33 PM] Invalid logging level on line:      font-size: 9px;
    [02:16:33 PM] Invalid logging level on line:      padding-left: 10px;
    [02:16:33 PM] Invalid logging line: }
    [02:16:33 PM] Invalid logging line: body
    [02:16:33 PM] Invalid logging level on line: :lang(fa) { direction: rtl; font-size: 100%; font-family: Tahoma, Roya, sans-serif; float: right; }
    [02:16:33 PM] Invalid logging level on line: :lang(he) { direction: rtl; float: right; }
    [02:16:33 PM] Invalid logging line: --></style>
    [02:16:33 PM] Invalid logging line: </head><body>
    [02:16:33 PM] Invalid logging line: <div id="titles">
    [02:16:33 PM] Invalid logging line: <h1>ERROR</h1>
    [02:16:33 PM] Invalid logging line: <h2>The requested URL could not be retrieved</h2>
    [02:16:33 PM] Invalid logging line: </div>
    [02:16:33 PM] Invalid logging line: <hr>
    [02:16:33 PM] Invalid logging line: <div id="content">
    [02:16:33 PM] Invalid logging line: <p>The following error was encountered while trying to retrieve the URL: http://hp:7001/soa-infra/deployer</p>
    [02:16:33 PM] Invalid logging line: <blockquote id="error">
    [02:16:33 PM] Invalid logging line: <p><b>Unable to determine IP address from host name <q>hp</q></b></p>
    [02:16:33 PM] Invalid logging line: </blockquote>
    [02:16:33 PM] Invalid logging line: <p>The DNS server returned:</p>
    [02:16:33 PM] Invalid logging line: <blockquote id="data">
    [02:16:33 PM] Invalid logging line: <pre>Name Error: The domain name does not exist.</pre>
    [02:16:33 PM] Invalid logging line: </blockquote>
    [02:16:33 PM] Invalid logging line: <p>This means that the cache was not able to resolve the hostname presented in the URL. Check if the address is correct.</p>
    [02:16:33 PM] Invalid logging level on line: <p>Your cache administrator is [email protected].</p>
    [02:16:33 PM] Invalid logging line: <br>
    [02:16:33 PM] Invalid logging line: </div>
    [02:16:33 PM] Invalid logging line: <hr>
    [02:16:33 PM] Invalid logging line: <div id="footer">
    [02:16:33 PM] Invalid logging line: <p>Generated Tue, 20 Dec 2011 07:18:27 GMT by proxy.hipt.com.vn (squid/3.1.4)</p>
    [02:16:33 PM] Invalid logging line: <!-- ERR_DNS_FAIL -->
    [02:16:33 PM] Invalid logging line: </div>
    [02:16:33 PM] Invalid logging line: </body></html>
    [02:16:33 PM] Error deploying archive sca_Project1_rev1.0.jar to partition "default" on server AdminServer [http://HP:7001]
    [02:16:33 PM] HTTP error code returned [503]
    [02:16:33 PM] No error message is returned from the server.
    [02:16:33 PM] Error deploying archive sca_Project1_rev1.0.jar to partition "default" on server AdminServer [http://HP:7001]
    [02:16:33 PM] #### Deployment incomplete. ####
    [02:16:33 PM] Error deploying archive file:/C:/JDeveloper/mywork/TestDeploy/Project1/deploy/sca_Project1_rev1.0.jar
    (oracle.tip.tools.ide.fabric.deploy.common.SOARemoteDeployer)
    Thanks a lot!

    Hi, thanks for your reply,
    I just check but soa-infra is up
    Result:
    Welcome to the Oracle SOA Platform on WebLogic
    SOA Version: v11.1.1.5.0 - 11.1.1.5.0_110418.1550.0174 built on Mon Apr 18 18:05:14 PDT 2011
    WebLogic Server 10.3.5.0 Fri Apr 1 20:20:06 PDT 2011 1398638 (10.3.5.0)
    I've deployed my process in local computer that good! but from remote JDev i've wrong
    Help me pls!

  • Deploying ADF Application to remote Weblogic server

    Hi Everyone,
    I created an ADF Application 11.1.1.2 and deployed it successfully to the remote weblogic server 10.3.3 in same instance.
    I want to know can we create ADF application in one instance and deploy it in remote weblogic server creating Data Source for different instance?
    Let me put it in differently.
    I created ADF Application using test instance and now i want to move it to PROD but i dont have access to PROD Database but i can make the DBA's run the database scripts in PROD that are needed for the application to run successfully ,is there away so that i can create application using test instance and create DataSource in weblogic server giving PROD database details ?
    Is there a way i can give DBA's access to enter the database connection details for my application like changing any file in ADF Application like Model.jpx?
    Please provide me with solutions?
    Thanks.

    Your application should be using a WebLogic DataSource - then you can define that datasource on any server you want pointing to any database you need.
    Info here:
    http://download.oracle.com/docs/cd/E17904_01/web.1111/b31974/bcservices.htm#CHDJDBJB

  • How to load jar files from remote location

    Hi all,
    I am trying to load jar files from remote server, from a servlet which is running on OC4j.
    For doing this,First I am getting ClassLoader by using ClassLoader.getSystemClassLoader() and then type casting it to URLClassLoader.
    But by doing it I am getting ClassCastException,because oc4j returns oracle.classloader.PolicyClassLoader instead of java.net.ClassLoader.
    Appreciate if anyone can tell me how to load remote jar files using oracle.classloader.PolicyClassLoader .
    Thanks
    Harish

    Hi,
    I suppose you know about this, but just in case.
    I have used jnpl to load jar files from remote location.
    Rowan

  • Not able to consume messages in the remote weblogic server from Oracle SOA

    I am able to see the messages in the Queue.
    I just created a simple JMS adapter for outboud connection
    Consume operations parameters
    Queue Name : eis/JMS/REmoteQueue
    JNDI Name : eis/JMS/REmoteQueue
    Configuration for
    Remote Weblogic server ( weblogic 9.2)
    JMSModule: MyJMSModule
    Queue Information:
    Queue Name : REmoteQueue
    Destination name :eis/JMS/REmoteQueue
    JNDI Name: eis/JMS/REmoteQueue
    ConnectionFactory: TestFactory
    JNDI Name : jms/TestFactory
    SOA Oracle Weblogic server : Local Machine
    general information for this resource adapter Outbound Connection.
    JNDI Name: eis/JMS/RemoteQueue
    Property Name Property Type Property Value
    AcknowledgeMode : AUTO_ACKNOWLEDGE
    ConnectionFactoryLocation : jms/TestFactory
    FactoryProperties: java.naming.factory.initial=weblogic.jndi.WLInitialContextFactory;java.naming.provider.url=t3://servername:xx;java.naming.security.principal=xxxxx;java.naming.security.credentials=xxxxx
    IsTopic : false
    IsTransacted :false
    Password :
    Username:
    I am not able to see any consumers in the remote machine.

    There are no errors /exceptions. The project is deployed, since it is a JMS adapter with consume operation it should poll the queue and get the message if it is available.
    This is the *.jca file for adapter.
    <adapter-config name="psoftconsume" adapter="Jms Adapter" wsdlLocation="psoftconsume.wsdl" xmlns="http://platform.integration.oracle/blocks/adapter/fw/metadata">
    <connection-factory location="eis/JMS/RemoteQueue" UIConnectionName="remotewls" UIJmsProvider="WLSJMS" adapterRef=""/>
    <endpoint-activation portType="Consume_Message_ptt" operation="Consume_Message">
    <activation-spec className="oracle.tip.adapter.jms.inbound.JmsConsumeActivationSpec">
    <property name="DestinationName" value="eis/JMS/RemoteQueue"/>
    <property name="UseMessageListener" value="false"/>
    <property name="PayloadType" value="TextMessage"/>
    </activation-spec>
    </endpoint-activation>
    </adapter-config>

  • JAR files deployed to EBS server a not loaded by server

    Dear All,
    We deployed JAR files to Apache(Jserver) of EBS server, we put jar files to $OA_JAVA and added content of jar file names into jserv.properties, then we re-started the Apache(Jserver), but the JAR files are not loaded by server, we checked the properties file and the path of JAR files are both OK, what may cause this kind of issue?
    Currently, we are working on the Accounts Payables interface, which need to call java scripts to upload the log file to Google drive, and we need to include some Google java files in the class path, so these java files are third party's, how to config these java files under Oracle?
    Thanks,
    Jackie

    Hello Mike,
    It customization jar file.
    And customer wants to load this jar file to EBS apache server, so that they can use it to do some development work?
    Now, they wants to know how to load it?
    Thanks,
    Jackie

  • WLST : Error connecting to a remote Weblogic server instance from OEPE 3.7

    Attempting a to run a weblogic script connecting to a remote weblogic server instance (10.3.5), which is generating the following exception in OEPE 3.7.2 -
    username = 'weblogic'
    password = 'weblogic6'
    url='t3://xxx.xxx.com:7001'
    connect(username,password,url)
    Connecting to t3://xxx.xxx.com:7001 with userid weblogic ...
    This Exception occurred at Fri Feb 01 13:20:54 MST 2013.
    Error occured while performing connect : Error connecting to the server : Failed to generate class for weblogic.management.mbeanservers.compatibility.internal.MBeanHomeImpl_1035_WLStub
    Use dumpStack() to view the full stacktrace :
    java.lang.AssertionError: Failed to generate class for weblogic.management.mbeanservers.compatibility.internal.MBeanHomeImpl_1035_WLStubconnect
    Problem invoking WLST - Traceback (innermost last):
    File "C:\Users\hughese\workspace\12c_wlst\wlst\heapsize.py", line 13, in ?
    File "<iostream>", line 22, in connect
    File "<iostream>", line 648, in raiseWLSTException
    WLSTException: Error occured while performing connect : Error connecting to the server : Failed to generate class for weblogic.management.mbeanservers.compatibility.internal.MBeanHomeImpl_1035_WLStub
    Use dumpStack() to view the full stacktrace
    Connecting to the local weblogic server instance (t3://localhost:7001) works okay.
    From the command prompt (wlst.cmd) I'm able to connect to the remote weblogic server instance -
    wls:/offline> connect('weblogic','xxxxx','t3:xxx.xxx.com:7001') ;
    Connecting to t3://xxx.xxx.com:7001 with userid weblogic ...
    Successfully connected to Admin Server 'AdminServer' that belongs to domain 'IDMDomain'.
    I've compared the CLASSPATHs between OEPE and the command prompt.
    Any assistance would be greatly appreciated.
    Edited by: 950635 on Feb 1, 2013 7:47 PM

    Hi,
    1)To get mysql JDBC driver to work on my Linux system, i had to add the classpath for the driver to the .bashrc:
    CLASSPATH=./:home/<user>/java/mm.mysql-2.0.6/:home/<user>/java
    Note that I execute the java program as the user <user> (and .bashrc is the config. file of this <user>...). Perhaps you must do this as well for the Oracle driver on your client machine. I don't know if your client machine is UNIX/LINUX or WINDOWS. It should only be clear that the CLASSPATH is set in the config. file of the user under which the java program runs and that this user has the permission to access the files.
    There are no differences between accessing the database locally than accessing it by a network connection. The only thing that matters are that the connection parameters are right and that the network works properly.
    2) are you sure that the table tname (case sensitivity?) exits?
    Marc

  • Can not find weblogic_sp.jar file after installed weblogic

    I just installed weblogic server (using weblogic610sp2_win.exe file) on my windows
    2000 pro box. Everything looks fine but I can not find the < weblogic_sp.jar >
    file. I noticed some guys met same problem but no answer.
    can you help me ?

    Hi.
    Don't worry about it.
    The reference to weblogic_sp.jar is a leftover from previous methods for updating
    service packs. Nowadays when you install a service pack it is integrated into the
    weblogic.jar file. If you have any doubts about your server version after installing
    or applying a service pack you should check the server version via the console
    (Servers|<server name>|Monitoring|Versions). Your version string should look
    something like: "WebLogic Server 6.1 SP2 12/18/2001 11:13:46 #154529"
    Regards,
    Michael
    Leo wrote:
    I just installed weblogic server (using weblogic610sp2_win.exe file) on my windows
    2000 pro box. Everything looks fine but I can not find the < weblogic_sp.jar >
    file. I noticed some guys met same problem but no answer.
    can you help me ?--
    Michael Young
    Developer Relations Engineer
    BEA Support

  • Regarding the uploading the pdf file to the application server

    hi,
    iam getting this error while uploading the pdf file to the applicatioin server.
    "There was an error while trying to parse an image"
    to convert smartform into PDF file we ll use convert_otf FM.
    If see that FM data ll be stored in it_tline structure ok.
    For sending to application server we ll use
    OPEN DATASET p_arch for OUTPUT IN TEXT MODE ENCODING DEFAULT IGNORING CONVERSION ERRORS.
      LOOP AT it_tline.
      TRANSFER it_tline to p_arch.
      ENDLOOP.
      CLOSE DATASET p_arch.
    Ok
    For getting data from internal table we ll use
    OPEN DATASET p_arch FOR INPUT IN TEXT MODE ENCODING DEFAULT IGNORING CONVERSION ERRORS
    do.
      READ DATASET p_arch INTO it_tline.
      if sy-subrc = 0.
        APPEND it_tline.
        ELSE .
          exit.
          endif.
      enddo.
    CLOSE DATASET p_arch.
          LOOP AT it_tline.
        TRANSLATE it_tline USING '~'.
        CONCATENATE wa_buffer it_tline INTO wa_buffer.
      ENDLOOP.
      TRANSLATE wa_buffer USING '~'.
      DO.
        i_record = wa_buffer.
        APPEND i_record.
        SHIFT wa_buffer LEFT BY 255 PLACES.
        IF wa_buffer IS INITIAL.
          EXIT.
        ENDIF.
      ENDDO.
    Attachment
      REFRESH:
        i_reclist,
        i_objtxt,
        i_objbin,
        i_objpack.
      CLEAR wa_objhead.
      i_objbin[] = i_record[].
    Create Message Body
    Title and Description
      i_objtxt = 'COMMERCIAL INVOICE'.
      APPEND i_objtxt.
      DESCRIBE TABLE i_objtxt LINES v_lines_txt.
      READ TABLE i_objtxt INDEX v_lines_txt.
      wa_doc_chng-obj_name   = 'COMMERCIAL INVOICE'.
      wa_doc_chng-expiry_dat = sy-datum + 10.
      wa_doc_chng-obj_descr  = 'COMMERCIAL INVOICE'.
      wa_doc_chng-sensitivty = 'F'.
      wa_doc_chng-doc_size   = v_lines_txt * 255.
      CLEAR i_objpack-transf_bin.
      i_objpack-head_start = 1.
      i_objpack-head_num   = 0.
      i_objpack-body_start = 1.
      i_objpack-body_num   = v_lines_txt.
      i_objpack-doc_type   = 'RAW'.
      APPEND i_objpack.
    Attachment
    (pdf-Attachment)
      i_objpack-transf_bin = 'X'.
      i_objpack-head_start = 1.
      i_objpack-head_num   = 0.
      i_objpack-body_start = 1.
      DESCRIBE TABLE i_objbin LINES v_lines_bin.
      READ TABLE i_objbin INDEX v_lines_bin.
      i_objpack-doc_size =  v_lines_bin * 255 .
      i_objpack-body_num  = v_lines_bin.
      i_objpack-doc_type  = 'PDF'.
      i_objpack-obj_name  = 'COMMERCIAL INVOICE'.
      i_objpack-obj_descr = 'COMMERCIAL INVOICE'.
      APPEND i_objpack.
    BREAK-POINT.
      IF it_adr6[] IS NOT INITIAL.
        LOOP AT it_adr6 INTO wa_adr6.
          CLEAR i_reclist.
          i_reclist-receiver = wa_adr6-smtp_addr.
          i_reclist-rec_type = 'U'.
          i_reclist-com_type = 'INT'.
          APPEND i_reclist.
        ENDLOOP.
        CALL FUNCTION 'SO_NEW_DOCUMENT_ATT_SEND_API1'
          EXPORTING
            document_data = wa_doc_chng
            put_in_outbox = 'X'
          TABLES
            packing_list  = i_objpack
            object_header = wa_objhead
            contents_bin  = i_objbin
            contents_txt  = i_objtxt
            receivers     = i_reclist.
      ENDIF.
    The above error I am getting.
    Please give your suggestions
    Thanks in advance

    U can use this code
    Reward if useful
    REPORT  ZMN_PDF_UPLOAD.
    data: begin of itab occurs 0,
    field(256),
    end of itab.
    data: dsn(100) value '\usr\sap\DEV\DVEBMGS00\work\testpdf',
    length like sy-tabix,
    lengthn like sy-tabix.
    call function 'GUI_UPLOAD'
    exporting
    filename = 'c:\temp\test.pdf'
    filetype = 'BIN'
    importing
    filelength = length
    tables
    data_tab = itab.
    open dataset dsn for output in binary mode.
    loop at itab.
    transfer itab-field to dsn.
    endloop.
    close dataset dsn.
    clear itab.
    refresh itab.
    *To crosscheck if it went well
    open dataset dsn for input in binary mode.
    do.
    read dataset dsn into itab-field.
    if sy-subrc = 0.
    append itab.
    else.
    exit.
    endif.
    enddo.
    call function 'GUI_DOWNLOAD'
    exporting
    filename = 'c:\temp\testn.pdf'
    filetype = 'BIN'
    bin_filesize = length
    importing
    filelength = lengthn
    tables
    data_tab = itab.
    *Or
    *Use the TCode
    *CG3Z or CG3Y
    *for downloading to Application Server.

  • Regarding receiver FILE adapter,  REMOTE FTP server

    Hi All,
    The scenario was to get XML file from a local FTP server and to place that XML file in REMOTE FTP server, which we dont have any control over that REMOTE FTP,
    While executing the scenario it is successfully picked the file and processed and it was success in SXMB_MONI, but when we see the Communication Chaneel of the receiver adapter it is generating the following error..
    Error when getting an FTP connection from connection pool: com.sap.aii.af.service.util.concurrent.ResourcePoolException: Unable to create new pooled resource: ConnectException: Connection timed out: connect
    Message processing failed. Cause: com.sap.aii.af.ra.ms.api.RecoverableException: Error when getting an FTP connection from connection pool: com.sap.aii.af.service.util.concurrent.ResourcePoolException: Unable to create new pooled resource: ConnectException: Connection timed out: connect
    clarifications needed ASAP
    regards,
    Kishore.

    Hi,
    Verify the Host details of the Remote FTP.
    Try to ping the Remote host as below
    Goto > start>Run --->type cmd and give the command as below
    c:\>ping <host details or IP address> press enter and see if you get the successful communication response.
    If its not it indicates that the connection is not setup.
    Ask you FTP administrators to look into connectivity issue for it.
    Thanks
    Swarup

Maybe you are looking for

  • Want to connect JVC analog video VHS to IMAC IMOVIE Two rca's out one labeled Video, One labeled, Audio. Do I need a digitizer to get edit capabilities in I-Movie?r

    Trying to import video tape vhs to digital video of acceptable quality to use in I Movie, 2 RCA's out 1Video,1AUDIO, do I need an expensive A to D converter @ $200. plus? or is there a cheaper way? Thanks' Rich'

  • Help - xml driven photo gallery

    Hello, I have a very simple ajax page. There is a dropdown from which the user selects the gallery and then there is an xml file that send back the xml full of pictures for that gallery. The problem is that on changing the gallery in the dropdown, so

  • Wage type AMT in TCRT

    Hi All, We ran offcycle payroll later we made the run as void, But the amount in the TCRT got added to tax wage type /310,. Please let me know the procedure. for example in normal run for last month payroll /310 is 3000. but when we ran the offcycle

  • XML DML XQuery Update syntax

    Hi everybody, Certainly my question will appear strange and even stupid , but I want to be sure to use the best syntax and also to be confirmed about some points. In the document Oracle XML DB Best practices, we can find a lot of statements for modif

  • To Nokia Ovi Store Board Staff about App Prices

    I have a question about application purchases in Nokia's Ovi Store. When I wanted to buy a gaming application, it was shown that it costs 0.50 LVL, but after the purchase was made, the bank's purchase history showed me that the application cost 0.82