Help Needed! java.lang.Exception: Unable to connect to server

I am trying to connect remotely to my office workstation and get the error "java.lang.Exception: Unable to connect to server".  I have already upgraded to MountainLion, installed Java 7, and have also tried 3 different browsers (Safari, Firefox, Chrome) without success.  I was able to login a few weeks ago and it has since stopped.  My employer's IT support cannot understand how to help me and they're telling me I need to buy a PC.
Can someone help?

Check whether your connection pool and datasource are really
started. Also check you have the correct JDNI name, NOT name,
for your datasource.
"Ajay Singh" <[email protected]> wrote:
>
Hi,
=============
java.lang.Exception: Unable to resolve wwinvDataSource. Resolved: '' Unresolved:'wwinvDataSource'
=============
I am getting this error in the JSP. wwinvDataSource is the name of my DataSource.
Has anybody encountered similar problem?
Thanks,
Ajay

Similar Messages

  • Java.lang.Exception: Unable to resolve wwinvDataSource

    Hi,
    =============
    java.lang.Exception: Unable to resolve wwinvDataSource. Resolved: '' Unresolved:'wwinvDataSource'
    =============
    I am getting this error in the JSP. wwinvDataSource is the name of my DataSource.
    Has anybody encountered similar problem?
    Thanks,
    Ajay

    Check whether your connection pool and datasource are really
    started. Also check you have the correct JDNI name, NOT name,
    for your datasource.
    "Ajay Singh" <[email protected]> wrote:
    >
    Hi,
    =============
    java.lang.Exception: Unable to resolve wwinvDataSource. Resolved: '' Unresolved:'wwinvDataSource'
    =============
    I am getting this error in the JSP. wwinvDataSource is the name of my DataSource.
    Has anybody encountered similar problem?
    Thanks,
    Ajay

  • Urgent help required "java.lang.Exception: Connection reset"

    Hi Everyone,
    I am getting error message when I access cluster database from grid console.
    Error      java.lang.Exception: Connection reset
    I am unable to create jobs or do other admin stuff on the database, I have searched alot , restarted the repository database, restarted the emgc components, even the agents but of no use. The agent status showing OK as under.
    Oracle Enterprise Manager 10g Release 3 Grid Control 10.2.0.3.0.
    Copyright (c) 1996, 2007 Oracle Corporation. All rights reserved.
    Agent Version : 10.2.0.3.0
    OMS Version : 10.2.0.3.0
    Protocol Version : 10.2.0.2.0
    Agent Home : /app/oracle/agent/agent10g/rac2.tawaf
    Agent binaries : /app/oracle/agent/agent10g
    Agent Process ID : 19646
    Parent Process ID : 19629
    Agent URL : https://rac2.tawaf:3872/emd/main
    Repository URL : https://tawafapp.tawaf:1159/em/upload
    Started at : 2009-04-02 11:26:10
    Started by user : oracle
    Last Reload : 2009-04-02 11:26:10
    Last successful upload : 2009-04-02 12:27:42
    Total Megabytes of XML files uploaded so far : 3.48
    Number of XML files pending upload : 0
    Size of XML files pending upload(MB) : 0.00
    Available disk space on upload filesystem : 86.22%
    Last successful heartbeat to OMS : 2009-04-02 12:30:20
    Agent is Running and Ready
    The error reported in emoms.log is as under.
    2009-04-02 12:37:25,073 [MetricCollector:RACHOMETAB_THREAD600:60] ERROR rt.RacMetricCollectorTarget _getAllData.184 - oracle.sysman.emSDK.emd.comm.CommException: Connection reset
    oracle.sysman.emSDK.emd.comm.CommException: Connection reset
    at oracle.sysman.emSDK.emd.comm.EMDClient.getResponseForRequest(EMDClient.java:1543)
    at oracle.sysman.emSDK.emd.comm.EMDClient.getMetrics(EMDClient.java:915)
    at oracle.sysman.emo.rac.perform.metric.rt.RacHomeTab._getAllData(RacHomeTab.java:180)
    at oracle.sysman.emo.rac.perform.metric.rt.RacHomeTab.getData(RacHomeTab.java:91)
    at oracle.sysman.emo.perf.metric.eng.MetricCached.collectCachedData(MetricCached.java:404)
    at oracle.sysman.emo.perf.metric.eng.MetricCollectorThread._collectCachedData(MetricCollectorThread.java:596)
    at oracle.sysman.emo.perf.metric.eng.MetricCollectorThread.run(MetricCollectorThread.java:320)
    at java.lang.Thread.run(Thread.java:534)
    can anyone help me as its very urgent for me to clear this error.
    thanks

    this error is also reported against the cluster database.
         Thread: SeverityLoad https://rac2.tawaf:3872/emd/main java.sql.SQLException: ORA-20613: Severity for unknown target. (target guid = 1938FC9C72DDAC01E0C0F268FFC5F6AD) ORA-06512: at "SYSMAN.EM_VIOLATION_CHECKS", line 174 ORA-04088: error during execution of trigger 'SYSMAN.EM_VIOLATION_CHECKS' Error occured at line : 43, File name:Severity

  • Database control shows java.lang.Exception: IOException in connect refuse

    Hi All,
    I need some help on this issue.
    I followed MOS Doc 259387.1 to reset dbsnmp password because its password is unknown.
    The error is
    Error
    java.lang.Exception: IOException in sending Request :: Connection refused
    Thanks in advance.
    leim

    Hi,
    Posting this error in metalink you could get nice directions...
    I have the same problem, and looks fixed now...
    Try review doc 420761.1
    And what I do, was:
    Stop dbconsole
    start dbconsole (fails)
    review logs generated and look this errors:
    $ORACLE_HOME/<hostname>_<instance_name>/sysman/log
    doing there a directory listing by date, "ls -ltr" the last file showed is the modified one, in my case was:
    rw-r--- 1 oracle oinstall 920007 Oct 27 19:33 emoms.log
    -rw-r----- 1 oracle oinstall 522694 Oct 27 19:34 emdb.nohup
    -rw-r----- 1 oracle oinstall 39130 Oct 27 19:38 emdctl.trc
    tail emdctl.trc
    2009-10-27 19:19:05 Thread-14236448 ERROR main: nmectl.c: nmectl_validateTZRegion, agentTZoffset =-360,and testTZoffset for -05:00:-300 do not match
    2009-10-27 19:19:05 Thread-1125024 WARN http: snmehl_connect: connect failed to (<hostname>:3938): Connection refused (error = 111)
    And tail emdb.nohup gives you the instructions to fix the first one, in my case, solving the TZRegion was enough.
    $ tail emdb.nohup
    ----- Tue Oct 27 19:19:05 2009::The agentTZRegion value in /oracle/product/102/db_1/dbserver.uadec.mx_siin/sysman/config/emd.properties is not in agreement with what agent thinks it should be.Please verify your environment to make sure that TZ setting has not changed since the last start of the agent.
    If you modified the timezone setting in the environment, please stop the agent and exectute 'emctl resetTZ agent' and also execute the script 'mgmt_target.set_agent_tzrgn' to get the value propagated to repository -----
    Hope this could help you.
    Regards
    Edited by: EnriqueGB on 27/10/2009 08:16 PM

  • JDBC help needed ; java.lang.NoClassDefFoundError:test1

    hi, everyone, i had a problem when i run my own app to connect javadb in embedded mode
    i ve added the ~/javadb/lib/derby.jar to CLASSPATH
    and ~/javadb/lib/derby.jar:~/javadb/lib/derbytools.jar to DERBY_HOME
    but there is a problem said my own application class cannot be found.
    here is my code:
    import java.sql.*;
    class test1
      public static void main (String args [])
           throws SQLException
           try {
            Class.forName("org.apache.derby.jdbc.EmbeddedDriver");
        } catch (Exception e) {
            System.out.println("ERROR: failed to load javadb JDBC driver.");
            e.printStackTrace();
            return;
          Connection conn = DriverManager.getConnection("jdbc:derby:testdb");
      try{
         Statement stmt1 = conn.createStatement();
            ResultSet rset1 = stmt1.executeQuery( "SELECT * FROM PART" );
         long counter1 = 0;
            double price1;
         while ( rset1.next() )
             price1 = rset1.getDouble(8);
             if (price1 == 1306.4)
              counter1++;
         System.out.println( counter1 );
         stmt1.executeQuery("SHUTDOWN");
         conn.close();
       catch (SQLException e )
         String errmsg = e.getMessage();
         System.out.println( errmsg );
    }and i ve followed one Derby JDBC tutorial on the internet,
    * AutoLoadJdbcDriver.java
    * Copyright (c) 2007 by Dr. Herong Yang. All rights reserved.
    import java.sql.*;
    import java.util.*;
    public class AutoLoadJdbcDriver {
      public static void main(String [] args) {
        Connection con = null;
        try {
          listDrivers();
    // Find the driver for a given URL
          Driver driverClass = (Driver) DriverManager.getDriver(
            "jdbc:derby://somehost/somedb");
          System.out.println("\nDriver for jdbc:derby://somehost/somedb");
          System.out.println("   "+driverClass.getClass().getName());
          listDrivers();
        } catch (Exception e) {
          System.err.println("Exception: "+e.getMessage());
      private static void listDrivers() {
        Enumeration driverList = DriverManager.getDrivers();
        System.out.println("\nList of drivers:");
        while (driverList.hasMoreElements()) {
          Driver driverClass = (Driver) driverList.nextElement();
          System.out.println("   "+driverClass.getClass().getName());
    The output below confirms that the DriverManager class is able to load any JDBC driver classes as long as their JAR files are included in the classpath.
    C:\>javac AutoLoadJdbcDriver.java
    C:\>java -cp .;\local\javadb\lib\derbyclient.jar AutoLoadJdbcDriver
    List of drivers:
    sun.jdbc.odbc.JdbcOdbcDriver
    org.apache.derby.jdbc.ClientDriver
    Driver for jdbc:derby://somehost/somedb
    org.apache.derby.jdbc.ClientDriver
    List of drivers:
    sun.jdbc.odbc.JdbcOdbcDriver
    org.apache.derby.jdbc.ClientDriver
    but on my machine , it keep telling me the massage
    Exception in thread "main" java.lang.NoClassDefFoundError: SimpleApp
    Exception in thread "main" java.lang.NoClassDefFoundError: test1
    Exception in thread "main" java.lang.NoClassDefFoundError: AutoLoadJdbcDriver
    the ij works well
    and the other java app(without jdbc) works well.
    anybody can help me to solve this problem?
    Edited by: Xiao on Jan 18, 2008 6:19 PM

    but on my machine , it keep telling me the massage
    Exception in thread "main" java.lang.NoClassDefFoundError: SimpleApp
    Exception in thread "main" java.lang.NoClassDefFoundError: test1
    Exception in thread "main" java.lang.NoClassDefFoundError: AutoLoadJdbcDriverI assume you get these messages when you try and run the three programs mentioned (SimpleApp, test1 and AutoLoadJdbcDriver).
    What commands do you use to do this? What does the command line report the CLASSPATH to be (using the echo command)?
    The simplest cause would be that you have the derby jar mentioned as part of CLASSPATH, but not the current directory.

  • First Spring Application .Help needed.java.lang.ClassNotFoundException

    Hi
    i am new to this site and java Springs, I couldn't find seprate spring forum so i am posting my question here.
    i hope its not a problem.
    I am very new to Springs and struggeling through my first Spring MVC application. can any one help me here.
    Here is what i have done uptill now.
    WEB.XML
    <?xml version="1.0" encoding="UTF-8"?>
    <web-app version="2.4" xmlns="http://java.sun.com/xml/ns/j2ee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd">
        <servlet>
            <servlet-name>HelloSpring</servlet-name>
            <servlet-class>org.springframework.web.servlet.DispatcherServlet</servlet-class>
            <load-on-startup>1</load-on-startup>
            </servlet>
        <servlet-mapping>
            <servlet-name>HelloSpring</servlet-name>
            <url-pattern>*.htm</url-pattern>
        </servlet-mapping>
        <session-config>
            <session-timeout>      
                30
            </session-timeout>
        </session-config>
        <welcome-file-list>
         <welcome-file>
                index.jsp
            </welcome-file>
        </welcome-file-list>
    </web-app>
    HelloSpring-servlet.xml
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE beans PUBLIC "-//SPRING//DTD BEAN/EN" "http://www.springframework.org/dtd/spring-beans.dtd">
    <beans>
        <bean id="urlMapping" class="org.springframework.web.servlet.handler.SimpleUrlHandlerMapping">
            <property name="mappings">
                <props>
                    <prop key="/hello.htm">HelloSpringController</prop>
                </props>
            </property>
        </bean>
        <bean id = "HelloSpringController" class="HelloSpringController" />
    </beans>
    index.jsp
    <html>
        <head>
            <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
            <title>Hello Spring</title>
        </head>
        <body>
        <form action="hello.htm"  method="POST">
            What is your name?
            <input type="text" name="yourName" value="" />
        </form>
        </body>
    </html>
    welcome.jsp
    <%@page contentType="text/html"%>
    <%@page pageEncoding="UTF-8"%>
    <%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
       "http://www.w3.org/TR/html4/loose.dtd">
    <html>
        <head>
            <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
            <title>Hello Spring</title>
        </head>
        <body>
        Hello <c:out value="${name}" />
        </body>
    </html>
    HelloSpringController.java (in default package)
    import javax.servlet.http.HttpServletRequest;
    import javax.servlet.http.HttpServletResponse;
    import org.springframework.web.servlet.ModelAndView;
    import org.springframework.web.servlet.mvc.Controller;
    public class HelloSpringController implements Controller {
        public HelloSpringController() {
        public ModelAndView handleRequest(HttpServletRequest httpServletRequest,
                                          HttpServletResponse httpServletResponse)
                                            throws Exception {
            String name = httpServletRequest.getParameter("yourName");
            return new ModelAndView("welcome.jsp", "name", name);
    }After Entering name in the text box of index.jsp, i am getting the following error.
    exception
    javax.servlet.ServletException: Servlet.init() for servlet HelloSpring threw exception
         org.jboss.web.tomcat.security.CustomPrincipalValve.invoke(CustomPrincipalValve.java:39)
         org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:159)
         org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:59)
         org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
         org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
         org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856)
         org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:744)
         org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
         org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
         java.lang.Thread.run(Unknown Source)
    root cause
    org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'urlMapping' defined in ServletContext resource [/WEB-INF/HelloSpring-servlet.xml]: Initialization of bean failed; nested exception is org.springframework.beans.factory.CannotLoadBeanClassException: Cannot find class [HelloSpringController] for bean with name 'HelloSpringController' defined in ServletContext resource [/WEB-INF/HelloSpring-servlet.xml]; nested exception is java.lang.ClassNotFoundException: HelloSpringController
         org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:451)
         org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:251)
         org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:156)
         org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:248)
         org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:160)
         org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:287)
         org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:352)
         org.springframework.web.servlet.FrameworkServlet.createWebApplicationContext(FrameworkServlet.java:330)
         org.springframework.web.servlet.FrameworkServlet.initWebApplicationContext(FrameworkServlet.java:266)
         org.springframework.web.servlet.FrameworkServlet.initServletBean(FrameworkServlet.java:236)
         org.springframework.web.servlet.HttpServletBean.init(HttpServletBean.java:126)
         javax.servlet.GenericServlet.init(GenericServlet.java:211)
         org.jboss.web.tomcat.security.CustomPrincipalValve.invoke(CustomPrincipalValve.java:39)
         org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:159)
         org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:59)
         org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
         org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
         org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856)
         org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:744)
         org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
         org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
         java.lang.Thread.run(Unknown Source)
    root cause
    java.lang.ClassNotFoundException: HelloSpringController
         org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1332)
         org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1181)
         org.springframework.util.ClassUtils.forName(ClassUtils.java:201)
         org.springframework.beans.factory.support.AbstractBeanDefinition.resolveBeanClass(AbstractBeanDefinition.java:327)
         org.springframework.beans.factory.support.AbstractBeanFactory.resolveBeanClass(AbstractBeanFactory.java:1066)
         org.springframework.beans.factory.support.AbstractBeanFactory.isBeanClassMatch(AbstractBeanFactory.java:1094)
         org.springframework.beans.factory.support.AbstractBeanFactory.isSingleton(AbstractBeanFactory.java:354)
         org.springframework.context.support.AbstractApplicationContext.isSingleton(AbstractApplicationContext.java:745)
         org.springframework.web.servlet.handler.AbstractUrlHandlerMapping.registerHandler(AbstractUrlHandlerMapping.java:255)
         org.springframework.web.servlet.handler.SimpleUrlHandlerMapping.registerHandlers(SimpleUrlHandlerMapping.java:125)
         org.springframework.web.servlet.handler.SimpleUrlHandlerMapping.initApplicationContext(SimpleUrlHandlerMapping.java:103)
         org.springframework.context.support.ApplicationObjectSupport.setApplicationContext(ApplicationObjectSupport.java:73)
         org.springframework.context.support.ApplicationContextAwareProcessor.postProcessBeforeInitialization(ApplicationContextAwareProcessor.java:72)
         org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyBeanPostProcessorsBeforeInitialization(AbstractAutowireCapableBeanFactory.java:304)
         org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1168)
         org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:428)
         org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:251)
         org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:156)
         org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:248)
         org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:160)
         org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:287)
         org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:352)
         org.springframework.web.servlet.FrameworkServlet.createWebApplicationContext(FrameworkServlet.java:330)
         org.springframework.web.servlet.FrameworkServlet.initWebApplicationContext(FrameworkServlet.java:266)
         org.springframework.web.servlet.FrameworkServlet.initServletBean(FrameworkServlet.java:236)
         org.springframework.web.servlet.HttpServletBean.init(HttpServletBean.java:126)
         javax.servlet.GenericServlet.init(GenericServlet.java:211)
         org.jboss.web.tomcat.security.CustomPrincipalValve.invoke(CustomPrincipalValve.java:39)
         org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:159)
         org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:59)
         org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
         org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
         org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856)
         org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:744)
         org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
         org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
         java.lang.Thread.run(Unknown Source)Can anybody tell me what is am doing wrong .. it will be a greate help...
    thanks in advance

    vikash_sharma wrote:
    Thanks for another quick reply
    here is the folder structure of war.
    HelloSpring.war
    -----------Bin (empty)Wrong. No need for this. Remove it.
    ------------src/HelloSpringController.javaWrong. Source code doesn't go in WAR.
    ------------WEB-INF/classes(empty)there's your problem. the HelloSpringController.class has to be in there.
    /libWhere are the Spring JARs?
    /META-INF
    /tldDon't need /tld.
    ------------welcome.jsp
    ------------index.jspWhere's your web.xml? Where is the Spring configuration?
    You're still blank. Not even close to correct. You don't seem to know Java well enough to tackle this. You will NOT be able to accomplish this by asking questions here. Go back and learn more basics.
    %

  • Java.lang.Exception problem .. help needed

    I have a class and i am trying to access a method of another class that is reading an object.
    public void read(String filename) throws Exception {
    String fn = filename;
    ObjectInputStream out = null;
    Object object = null;
    try {
    FileInputStream file = new FileInputStream(fn);
    out = new ObjectInputStream(file);
    object = out.readObject();
    out.close();
    } catch (java.io.IOException IOE) {
    if (out != null)
    try {
    out.close();
    } catch (Exception ex) {}
    throw IOE;
    When i am compiling the program it is giving me this error
    unreported exception java.lang.Exception; must be caught or declared to be thrown
    I'm quite new to java ... could you tell me how to catch this exception
    its in this part
    scoreTable.read("scores.txt");
    Thanks

    Try this :
        private void someMethod(){
            try{
                read("c:\\bank\\testobject.txt");
            }catch(IOException ex){
                ex.printStackTrace();
            }catch(ClassNotFoundException ex){
                ex.printStackTrace();
    //        you can use the object here
        Object object;
        public void read(final String filename)  throws IOException, ClassNotFoundException{
            ObjectInputStream out = null;
            object = null;
            try{
                out = new ObjectInputStream(new FileInputStream(filename));
                object = out.readObject();
            }finally{
                if( out != null ){
                    out.close();
        }

  • Error Connecting to database URL jdbc:oracle:oci:@rmsdbtst as user rms13 java.lang.Exception:UnsatisfiedLinkError encountered when using the Oracle driver

    Trying to Install RMS application 13.2.2 and I get past the pre-installation checks and when I get to the Data Source details and enter the data source details with the check box checked to validate the schema/Test Data Source I get the following error:
    Error Connecting to database URL jdbc:oracle:oci:@rmsdbtst as user rms13 java.lang.Exception:UnsatisfiedLinkError encountered when using the Oracle driver. Please check that the library path is set up properly or switch to the JDBC thin client oracle/jdbc/driver/T2CConnection.getLibraryVersioNumber()
    Checks performed:
    RMS Application code location and directory contents:
    [oracle@test-rms-app application]$ pwd
    /binary_files/STAGING_DIR/rms/application
    [oracle@test-rms-app application]$ ls -ltr
    total 144
    -rw-r--r-- 1 oracle oinstall   272 Dec 7  2010 version.properties
    -rw-r--r-- 1 oracle oinstall   405 Jan 16 2011 expected-object-counts.properties
    -rw-r--r-- 1 oracle oinstall   892 May 13 2011 ant.install.properties.sample
    -rw-r--r-- 1 oracle oinstall 64004 Jun  6  2011 build.xml
    drwxr-xr-x 9 oracle oinstall  4096 Jun 16 2011 rms13
    drwxr-xr-x 3 oracle oinstall  4096 Jun 16 2011 installer-resources
    drwxr-xr-x 3 oracle oinstall  4096 Jun 16 2011 antinstall
    drwxr-xr-x 2 oracle oinstall  4096 Jun 16 2011 ant-ext
    drwxr-xr-x 5 oracle oinstall  4096 Jun 16 2011 ant
    -rw-r--r-- 1 oracle oinstall 11324 Dec 18 09:18 antinstall-config.xml.ORIG
    -rwxr-xr-x 1 oracle oinstall  4249 Dec 18 10:01 install.sh
    drwxr-xr-x 4 oracle oinstall  4096 Dec 18 10:06 common
    -rw-r--r-- 1 oracle oinstall 16244 Dec 19 10:37 antinstall-config.xml
    -rw-r--r-- 1 oracle oinstall   689 Dec 19 10:37 ant.install.log
    [oracle@test-rms-app application]$
    Application installation:
    [oracle@test-rms-app application]$ ./install.sh
    THIS IS the driver directory
    Verified $ORACLE_SID.
    Verified SQL*Plus exists.
    Verified write permissions.
    Verified formsweb.cfg read permissions.
    Verified Registry.dat read permissions.
    Verified Java version 1.4.2.x or greater. Java version - 1.6.0
    Verified Tk2Motif.rgb settings.
    Verified frmcmp_batch.sh status.
    WARNING: Oracle Enterprise Linux not detected.  Some components may not install properly.
    Verified $DISPLAY - 172.16.129.82:0.0.
    This installer will ask for your "My Oracle Support" credentials.
    Preparing installer. This may take a few moments.
    Your internet connection type is: NONE
    Integrating My Oracle Support into the product installer workflow...
         [move] Moving 1 file to /binary_files/STAGING_DIR/rms/application
    Installer preparation complete.
    MW_HOME=/u01/app/oracle/Middleware/NewMiddleware1034
    ORACLE_HOME=/u01/app/oracle/Middleware/NewMiddleware1034/as_1
    ORACLE_INSTANCE=/u01/app/oracle/Middleware/NewMiddleware1034/asinst_1
    DOMAIN_HOME=/u01/app/oracle/Middleware/NewMiddleware1034/user_projects/domains/rmsClassDomain
    WLS_INSTANCE=WLS_FORMS
    ORACLE_SID=rmsdbtst
    JAVA_HOME=/u01/app/oracle/jrockit-jdk1.6.0_45-R28.2.7-4.1.0
    Launching installer...
    To make sure I have connectivity from the app server to the database (on a database server) here are the steps followed:
    [oracle@test-rms-app application]$ tnsping rmsdbtst
    TNS Ping Utility for Linux: Version 11.1.0.7.0 - Production on 19-DEC-2013 10:41:40
    Copyright (c) 1997, 2008, Oracle.  All rights reserved.
    Used parameter files:
    Used TNSNAMES adapter to resolve the alias
    Attempting to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = test-rms-db.vonmaur.vmc)(PORT = 1521)) (CONNECT_DATA = (SERVER = DEDICATED) (SID = rmsdbtst)))
    OK (0 msec)
    [oracle@test-rms-app application]$
    [oracle@test-rms-app application]$ sqlplus rms13@rmsdbtst
    SQL*Plus: Release 11.1.0.7.0 - Production on Thu Dec 19 10:46:18 2013
    Copyright (c) 1982, 2008, Oracle.  All rights reserved.
    Enter password:
    Connected to:
    Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    SQL> exit
    Disconnected from Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    [oracle@test-rms-app application]$
    [oracle@test-rms-app application]$ ping test-rms-db
    PING test-rms-db.vonmaur.vmc (192.168.1.140) 56(84) bytes of data.
    64 bytes from test-rms-db.vonmaur.vmc (192.168.1.140): icmp_seq=1 ttl=64 time=0.599 ms
    64 bytes from test-rms-db.vonmaur.vmc (192.168.1.140): icmp_seq=2 ttl=64 time=0.168 ms
    64 bytes from test-rms-db.vonmaur.vmc (192.168.1.140): icmp_seq=3 ttl=64 time=0.132 ms
    64 bytes from test-rms-db.vonmaur.vmc (192.168.1.140): icmp_seq=4 ttl=64 time=0.158 ms
    64 bytes from test-rms-db.vonmaur.vmc (192.168.1.140): icmp_seq=5 ttl=64 time=0.135 ms
    --- test-rms-db.vonmaur.vmc ping statistics ---
    5 packets transmitted, 5 received, 0% packet loss, time 4001ms
    rtt min/avg/max/mdev = 0.132/0.238/0.599/0.181 ms
    [oracle@test-rms-app application]$
    [oracle@test-rms-app application]$ uname -a
    Linux test-rms-app.vonmaur.vmc 2.6.18-128.el5 #1 SMP Wed Jan 21 08:45:05 EST 2009 x86_64 x86_64 x86_64 GNU/Linux
    [oracle@test-rms-app application]$
    [oracle@test-rms-app application]$ cat /etc/*-release
    Enterprise Linux Enterprise Linux Server release 5.3 (Carthage)
    Red Hat Enterprise Linux Server release 5.3 (Tikanga)
    [oracle@test-rms-app application]$
    The database is created and all the batch file scripts have been successfully deployed.  Now working on the application server.  The  Weblogic server is installed and 11g forms and reports are installed successfully.
    Any help would be helpful.
    Thanks,
    Ram.

    Please check MOS Notes:
    FAQ: RWMS 13.2 Installation and Configuration (Doc ID 1307639.1)

  • Java.lang.Exception: IOException in sending Request :: Connection refused:

    Hi all,
    I am a new to Oracle 10g.I am using Enterprise manager for DBA jobs.After ogging in to enterprise manager, when i click the refresh button, i get the folllowing error
    " java.lang.Exception: IOException in sending Request :: Connection refused: connect"
    Please do help to slove this problem.
    Thanks

    I'm having the same error in my console header. Here is the content of the emagent.trc file.
    Running 10gR2 on Win 2K3 server. (bold added for readability)
    emctl status dbconsole responds with 'EM Daemon is not running'
    2007-03-29 14:02:23 Thread-1776 ERROR pingManager: nmepm_pingReposURL: Did not receive a response header from repository
    2007-03-29 14:02:23 Thread-1776 WARN main: clear collection state due to OMS_version difference
    2007-03-29 14:02:23 Thread-1776 WARN command: Job Subsystem Timeout set at 600 seconds
    2007-03-29 14:02:24 Thread-1776 WARN upload: Upload manager has no Failure script: disabled
    2007-03-29 14:02:24 Thread-1776 WARN upload: Recovering left over xml files in upload directory
    2007-03-29 14:02:24 Thread-2920 ERROR command: nmejcn: received no status header from repository at http://dB_Domain:5500/em/upload/
    2007-03-29 14:02:24 Thread-1776 WARN upload: Recovered 0 left over xml files in upload directory
    2007-03-29 14:02:25 Thread-1776 WARN metadata: Metric collectSnapshot does not have any data columns
    2007-03-29 14:02:27 Thread-1776 WARN metadata: Metric Disk_Path does not have any data columns
    2007-03-29 14:02:27 Thread-1776 WARN metadata: Metric osm_diskGroupPolicies does not have any data columns
    2007-03-29 14:02:53 Thread-1776 WARN TargetManager: Regenerating all Metadata
    2007-03-29 14:05:17 Thread-1776 ERROR util.files: ERROR: nmeufis_new: failed in lfiopn on file: E:\oracle\product\10.2.0\db_3\dB_Domain_SIGD\sysman\emd\agntstmp.txt. error = 2 (No such file or directory)
    2007-03-29 14:05:28 Thread-1776 ERROR collector: nmecs_validateStateFile(): state file invalid : E:\oracle\product\10.2.0\db_3\dB_Domain_SIGD\sysman\emd\state\snapshot
    2007-03-29 14:05:28 Thread-1776 ERROR collector: Collector state files cleaned, severity will be resent
    2007-03-29 14:05:35 Thread-3660 ERROR upload: Error in uploadXMLFiles. Trying again in 60.00 seconds.
    2007-03-29 14:05:48 Thread-676 ERROR upload: Failed to delete/move xml file C:\WINDOWS\TEMP\X11.uod, ret = -2 ; agent exiting
    2007-03-29 14:05:48 Thread-676 ERROR : Signalled to Exit with status 3
    2007-03-29 14:05:48 Thread-1776 ERROR main: EMAgent abnormal terminating
    2007-03-29 14:06:29 Thread-2996 WARN command: Job Subsystem Timeout set at 600 seconds
    2007-03-29 14:06:29 Thread-2996 WARN upload: Upload manager has no Failure script: disabled
    2007-03-29 14:06:29 Thread-2996 WARN upload: Recovering left over xml files in upload directory
    2007-03-29 14:06:29 Thread-2996 WARN upload: Recovered 5 left over xml files in upload directory
    2007-03-29 14:06:29 Thread-2996 WARN upload: Merging leftover data file named errors.dat
    2007-03-29 14:06:29 Thread-2996 WARN upload: Merging leftover data file named severity.dat
    2007-03-29 14:06:30 Thread-2996 WARN upload: Merging leftover data file named rawdata.dat
    2007-03-29 14:06:30 Thread-2996 WARN metadata: Metric collectSnapshot does not have any data columns
    2007-03-29 14:06:31 Thread-2996 WARN metadata: Metric Disk_Path does not have any data columns
    2007-03-29 14:06:31 Thread-2996 WARN metadata: Metric osm_diskGroupPolicies does not have any data columns
    2007-03-29 14:07:29 Thread-2328 ERROR util.files: nmeufile_getLength: Error in lfilen. Error = 2 (No such file or directory)
    2007-03-29 14:15:19 Thread-1960 WARN http: 268,-1: nmehl_httpListener: signaled to exit from emctl
    Thank you for your help!
    Message was edited by:
    david.d

  • Export Release Build error - Exception in thread "main" java.lang.Error: Unable to find named traits

    I've been developing an AIR application for Android and iOS. During development, I've run the application (in debug mode) in the desktop simulator as well as on an iPhone 4 and a Nook Tablet.
    However, I recently tried to "Export Release Build" for iOS and hit the following error: (I've stripped out the package and class information in the error message below)
    !ENTRY com.adobe.flexbuilder.project 4 43 2012-04-06 13:09:15.516
    !MESSAGE Error occurred while packaging the application:
    Exception in thread "main" java.lang.Error: Unable to find named traits: valid.package.path.here::ValidClassName
              at adobe.abc.Domain.resolveTypeName(Domain.java:231)
              at adobe.abc.Domain.resolveTypeName(Domain.java:148)
              at adobe.abc.GlobalOptimizer.sccp_eval(GlobalOptimizer.java:6665)
              at adobe.abc.GlobalOptimizer.sccp_analyze(GlobalOptimizer.java:5909)
              at adobe.abc.GlobalOptimizer.sccp(GlobalOptimizer.java:4628)
              at adobe.abc.GlobalOptimizer.optimize(GlobalOptimizer.java:3514)
              at adobe.abc.GlobalOptimizer.optimize(GlobalOptimizer.java:2215)
              at adobe.abc.LLVMEmitter.optimizeABCs(LLVMEmitter.java:526)
              at adobe.abc.LLVMEmitter.generateBitcode(LLVMEmitter.java:336)
              at com.adobe.air.ipa.AOTCompiler.convertAbcToLlvmBitcodeImpl(AOTCompiler.java:472)
              at com.adobe.air.ipa.BitcodeGenerator.main(BitcodeGenerator.java:82)
    Compilation failed while executing : ADT
    !STACK 0
    java.lang.Exception
              at com.adobe.flexbuilder.project.internal.FlexProjectCore.createErrorStatus(FlexProjectCore. java:1019)
              at com.adobe.flexbuilder.util.logging.GlobalLogImpl.log(GlobalLogImpl.java:66)
              at com.adobe.flexbuilder.util.logging.GlobalLog.log(GlobalLog.java:52)
              at com.adobe.flexbuilder.exportimport.releaseversion.ui.ExportReleaseVersionWizard.doPackage (ExportReleaseVersionWizard.java:283)
              at com.adobe.flexbuilder.exportimport.releaseversion.ui.ExportReleaseVersionWizard.performFi nish(ExportReleaseVersionWizard.java:152)
              at org.eclipse.jface.wizard.WizardDialog.finishPressed(WizardDialog.java:827)
              at org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDialog.java:432)
              at org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Dialog.java:624)
              at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:240)
              at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
              at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4128)
              at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1457)
              at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1480)
              at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1465)
              at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:1270)
              at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3974)
              at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3613)
              at org.eclipse.jface.window.Window.runEventLoop(Window.java:825)
              at org.eclipse.jface.window.Window.open(Window.java:801)
              at com.adobe.flexbuilder.exportimport.releaseversion.ExportReleaseVersionAction$1.run(Export ReleaseVersionAction.java:97)
              at com.adobe.flexbuilder.exportimport.releaseversion.ExportReleaseVersionAction.run(ExportRe leaseVersionAction.java:103)
              at org.eclipse.ui.internal.PluginAction.runWithEvent(PluginAction.java:251)
              at org.eclipse.ui.internal.WWinPluginAction.runWithEvent(WWinPluginAction.java:229)
              at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionI tem.java:584)
              at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:501)
              at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java :411)
              at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
              at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4128)
              at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1457)
              at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1480)
              at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1465)
              at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:1270)
              at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3974)
              at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3613)
              at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2696)
              at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2660)
              at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2494)
              at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:674)
              at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
              at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:667)
              at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
              at com.adobe.flexbuilder.standalone.FlashBuilderApplication.start(FlashBuilderApplication.ja va:108)
              at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
              at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLau ncher.java:110)
              at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.jav a:79)
              at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:344)
              at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
              at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
              at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
              at java.lang.reflect.Method.invoke(Method.java:597)
              at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:622)
              at org.eclipse.equinox.launcher.Main.basicRun(Main.java:577)
              at org.eclipse.equinox.launcher.Main.run(Main.java:1410)
    The class the error message is referring to is defined with a SWC that my project links to. However, I've even tried to define a class with that same name (and location) within my project and it still fails to find it.
    Why am I able to Project->Clean and run this project within the desktop AIR player (or on the device in debug mode) but unable to export it as a release build?
    I have found a couple of threads mentioning a similar error but none of them have been marked as resolved.

    At this point I feel I am talking to myself, but I will share my work-around in case it helps another who may stumble across this post.
    In my particular case, both my main AIR application and my ANE wrapper library were referencing the same external Flex library (same revision). Both projects had the library linkage set to merge. Changing the linkage to "External" on one of the 2 libraries (it doesn't seem to matter which) and leaving the other as "Merged into code" enabled the export to complete without the bizarre "Unable to find named traits" error.

  • Exception in thread "main" java.lang.InternalError: Can't connect to X11 wi

    Hello Friends,
    I dont know whether this would be the correct forum or not but my problem is very critical so please help me.
    1. I am working on linux server where I have installed Tomcat4.x, Apache 2.0, JDK1.4.2. I have set all CLASSPATH.
    Java is working fine. I am using one JCLASS component which is useful in chart creation.
    3. Few days back the code regarding Frame cration was working fine but now its giving an error. I am actually running these files using cron and my requirement is also same.
    4. I have tried almost all possibilities like
    export DISPLAY=localhost:0.0
    export DISPLAY=ipaddress:0.0, but no luck.
    Can you explain me what could be the reason.
    JAVA ERROR:
    Exception in thread "main" java.lang.InternalError: Can't connect to X11 window server using ':0.0' as the value of the DISPLAY variable.
    at sun.awt.X11GraphicsEnvironment.initDisplay(Native Method)
    at sun.awt.X11GraphicsEnvironment.<clinit>(X11GraphicsEnvironment.java:134)
    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(Class.java:141)
    at java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(GraphicsEnvironment.java:62)
    at sun.awt.motif.MToolkit.<clinit>(MToolkit.java:81)
    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(Class.java:141)
    at java.awt.Toolkit$2.run(Toolkit.java:748)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.awt.Toolkit.getDefaultToolkit(Toolkit.java:739)
    at java.awt.Toolkit.getEventQueue(Toolkit.java:1519)
    at java.awt.EventQueue.invokeLater(EventQueue.java:792)
    at javax.swing.SwingUtilities.invokeLater(SwingUtilities.java:1170)
    at FrameDemo.main(FrameDemo.java:35)
    Please let me know your suggestions as possible as follows.
    PuneProgrammer

    You are probably creating images on the fly.
    Due to a bug/annoyance in the JDK, it requires an X-display. This is not related to the Sun ONE Webserver but a general problem.
    -Either install an X server, but this might not be possible because of a server security strip.
    -install a virtual X xvfb or something alike to emulate this behaviour.
    I thought it would be solved in newer JDK's but in which i'm not sure.

  • Java.lang.Exception: IOException is sending Request :: Connection refused

    Hi, everybody.
    Oracle Database Control 10g displays on the home page the following message
    -- java.lang.Exception: IOException is sending Request :: Connection refused
    after killing some database lock that is impeding the users to successfully carry out their daily activities.
    What could be the reason ?

    agent come with db was not working on that time

  • Exception in thread "main" java.lang.Error: Unable to find named traits: org.puremvc.as3.multicore.p

    Hi all,
    i try  to  use  pfi with a  project that i did with  air  in flash builder.
    I make my swf with ant  task
        <target name="releasecompile" depends="init">
        <echo>
                  Ant Task :: releaseCompile
        </echo>
            <java jar="${MXMLC.JAR}" fork="true" failonerror="true">
               <arg value="-debug=false"/>
                <arg value="+flexlib=${SDK_HOME}frameworks"/>
                <arg value="+configname=air"/>
                <arg value="-file-specs=${MAIN_SOURCE_FILE}"/>
                <arg value="-output=${build}/${APP_ROOT_FILE}"/>
            <arg value="-external-library-path+=${APP_ROOT}/libs/PureMVC_AS3_MultiCore_1_0_5.swc" />
            </java>
        </target>
    i have a swf in result  and i play  pfi like this
    ./pfi -package -target ipa-ad-hoc -provisioning-profile /Users/stef/Desktop/PROJECT/PROJECT_Config-2.mobileprovision -storetype pkcs12 -keystore /Users/stef/Desktop/PROJECT/Certificats2.p12 -storepass mypass /Users/stef/Desktop/PROJECT/PROJECTConfig.ipa /Users/stef/Documents/Adobe\ Flash\ Builder\ 4/PROJECT/src/PROJECTConfigurateur-app.xml -C /Users/stef/Desktop/PROJECT/ PROJECTConfigurateur.swf  Default.png icons/Icon57.png icons/Icon29.png icons/Icon512.png
    Exception in thread "main" java.lang.Error: Unable to find named traits: org.puremvc.as3.multicore.patterns.facade::Facade
    at adobe.abc.Domain.resolveTypeName(Domain.java:195)
    at adobe.abc.Domain.resolveTypeName(Domain.java:112)
    at adobe.abc.GlobalOptimizer$InputAbc.resolveTypeName(GlobalOptimizer.java:274)
    at adobe.abc.GlobalOptimizer$InputAbc.readInstance(GlobalOptimizer.java:837)
    at adobe.abc.GlobalOptimizer$InputAbc.readAbc(GlobalOptimizer.java:388)
    at adobe.abc.GlobalOptimizer$InputAbc.readAbc(GlobalOptimizer.java:280)
    at adobe.abc.LLVMEmitter.generateBitcode(LLVMEmitter.java:160)
    at com.adobe.air.ipa.AOTCompiler.convertAbcToLlvmBitcode(AOTCompiler.java:329)
    at com.adobe.air.ipa.AOTCompiler.GenerateMacBinary(AOTCompiler.java:600)
    at com.adobe.air.ipa.IPAOutputStream.compileRootSwf(IPAOutputStream.java:196)
    at com.adobe.air.ipa.IPAOutputStream.finalizeSig(IPAOutputStream.java:366)
    at com.adobe.air.ADTPackager.createPackage(ADTPackager.java:65)
    at com.adobe.air.ipa.IPAPackager.createPackage(IPAPackager.java:165)
    at com.adobe.air.ADTEntrypoint.parseArgsAndGo(ADTEntrypoint.java:132)
    at com.adobe.air.ipa.PFI.parseArgsAndGo(PFI.java:152)
    at com.adobe.air.ADTEntrypoint.run(ADTEntrypoint.java:68)
    at com.adobe.air.ipa.PFI.main(PFI.java:112)
    do you have some  ideas about this ?
    Regards
    Stef

    Ok,
        <target name="releasecompile" depends="init">
        <echo>
                  Ant Task :: releaseCompile
        </echo>
            <java jar="${MXMLC.JAR}" fork="true" failonerror="true">
               <arg value="-debug=false"/>
                <arg value="+flexlib=${SDK_HOME}frameworks"/>
                <arg value="+configname=air"/>
                <arg value="-file-specs=${MAIN_SOURCE_FILE}"/>
                <arg value="-output=${build}/${APP_ROOT_FILE}"/>
            <arg value="-external-library-path+=${APP_ROOT}/libs/PureMVC_AS3_MultiCore_1_0_5. swc" />
            </java>
        </target>
    I mistake  this line
      <arg value="-external-library-path+=${APP_ROOT}/libs/PureMVC_AS3_MultiCore_1_0_5. swc" />
    must be
    <arg value="-library-path+=${APP_ROOT}/libs/PureMVC_AS3_MultiCore_1_0_5.swc" />
    for  include the content in the swf.
    Regards
    Stef

  • Configure Process Flow :Java.lang.Exception:Invalid Connection(0)

    I want to install the process flow . I started the wfinstall.bat from below folder
    <OWB_HOME>\dbhome_1\owb\wf\install .
    It display me Workflow 2.6.4.0.0 and i entered the details
    Install option:-Server Only
    Workflow Account:-wks_owf_mgr
    Workflow Password:- wks_owf_mgr
    Syst password :- orcl11g
    (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = Devowb-PC)(PORT = 1521)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = orcl11g) ) )
    It give me error :- Java.lang.Exception:Invalid Connection(0)
    But i am able to connect to sqlplus using
    sqlplus "sys/orcl11g@(DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = Devowb-PC)(PORT = 1521)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = orcl11g) ) )" as sysdba
    Thanks

    but i see strange problem i can connect even if i give wrong password.
    Donot know why...
    sqlplus "sys/orcl11g@(DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = Devowb-PC)(PORT = 1521)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = orcl11g) ) )" as sysdba

  • Finalizing JDBCConnectionWrapper on unclosed connection! - java.lang.Except

    Hello Guru's,
    on our SAP NetWeaver AS, Java with Enterprise Portal, we have the follow error message very often in our default trace.
    what can we do to solve this problem?
    finalizing JDBCConnectionWrapper on unclosed connection! - java.lang.Exception
         at com.sapportals.wcm.util.jdbc.connectionpool.JDBCConnectionWrapper.<init>(JDBCConnectionWrapper.java:68)
         at com.sapportals.wcm.repository.manager.cm.persistence.ConnectionHandler.getANewConnection(ConnectionHandler.java:66)
         at com.sapportals.wcm.repository.manager.cm.persistence.BasicPersistenceDB.getANewConnection(BasicPersistenceDB.java:136)
         at com.sapportals.wcm.repository.manager.cm.persistence.DBContentInputStream.getInternalStream(DBContentInputStream.java:278)
         at com.sapportals.wcm.repository.manager.cm.persistence.DBContentInputStream.<init>(DBContentInputStream.java:50)
         at com.sapportals.wcm.repository.manager.cm.persistence.BasicPersistenceDB.selectDocumentContent(BasicPersistenceDB.java:1627)
         at com.sapportals.wcm.repository.manager.cm.persistence.commonjdbc.DBContent.getInputStream(DBContent.java:114)
         at com.sapportals.wcm.repository.manager.cm.persistence.commonjdbc.DBContent.getInputStream(DBContent.java:95)
         at com.sapportals.wcm.repository.ContentImpl$ContentWithPrefetchedInputStream.<init>(ContentImpl.java:402)
         at com.sapportals.wcm.repository.ContentImpl.initContent(ContentImpl.java:360)
         at com.sapportals.wcm.repository.ContentImpl.getInputStream(ContentImpl.java:111)
         at com.sapportals.wcm.repository.ContentImpl.getInputStream(ContentImpl.java:132)
         at com.sap.nw.wpc.core.utils.Utils.getContentAsString(Utils.java:197)
         at com.sap.nw.wpc.core.utils.Utils.getContentAsString(Utils.java:133)
         at com.sap.nw.wpc.runtime.component.HtmlContainerComponent.doContent(HtmlContainerComponent.java:49)
         at com.sapportals.portal.prt.component.AbstractPortalComponent.serviceDeprecated(AbstractPortalComponent.java:209)
         at com.sapportals.portal.prt.component.AbstractPortalComponent.service(AbstractPortalComponent.java:114)
         at com.sap.nw.wpc.runtime.AbstractDisplayComponent.service(AbstractDisplayComponent.java:110)
         at com.sapportals.portal.prt.component.CachablePortalComponent.service(CachablePortalComponent.java:273)
         at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:328)
         at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:136)
         at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:189)
         at com.sapportals.portal.prt.core.async.AsyncPortalComponentResponse.include(AsyncPortalComponentResponse.java:355)
         at com.sapportals.portal.prt.core.async.AsyncPortalComponentResponse.include(AsyncPortalComponentResponse.java:310)
         at com.sap.nw.wpc.runtime.AbstractContainerComponent.doContent(AbstractContainerComponent.java:88)
         at com.sapportals.portal.prt.component.AbstractPortalComponent.serviceDeprecated(AbstractPortalComponent.java:209)
         at com.sapportals.portal.prt.component.AbstractPortalComponent.service(AbstractPortalComponent.java:114)
         at com.sap.nw.wpc.runtime.AbstractDisplayComponent.service(AbstractDisplayComponent.java:110)
         at com.sapportals.portal.prt.component.CachablePortalComponent.service(CachablePortalComponent.java:273)
         at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:328)
         at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:136)
         at com.sapportals.portal.prt.core.async.AsyncIncludeRunnable$1$DoDispatchRequest.run(AsyncIncludeRunnable.java:375)
         at java.security.AccessController.doPrivileged(AccessController.java:242)
         at com.sapportals.portal.prt.core.async.AsyncIncludeRunnable.run(AsyncIncludeRunnable.java:388)
         at com.sapportals.portal.prt.core.async.ThreadContextRunnable.run(ThreadContextRunnable.java:164)
         at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:729)
         at java.lang.Thread.run(Thread.java:761)
    Category :
    Application :
    Thread : Thread[Finalizer thread,5,system]
    Message ID : 001125C5799C002800000074000810EA000469663D842363
    Source Name : com.sapportals.wcm.util.jdbc.connectionpool.JDBCConnectionWrapper
    Argument Objs :
    Arguments :
    Dsr Component : n/a
    Dsr Transaction : 1288b8603b8611dea7f7001125c5799c
    Dsr User :
    Indent : 0
    Level : 0
    Message Code :
    Message Type : 0
    Relatives :
    Resource Bundlename :
    Session : 0
    Source : com.sapportals.wcm.util.jdbc.connectionpool.JDBCConnectionWrapper
    ThreadObject : Thread[Finalizer thread,5,system]
    Transaction :
    User : Guest
    regards
    chris

    Hi Christian,
    The background is a small bug in com.sap.nw.wpc.core.utils.Utils.getContentAsString where getInputStream is called on a KM resource (the correct forum for this question would have been portal-km), without closing the InputStream afterwards. Behind the scenes, getInputStream opens a JDBC connection which won't be closed afterwards.
    So, if this still happens, it would be the best to open an OSS message to report this bug to SAP so that this can be fixed in the web page composer implementation. But on the other hand, this is now more than one year old - maybe this is already fixed. I cannot check, as I don't use WPC at the moment.
    Best regards
    Detlev

Maybe you are looking for

  • Macbook slows down at the same time every day.

    I know this makes me sound crazy, but my Macbook (running Mac OS X) starts to get inexplicably sluggish at the same time every day – roughly between 4:30 and 5 p.m. Applications start temporarily freezing up and I get that beachball-looking thing, an

  • HTML Email in LiveCycle ES 2

         I have a form with a regular button I scripted to compose an email based on fields in the document. I use the following javascript to have an email load and be pre-filled. All the user needs to do is press "send". event.target.app.mailMsg(      

  • No sound w/Vista

    Sound wont work on my p-100. I looked in the basic information. It said sound = none. But it did work before. I reloaded  the  drivers. It worked for a day or two. Now stopped working again. It fails the diag. test from toshiba also. What now?? Solve

  • How to use long SQL query in Crystal10?

    I have long query (Oracle) -- 800 rows. I create connection and want Add Command. Paste my query to Add Command, but I see only 75% of my query. I can't paste all 800 rows of my query into Add Command. Why it happend? Is it limited number of rows whi

  • Re-Color Art shifts colors around? How do I assign colors?

    How do I get the Re-color art to leave the assigned colors where they are. I have an item that comes in various color combinations. When I select re-color art and click on a pre saved color group, recolor art remaps the colors to different areas. I h