Why i cannot start sun application server

I am a new learner to Sun Microsystem's application server.
I can start the default server yestday, but cannot do it today. I didn't do anything, just switched off my pc last night without stop the default server first. Did me destoried anything? I don't wish the server is so fragile.
and it gives the message: CLI156 could not start the domin domin1, check the server log
anyone knows how to slove it?
thx

Urm.... i did not do any good thing to it. but it worked again. seems it got temper sometimes

Similar Messages

  • Problems starting Sun Application Server 8.1

    I can not start my applications server, the following msg appears, what can I do?:
    SEVERE|sun-appserver-pe8.1_02|javax.enterprise.system.core|_ThreadID=10;
    |UnknownException during startup. Disable quick startup by setting system property
    com.sun.enterprise.server.ss.ASQuickStartup to false
    com.sun.appserv.server.ServerLifecycleException: [C4003]:
    Error al crear la conexi�n - interceptada java.net.ConnectException: Connection refused:
    no further information
    at com.sun.enterprise.jms.JmsProviderLifecycle.checkProviderStartup(JmsProviderLifecycle.java:427)

    If you have any firewall software running, turn it off and then try starting the server again. If that works, you'll have to allow the server to bind to the ports specified in <INSTALL>/domains/domain1/config/domain.xml in your firewall.
    -Ian Evans

  • Unable to Start Sun Application Server PE8

    Hi
    I have installed Sun Application Server PE8 and jdk1.5.0_04. On starting the server through net beans, I'm getting the following error.
    C:/Progra~1/Java/jdk1.5.0_04/jre/lib/tools.jar;C:/Sun/AppServer/lib/appserv-rt.jar;C:/Sun/AppServer/lib\activation.jar;C:/Sun/AppServer/lib\admin-cli.jar;C:/Sun/AppServer/lib\appserv-admin.jar;C:/Sun/AppServer/lib\appserv-cmp.jar;C:/Sun/AppServer/lib\appserv-ext.jar;C:/Sun/AppServer/lib\appserv-jstl.jar;C:/Sun/AppServer/lib\appserv-upgrade.jar;C:/Sun/AppServer/lib\commons-launcher.jar;C:/Sun/AppServer/lib\commons-logging.jar;C:/Sun/AppServer/lib\dom.jar;C:/Sun/AppServer/lib\j2ee-svc.jar;C:/Sun/AppServer/lib\j2ee.jar;C:/Sun/AppServer/lib\jax-qname.jar;C:/Sun/AppServer/lib\jaxr-api.jar;C:/Sun/AppServer/lib\jaxr-impl.jar;C:/Sun/AppServer/lib\jaxrpc-api.jar;C:/Sun/AppServer/lib\jaxrpc-impl.jar;C:/Sun/AppServer/lib\jmxremote.jar;C:/Sun/AppServer/lib\jmxremote_optional.jar;C:/Sun/AppServer/lib\jsf-api.jar;C:/Sun/AppServer/lib\jsf-impl.jar;C:/Sun/AppServer/lib\mail.jar;C:/Sun/AppServer/lib\relaxngDatatype.jar;C:/Sun/AppServer/lib\rmissl.jar;C:/Sun/AppServer/lib\saaj-api.jar;C:/Sun/AppServer/lib\saaj-impl.jar;C:/Sun/AppServer/lib\xalan.jar;C:/Sun/AppServer/lib\xercesImpl.jar;C:/Sun/AppServer/lib\xsdlib.jar;C:/Sun/AppServer/lib/install/applications/jmsra/imqjmsra.jar;C:/Sun/AppServer/imq/lib/jaxm-api.jar;C:/Sun/AppServer/imq/lib/fscontext.jar;C:/Sun/AppServer/lib/ant/lib/ant.jar
    com.sun.enterprise.server.PEMain
    start
    display
    native
    Unrecognized option: -client
    JVMCI123: Unable to parse 1.2 format supplied options - rc=-6
    Regds - Nishant

    Hi
    I have installed Sun Application Server PE8 and jdk1.5.0_04. On starting the server through net beans, I'm getting the following error.
    C:/Progra~1/Java/jdk1.5.0_04/jre/lib/tools.jar;C:/Sun/AppServer/lib/appserv-rt.jar;C:/Sun/AppServer/lib\activation.jar;C:/Sun/AppServer/lib\admin-cli.jar;C:/Sun/AppServer/lib\appserv-admin.jar;C:/Sun/AppServer/lib\appserv-cmp.jar;C:/Sun/AppServer/lib\appserv-ext.jar;C:/Sun/AppServer/lib\appserv-jstl.jar;C:/Sun/AppServer/lib\appserv-upgrade.jar;C:/Sun/AppServer/lib\commons-launcher.jar;C:/Sun/AppServer/lib\commons-logging.jar;C:/Sun/AppServer/lib\dom.jar;C:/Sun/AppServer/lib\j2ee-svc.jar;C:/Sun/AppServer/lib\j2ee.jar;C:/Sun/AppServer/lib\jax-qname.jar;C:/Sun/AppServer/lib\jaxr-api.jar;C:/Sun/AppServer/lib\jaxr-impl.jar;C:/Sun/AppServer/lib\jaxrpc-api.jar;C:/Sun/AppServer/lib\jaxrpc-impl.jar;C:/Sun/AppServer/lib\jmxremote.jar;C:/Sun/AppServer/lib\jmxremote_optional.jar;C:/Sun/AppServer/lib\jsf-api.jar;C:/Sun/AppServer/lib\jsf-impl.jar;C:/Sun/AppServer/lib\mail.jar;C:/Sun/AppServer/lib\relaxngDatatype.jar;C:/Sun/AppServer/lib\rmissl.jar;C:/Sun/AppServer/lib\saaj-api.jar;C:/Sun/AppServer/lib\saaj-impl.jar;C:/Sun/AppServer/lib\xalan.jar;C:/Sun/AppServer/lib\xercesImpl.jar;C:/Sun/AppServer/lib\xsdlib.jar;C:/Sun/AppServer/lib/install/applications/jmsra/imqjmsra.jar;C:/Sun/AppServer/imq/lib/jaxm-api.jar;C:/Sun/AppServer/imq/lib/fscontext.jar;C:/Sun/AppServer/lib/ant/lib/ant.jar
    com.sun.enterprise.server.PEMain
    start
    display
    native
    Unrecognized option: -client
    JVMCI123: Unable to parse 1.2 format supplied options - rc=-6
    Regds - Nishant

  • Problem of Starting Sun Application Server

    Hi,
    I just downloaded
    j2eesdk-1_4_02_2005Q2-windows.exe
    to my windows machine and insatlled it.
    When I started the verifying of Server by going to "Start menu, choose Programs -> Sun Microsystems -> Application Server PE-> Start Default Server", I did get the message as follows:
    "Domain domain1 is ready to receive client requests. Additional services are being started in the background.....Press any key to continue"
    But when I ran "http://localhost:8080", I got an error page with something like "can't find the web site".
    I even tried to use "http://my real IP address here:8080", and I got the same error.
    When I went to "Programs -> Sun Microsystems -> Application Server PE-> Stop Default Server", I got the message like:
    "The domain <domain1> isn't running.
    CLI157 COuld not stop the domain domain1."
    Could anyone tell me what might be the problem? Do I need to set up something somewhere else?
    Thanks a lot

    What does you server.log file say? I should be in you app server directory /domains/domain1/log. Try to clear it out and start the app server fresh.
    Mike

  • CF 9.0.1 Update - Cannot Start CF Application Server

    Running a dev box with W7 x64. i7 8GB ram.  Had CF 9.0.0 (x86) running.  Able to get to /CFIDE/Administrator.cfm and add DSNs, etc, but could not access CF websites due to 403 errors. 
    Installed 9.0.1 x64 update and now CF Application Server service will not start.  (Error Code 2) and the Win event log posts "The ColdFusion 9 Application Server service terminated with service-specific error The system cannot find the file specified."
    Checking the service properties, it is looking for: "C:\ColdFusion9\runtime\bin\jrunsvc.exe" and I verified that it was there.
    Looking at the forum I saw that it may be a JRE error, so I edited my JVM config to "java.home=C:/ColdFusion9/runtime/jre6"  (Copied the ../jre6 folder from C:/program files/java/ in case the config file was tripping over the space in "Program Files")
    Tried toggling IIS6 compatability on/off - No joy.
    I've spent a couple of days chasing this (Tried to load CF9 x64 and it was a bust.)
    Any help would be appreciated.
    Thanks.

    I've tried both the x64 & x86 updaters without any success.  (The labling on the update package suggested that it related to the OS vs. the Server version.)  Same error either way with both the x86 and x64 CF9 servers 
    I looked at the logs and didn't see much...
    (Note: This is back to a straight x86 9.0.0 install, so it won't have the 9.0.1 errors.  Doh!)
    CFStat Output
    Pg/Sec  DB/Sec  CP/Sec  Reqs  Reqs  Reqs  AvgQ   AvgReq AvgDB  Bytes  Bytes Now Hi  Now Hi  Now Hi  Q'ed  Run'g TO'ed Time   Time   Time   In/Sec Out/Sec
    0   0   0   0   -1  -1  0     0     0     0      -6546  12     0      0    
    Admin Event
    # Created by JRun on 06/06 17:04:45
    06/06 17:04:45 info No JDBC data sources have been configured for this server (see jrun-resources.xml)
    06/06 17:04:45 info JRun Web Server listening on *:8000
    06/06 17:04:45 info Deploying enterprise application "JRun 4.0 Internal J2EE Components" from: file:/C:/ColdFusion9/runtime/lib/jrun-comp.ear
    06/06 17:04:45 info Deploying EJB "JRunSQLInvoker" from: file:/C:/ColdFusion9/runtime/lib/jrun-comp.ear
    06/06 17:05:08 info No JDBC data sources have been configured for this server (see jrun-resources.xml)
    06/06 17:05:08 info JRun Web Server listening on *:8000
    06/06 17:05:08 info Deploying enterprise application "JRun 4.0 Internal J2EE Components" from: file:/C:/ColdFusion9/runtime/lib/jrun-comp.ear
    06/06 17:05:08 info Deploying EJB "JRunSQLInvoker" from: file:/C:/ColdFusion9/runtime/lib/jrun-comp.ear
    06/06 17:06:01 info No JDBC data sources have been configured for this server (see jrun-resources.xml)
    06/06 17:06:01 info JRun Web Server listening on *:8000
    06/06 17:06:01 info Deploying enterprise application "JRun 4.0 Internal J2EE Components" from: file:/C:/ColdFusion9/runtime/lib/jrun-comp.ear
    06/06 17:06:01 info Deploying EJB "JRunSQLInvoker" from: file:/C:/ColdFusion9/runtime/lib/jrun-comp.ear
    CF Event
    # Created by JRun on 06/06 17:06:08
    06/06 17:06:08 info No JDBC data sources have been configured for this server (see jrun-resources.xml)
    06/06 17:06:08 info Deploying enterprise application "Adobe_ColdFusion_9" from: file:/C:/ColdFusion9/
    06/06 17:06:09 info Deploying web application "Adobe ColdFusion 9" from: file:/C:/ColdFusion9/
    06/06 17:06:09 user JSPServlet: init
    06/06 17:06:09 user ColdFusionStartUpServlet: init
    06/06 17:06:09 user ColdFusionStartUpServlet: ColdFusion: Starting application services
    06/06 17:06:09 user ColdFusionStartUpServlet: ColdFusion: VM version = 14.0-b16
    06/06 17:06:11 user ColdFusionStartUpServlet: ColdFusion: application services are now available
    06/06 17:06:11 user CFMxmlServlet: init
    06/06 17:06:11 user CFMxmlServlet: Macromedia Flex Build: 87315.134646
    06/06 17:06:12 user CFSwfServlet: init
    06/06 17:06:12 user CFCServlet: init
    06/06 17:06:12 user FlashGateway: init
    06/06 17:06:12 user MessageBrokerServlet: init
    06/06 17:06:12 user CFFormGateway: init
    06/06 17:06:13 user CFInternalServlet: init
    06/06 17:06:13 user WSRPProducer: init
    06/06 17:06:13 user ServerCFCServlet: init
    06/06 17:06:43 info JRun Proxy Server listening on *:51800
    06/06 17:13:01 user RDSServlet: init
    06/06 17:13:01 user RDSServlet: init
    06/06 17:13:01 user RDSServlet: init
    06/06 17:13:01 user RDSServlet: init
    06/06 17:13:01 user RDSServlet: init
    06/06 17:13:01 user RDSServlet: init
    06/06 17:13:01 user RDSServlet: init
    06/06 17:13:01 user RDSServlet: init
    06/06 17:13:01 user RDSServlet: init

  • Cannot install Sun Application Server with JSC 2

    Hello :)
    I have been installed JSC 2 update 1 for first time, 2 month ago, but I got a problem so I have to reinstall the JSC 2. I did uninstall and then delete the JSC 2 directory and directory under my Document and Setting/user1/Creator21/
    But when I reinstall the JSC 2, I couldnt get Sun App Server to be installed. I tried it 3 times already but I got the same problem, still couldnt install JSC 2.
    (Installation was success ,... not error message during installation). I thought it has problem with the registry, so please tell me how to fix this problem.
    Thank You !

    Sorry, the reply is not related to your query,
    but you could try the latest netbeans 5.5 and use the visual web pack plugin..

  • JBoss 4 to Sun Application Server...where to start

    Hi there...
    I'm charged with making sure my company's product, which has mostly been running on JBoss, works w/ Sun Application Server.
    I've been trying to use the Migration Tool with poor results...I know some of it is because it's for JBoss 3 and not 4....
    giving it the entire .EAR for our product tells me that it doesn't handle webservices...diving into the EAR's JAR containing our services and removing webservices.xml gives the same result of various permutations of putting in source code / xml leads , namely it runs and then freezes with
    DefaultValidationEventHandler: [FATAL_ERROR]: Premature end of file.
    Location:
    DefaultValidationEventHandler: [ERROR]: Unexpected element {}:ejb-local-ref
    Location:
    back on the console I launched the UI from
    To possibly oversimplify, I copied out some of the most relevant .xml we have,
    ejb-jar.xml
    jboss.xml
    jbosscmp-jdbc.xml
    jboss-web.xml
    web.xml
    and put them in a single directory...now the Migration tool runs, leaves most of the files unchanged, and for our ejb-jar.xml it fails, and says
    Unknown error.
    EjbJar is Null
    Admittedly our ejb-jar.xml is handcrafted and maybe suspect, but still.
    So I guess right now I'm not too optimistic about this tool.
    Some of the problem is my understanding of what all goes in an EAR in terms of DD is weak. I'm trying to smarten up, but haven't found a good description of "these are the typical DD files for Sun Application Server", with examples or precise descriptions of the contents...and the migration tool doesn't get to the point where it's making some of the files i expected based on
    http://java.sun.com/j2ee/tools/migration/doc/JBOSS3.0_S1AS7.html
    (for example sun-cmp-mappings.xml doesn't appear anywhere in the AppServer\docs directory... )
    Any pointers or advice appreciated...

    There is an article, while it is for Application Server 7, it still could be useful:
    http://developers.sun.com/prodtech/javatools/jsenterprise/reference/docs/jse7/jse7_jboss_plugin.html

  • How can I call a Stateless-EJB3  from MBeans in Sun Application Server 9.1?

    Hi,
    I have some jobs running as Timer-Service-EJB in Sun Application Server 9.1. The Timer will be startet by a Lifecycle-Modul and it works fine.
    I have also some MBeans running in the same App-Server which should start or stop the Timer-Services by invoking dedicated methods
    in the Timer-Service-EJB.
    InitialContext ctx = new InitialContext();
    MyJob job = (MyJob) ctx.lookup("ejb/MyJob");
    job.startTimer();But I get the following error;
    javax.naming.NoInitialContextException: Cannot instantiate class: com.sun.enterprise.naming.SerialInitContextFactory [Root exception is java.lang.ClassNotFoundException: com.sun.enterprise.naming.SerialInitContextFactory]
    ..... Why is it impossible to get an reference of the SerialInitContextFactory? The appserv-rt.jar is in the classpath of the Appserver ( installdir/lib ).
    Following the Sun Application Server 9.1 Developer Guide, I tried to copy the dependent classes (including appserv-rt.jar ) into domain-dir/lib.
    But I got the same error.
    Any ideas?
    Thanks,
    Stefan

    Hi Santanu,
    You need to write SoapHandler in order to pass username and pwd. You will need 2 classes namely HeaderHandlerResolver & SoapHandler. This is how i do in in my JAX-WS clients. I generate stubs and then attach handler to webserviceinterface
    PFA HeaderHandlerResolver.java and SoapHandler.java you would attach soap handler something like this in your code i have never done this via ADF so not sure.
    HeaderHandlerResolver soapHandlerResolver = new HeaderHandlerResolver();
    docInfo.setHandlerResolver(soapHandlerResolver);
    In SoapHandler class you will mention username and pwd like this
    soapMessageContext.put(BindingProvider.USERNAME_PROPERTY,"username");
    soapMessageContext.put(BindingProvider.PASSWORD_PROPERTY,"pwd");
    Regards,
    Amol Gavali

  • Sun Application Server 8.1 remote deplyment database connection

    I use the deploy to Remote server to deply a project to Sun Application Server 8.1. When i try to connect to the database I get connection error
    javax.servlet.ServletException: javax.faces.FacesException: java.sql.SQLException: Error in allocating a connection. Cause: Connection could not be allocated because: Access denied for user ''@'testserver.com' (using password: YES)
    it seems it doesnt pick the User from the Connection pull settings. The settings at the server seem correct.
    This works fine when i deply to Application server 8.0 that comes with the Sun creator

    The user is correct and it does work from 8.0/
    The server doesnt pick the username from the
    configuration
    the error message says use '' emptyWhat "configuration" are you referring to? Do you mean the way that you have the 8.1 server set up?
    Since you cannot ping, then there is something wrong with the configuration on the 8.1 server.
    Why don't you remove the connection pool and start over from scratch and cut/paste the settings from the 8.0 app server over. Then make sure you can ping once everything is set up.
    Also, where is the 8.1 box located? Are you sure it has access to the database that you are trying to reach?
    You might try posting this to the App Server forum as it really isn't a Creator problem.

  • Jump Start Kit application server failed to start

    Hi,
    My Jump Start Kit Application server is failing to start. The Error is as below
    2012-10-22 11:58:18,076 FATAL [com.fatwire.logging.cs.db] - <Exception loading meta data for data sourcecsDataSource>
    org.apache.tomcat.dbcp.dbcp.SQLNestedException: Cannot create PoolableConnectionFactory (User not found: SA)
    at org.apache.tomcat.dbcp.dbcp.BasicDataSource.createPoolableConnectionFactory(BasicDataSource.java:1549)
    at org.apache.tomcat.dbcp.dbcp.BasicDataSource.createDataSource(BasicDataSource.java:1388)
    at org.apache.tomcat.dbcp.dbcp.BasicDataSource.getConnection(BasicDataSource.java:1044)
    at com.fatwire.cs.core.db.DataSourceBackedPool.acquire(DataSourceBackedPool.java:47)
    at COM.FutureTense.Servlet.JDBCConn.getMeta_trans(JDBCConn.java:188)
    at COM.FutureTense.Servlet.JDBCConn.getMeta(JDBCConn.java:130)
    at COM.FutureTense.Servlet.JDBCTable.<init>(JDBCTable.java:285)
    at COM.FutureTense.Servlet.JDBCConn.GetTable(JDBCConn.java:1333)
    at COM.FutureTense.Common.ftDBTable.getconn(ftDBTable.java:3899)
    at COM.FutureTense.Common.ftDBTable.grab(ftDBTable.java:982)
    at COM.FutureTense.Common.ftAppLogic.getEvent(ftAppLogic.java:2010)
    at COM.FutureTense.Common.ftAppLogic.initEventEngine(ftAppLogic.java:3453)
    at COM.FutureTense.Common.ftAppLogic.init(ftAppLogic.java:1939)
    at COM.FutureTense.Common.ftAppLogic.init(ftAppLogic.java:1897)
    at COM.FutureTense.Common.CatalogManager.execute(CatalogManager.java:321)
    at COM.FutureTense.Servlet.FTServlet.execute(FTServlet.java:129)
    at COM.FutureTense.Servlet.FTServlet.doGet(FTServlet.java:53)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    at com.fatwire.cs.core.logging.context.filter.ContextHeaderFilter.doFilterWork(ContextHeaderFilter.java:37)
    at com.fatwire.cs.core.logging.context.filter.RunOncePerRequestFilter.doFilter(RunOncePerRequestFilter.java:54)
    at com.fatwire.cs.core.logging.context.filter.HttpFilter.doFilter(HttpFilter.java:46)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    at com.fatwire.wem.sso.cas.filter.CASFilter.doFilter(CASFilter.java:557)
    at com.fatwire.wem.sso.SSOFilter.doFilter(SSOFilter.java:51)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
    at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:859)
    at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588)
    at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
    at java.lang.Thread.run(Thread.java:619)
    Caused by: java.sql.SQLException: User not found: SA
    at org.hsqldb.jdbc.Util.sqlException(Unknown Source)
    at org.hsqldb.jdbc.jdbcConnection.<init>(Unknown Source)
    at org.hsqldb.jdbcDriver.getConnection(Unknown Source)
    at org.hsqldb.jdbcDriver.connect(Unknown Source)
    at org.apache.tomcat.dbcp.dbcp.DriverConnectionFactory.createConnection(DriverConnectionFactory.java:38)
    at org.apache.tomcat.dbcp.dbcp.PoolableConnectionFactory.makeObject(PoolableConnectionFactory.java:582)
    at org.apache.tomcat.dbcp.dbcp.BasicDataSource.validateConnectionFactory(BasicDataSource.java:1556)
    at org.apache.tomcat.dbcp.dbcp.BasicDataSource.createPoolableConnectionFactory(BasicDataSource.java:1545)
    ... 39 more
    2012-10-22 11:58:18,076 ERROR [com.fatwire.logging.cs.db] - <Exception getting database connection>
    org.apache.tomcat.dbcp.dbcp.SQLNestedException: Cannot create PoolableConnectionFactory (User not found: SA)
    at org.apache.tomcat.dbcp.dbcp.BasicDataSource.createPoolableConnectionFactory(BasicDataSource.java:1549)
    at org.apache.tomcat.dbcp.dbcp.BasicDataSource.createDataSource(BasicDataSource.java:1388)
    at org.apache.tomcat.dbcp.dbcp.BasicDataSource.getConnection(BasicDataSource.java:1044)
    at com.fatwire.cs.core.db.DataSourceBackedPool.acquire(DataSourceBackedPool.java:47)
    at COM.FutureTense.Servlet.JDBCTable.get_trans(JDBCTable.java:698)
    at COM.FutureTense.Servlet.JDBCTable.get(JDBCTable.java:611)
    at COM.FutureTense.Servlet.JDBCTable.<init>(JDBCTable.java:288)
    at COM.FutureTense.Servlet.JDBCConn.GetTable(JDBCConn.java:1333)
    at COM.FutureTense.Common.ftDBTable.getconn(ftDBTable.java:3899)
    at COM.FutureTense.Common.ftDBTable.grab(ftDBTable.java:982)
    at COM.FutureTense.Common.ftAppLogic.getEvent(ftAppLogic.java:2010)
    at COM.FutureTense.Common.ftAppLogic.initEventEngine(ftAppLogic.java:3453)
    at COM.FutureTense.Common.ftAppLogic.init(ftAppLogic.java:1939)
    at COM.FutureTense.Common.ftAppLogic.init(ftAppLogic.java:1897)
    at COM.FutureTense.Common.CatalogManager.execute(CatalogManager.java:321)
    at COM.FutureTense.Servlet.FTServlet.execute(FTServlet.java:129)
    at COM.FutureTense.Servlet.FTServlet.doGet(FTServlet.java:53)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    at com.fatwire.cs.core.logging.context.filter.ContextHeaderFilter.doFilterWork(ContextHeaderFilter.java:37)
    at com.fatwire.cs.core.logging.context.filter.RunOncePerRequestFilter.doFilter(RunOncePerRequestFilter.java:54)
    at com.fatwire.cs.core.logging.context.filter.HttpFilter.doFilter(HttpFilter.java:46)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    at com.fatwire.wem.sso.cas.filter.CASFilter.doFilter(CASFilter.java:557)
    at com.fatwire.wem.sso.SSOFilter.doFilter(SSOFilter.java:51)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
    at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:859)
    at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588)
    at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
    at java.lang.Thread.run(Thread.java:619)
    Caused by: java.sql.SQLException: User not found: SA
    at org.hsqldb.jdbc.Util.sqlException(Unknown Source)
    at org.hsqldb.jdbc.jdbcConnection.<init>(Unknown Source)
    at org.hsqldb.jdbcDriver.getConnection(Unknown Source)
    at org.hsqldb.jdbcDriver.connect(Unknown Source)
    at org.apache.tomcat.dbcp.dbcp.DriverConnectionFactory.createConnection(DriverConnectionFactory.java:38)
    at org.apache.tomcat.dbcp.dbcp.PoolableConnectionFactory.makeObject(PoolableConnectionFactory.java:582)
    at org.apache.tomcat.dbcp.dbcp.BasicDataSource.validateConnectionFactory(BasicDataSource.java:1556)
    at org.apache.tomcat.dbcp.dbcp.BasicDataSource.createPoolableConnectionFactory(BasicDataSource.java:1545)
    ... 39 more
    2012-10-22 11:58:18,076 ERROR [com.fatwire.logging.cs] - <Exception processing CatalogManager request>
    org.apache.tomcat.dbcp.dbcp.SQLNestedException: Cannot create PoolableConnectionFactory (User not found: SA)
    at org.apache.tomcat.dbcp.dbcp.BasicDataSource.createPoolableConnectionFactory(BasicDataSource.java:1549)
    at org.apache.tomcat.dbcp.dbcp.BasicDataSource.createDataSource(BasicDataSource.java:1388)
    at org.apache.tomcat.dbcp.dbcp.BasicDataSource.getConnection(BasicDataSource.java:1044)
    at com.fatwire.cs.core.db.DataSourceBackedPool.acquire(DataSourceBackedPool.java:47)
    at COM.FutureTense.Servlet.JDBCConn.Ping_trans(JDBCConn.java:291)
    at COM.FutureTense.Servlet.JDBCConn.Ping(JDBCConn.java:274)
    at COM.FutureTense.Common.CatalogManager.execute(CatalogManager.java:1122)
    at COM.FutureTense.Servlet.FTServlet.execute(FTServlet.java:129)
    at COM.FutureTense.Servlet.FTServlet.doGet(FTServlet.java:53)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    at com.fatwire.cs.core.logging.context.filter.ContextHeaderFilter.doFilterWork(ContextHeaderFilter.java:37)
    at com.fatwire.cs.core.logging.context.filter.RunOncePerRequestFilter.doFilter(RunOncePerRequestFilter.java:54)
    at com.fatwire.cs.core.logging.context.filter.HttpFilter.doFilter(HttpFilter.java:46)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    at com.fatwire.wem.sso.cas.filter.CASFilter.doFilter(CASFilter.java:557)
    at com.fatwire.wem.sso.SSOFilter.doFilter(SSOFilter.java:51)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
    at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:859)
    at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588)
    at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
    at java.lang.Thread.run(Thread.java:619)
    Caused by: java.sql.SQLException: User not found: SA
    at org.hsqldb.jdbc.Util.sqlException(Unknown Source)
    at org.hsqldb.jdbc.jdbcConnection.<init>(Unknown Source)
    at org.hsqldb.jdbcDriver.getConnection(Unknown Source)
    at org.hsqldb.jdbcDriver.connect(Unknown Source)
    at org.apache.tomcat.dbcp.dbcp.DriverConnectionFactory.createConnection(DriverConnectionFactory.java:38)
    at org.apache.tomcat.dbcp.dbcp.PoolableConnectionFactory.makeObject(PoolableConnectionFactory.java:582)
    at org.apache.tomcat.dbcp.dbcp.BasicDataSource.validateConnectionFactory(BasicDataSource.java:1556)
    at org.apache.tomcat.dbcp.dbcp.BasicDataSource.createPoolableConnectionFactory(BasicDataSource.java:1545)
    ... 31 more
    Can you please tell me why this error is coming and how to resolve it.

    The error got resolved..
    The files in
    App_Server\apache-tomcat-6.0.32\default\data\hypersonic
    were corrupted hence the error.
    Replaced them with the ones from a correct installation and voila!

  • How to configure sun application server 8.2 for Oracle RAC 10g

    Hello,
    We have numerous boxes running the sun platform application server 8.2 and 2 boxes running enterprise version 8.2 all connecting to a 4 node Oracle RAC 10 G release 2 database. We have the system up and working. The application servers are connecting just fine to the database and the apps don't have any problems querying, inserting, etc. However, when we try to do failover testing of situations when a node or nodes of the Oracle RAC database goes down the application server does not gain new valid connections. Our configuration is this, OracleDataSource for the data source, table validation turned on with a valid table, ONS configuration set in properties, connectionCache enabled, and fastconnectionfailover enabled as well in the properties. We have that long oracle rac url with load balancing turned on set fot the database URL. We have the checkbox checked to fail all connections on any failure. ONS is configured properly within the database because we have a java application that runs outside of the application server that uses all the same settings described above (only set manually in our code for the OracleDataSource). This application works seemlessly when DB nodes are shutdown. We can shutdown all but one node and it's still humming along without skipping a beat. Start up one of the others, kill the last node, it still hums along nicely without skipping a beat. We'd really like to get the applications running in the application server to work the same way. Any help would be greatly appreciated. We've tried all the combinations that we can think of with configuration settings in the application server and it never works. Am tempted to rip out the database connection pool from inside the application server and configure it manually in the code but we are using entity beans and this is the much easier approach, if it will work. It's down to the point of does sun application server actually work with oracle RAC for connection failovers.

    Hi,
    We are also facing similar execption. Here is the error, we are getting, when a node is failed on RAC.
    [#|2007-11-11T12:43:53.685+0000|WARNING|sun-appserver-ee8.1_02|javax.enterprise.system.core.transaction|_ThreadID=38;|JTS5041: The resource manager is doing work outside a global transaction
    oracle.jdbc.xa.OracleXAException
    at oracle.jdbc.xa.OracleXAResource.checkError(OracleXAResource.java:1270)
    at oracle.jdbc.xa.client.OracleXAResource.start(OracleXAResource.java:318)
    at com.sun.gjc.spi.XAResourceImpl.start(XAResourceImpl.java:184)
    at com.sun.jts.jta.TransactionState.startAssociation(TransactionState.java:258)
    at com.sun.jts.jta.TransactionImpl.enlistResource(TransactionImpl.java:181)
    at com.sun.enterprise.distributedtx.J2EETransaction.enlistResource(J2EETransaction.java:397)
    at com.sun.enterprise.distributedtx.J2EETransactionManagerImpl.enlistResource(J2EETransactionManagerImpl.java:312)
    at com.sun.enterprise.distributedtx.J2EETransactionManagerOpt.enlistResource(J2EETransactionManagerOpt.java:114)
    at com.sun.enterprise.resource.ResourceManagerImpl.registerResource(ResourceManagerImpl.java:113)
    at com.sun.enterprise.resource.ResourceManagerImpl.enlistResource(ResourceManagerImpl.java:71)
    at com.sun.enterprise.resource.PoolManagerImpl.getResource(PoolManagerImpl.java:176)
    at com.sun.enterprise.connectors.ConnectionManagerImpl.internalGetConnection(ConnectionManagerImpl.java:268)
    at com.sun.enterprise.connectors.ConnectionManagerImpl.allocateConnection(ConnectionManagerImpl.java:193)
    at com.sun.enterprise.connectors.ConnectionManagerImpl.allocateConnection(ConnectionManagerImpl.java:122)
    at com.sun.gjc.spi.DataSource.getConnection(DataSource.java:70)
    at com.syntegra.nasp.etp.dax.DBManager.getConnection(DBManager.java:192)
    at com.syntegra.nasp.etp.dax.DBManager.createDBCommand(DBManager.java:241)
    at com.syntegra.nasp.etp.dax.DBManager.createDBCommand(DBManager.java:251)
    at com.syntegra.nasp.etp.dax.sp.SPS_PRESCRIPTION_GUID_PROC.getCommand(SPS_PRESCRIPTION_GUID_PROC.java:31)
    at com.syntegra.nasp.etp.dax.sp.SPS_PRESCRIPTION_GUID_PROC.execute(SPS_PRESCRIPTION_GUID_PROC.java:23)
    at com.syntegra.nasp.etp.dax.PrescriptionBaseDataMapper.loadPresciptionByGUID(PrescriptionBaseDataMapper.java:203)
    at com.syntegra.nasp.etp.model.PrescriptionBase.findByPrescriptionGUID(PrescriptionBase.java:176)
    at com.syntegra.nasp.etp.messages.PatientPrescriptionReleaseRequest.execute(PatientPrescriptionReleaseRequest.java:120)
    at com.syntegra.nasp.etp.service.ETPSLBean.processMessage(ETPSLBean.java:159)
    at sun.reflect.GeneratedMethodAccessor97.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:324)
    at com.sun.enterprise.security.SecurityUtil.invoke(SecurityUtil.java:147)
    at com.sun.ejb.containers.EJBLocalObjectInvocationHandler.invoke(EJBLocalObjectInvocationHandler.java:128)
    at $Proxy6.processMessage(Unknown Source)
    at com.syntegra.nasp.etp.listener.RequestListener.onRequest(RequestListener.java:204)
    at com.syntegra.spine.csf.consumer.mdb.CSFListenerRegisteringConsumer.onRequest(CSFListenerRegisteringConsumer.java:54)
    at com.syntegra.spine.csf.consumer.mdb.CSFConsumerBase.invokeListener(CSFConsumerBase.java:267)
    at com.syntegra.spine.csf.consumer.mdb.CSFConsumerBase.processMessage(CSFConsumerBase.java:180)
    at com.syntegra.spine.csf.consumer.mdb.CSFConsumerBase.onMessage(CSFConsumerBase.java:102)
    at sun.reflect.GeneratedMethodAccessor96.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:324)
    at com.sun.enterprise.security.SecurityUtil$2.run(SecurityUtil.java:153)
    at java.security.AccessController.doPrivileged(Native Method)
    at com.sun.enterprise.security.application.EJBSecurityManager.doAsPrivileged(EJBSecurityManager.java:955)
    at com.sun.enterprise.security.SecurityUtil.invoke(SecurityUtil.java:158)
    at com.sun.ejb.containers.MessageBeanContainer.deliverMessage(MessageBeanContainer.java:956)
    at com.sun.ejb.containers.MessageBeanListenerImpl.deliverMessage(MessageBeanListenerImpl.java:42)
    at com.sun.enterprise.connectors.inflow.MessageEndpointInvocationHandler.invoke(MessageEndpointInvocationHandler.java:130)
    at $Proxy9.onMessage(Unknown Source)
    at com.sun.genericra.inbound.DeliveryHelper.deliverMessage(DeliveryHelper.java:183)
    at com.sun.genericra.inbound.DeliveryHelper.deliver(DeliveryHelper.
    Regards
    Selvan.

  • ABAP Trial version u2013 starting the application server

    Hi,
    I have a problem starting the application server via the management console. After choosing action ->start I have to enter user and password. Do I have to create a new user password combination, use the OS password or try bcuser and minisap? None of these three options worked out. I always get the message 'Start failed: 2 Invalid Credentials'. Or went there something wrong during the installation?
    Thanks for your help.
    Birgit

    Hey Birgit,
    In my case I installed ABAP Trial version (also known as MiniSap) on my local machine (Windows).
    When I turn on the machine, my Windows(OS) requires a User/Password (It was configured this way but it is possible you configure to not require a User/Password, it uses a default).
    When I instaled the ABAP Trial version, I logged on with a User/Password with administrator rights (it is necessary for installation).
    When, in the "Management Console", I start the ABAP (the "NSP" node), it asks me the user and password and I use the OS User/Password that I used to install ABAP Trial (above).
    If you are doing the same I don't know why the message "Start failed: 2 Invalid Credentials".
    Merry Christmas,
    Edited by: Walmir Catunda on Dec 15, 2008 11:34 AM

  • JMS problem with Sun Application Server 8.2

    Hi!
    I've just started trying JMS and found a problem.
    I set a connection factory called "QueueConnectionFactory" in the Sun Application Server Admin Consol.
    After this I test this code:
    import javax.jms.*;
    import javax.naming.*;
    public class Sun_JNDI
    public static void main(String args[]) throws Exception
    Context jndiContext = null;
    System.setProperty("java.naming.factory.initial","com.sun.enterprise.naming.SerialInitContextFactory" );
    System.setProperty("java.naming.factory.url.pkgs","=com.sun.enterprise.naming");
    System.setProperty("java.naming.provider.url","localhost:1024");
    jndiContext = new InitialContext();
    Object O = jndiContext.lookup("QueueConnectionFactory");
    System.out.println(jndiContext);
    in result I got this long Exception message:
    2006.02.12. 10:52:59 com.sun.corba.ee.spi.logging.LogWrapperBase doLog
    INFO: "IOP00710299: (INTERNAL) Successfully created IIOP listener on the specified host/port: all interfaces/1356"
    2006.02.12. 10:53:00 com.sun.enterprise.connectors.ActiveRAFactory createActiveResourceAdapter
    SEVERE: RAR6001 : Class Not found : com.sun.messaging.jms.ra.ResourceAdapter
    2006.02.12. 10:53:00 com.sun.enterprise.connectors.ActiveRAFactory createActiveResourceAdapter
    SEVERE:
    com.sun.enterprise.connectors.ConnectorRuntimeException: Error in creating active RAR
    at com.sun.enterprise.connectors.ActiveRAFactory.createActiveResourceAdapter(ActiveRAFactory.java:76)
    at com.sun.enterprise.connectors.ResourceAdapterAdminServiceImpl.createActiveResourceAdapter(ResourceAdapterAdminServiceImpl.java:267)
    at com.sun.enterprise.connectors.ConnectorRuntime.createActiveResourceAdapter(ConnectorRuntime.java:189)
    at com.sun.enterprise.naming.factory.ConnectorObjectFactory.getObjectInstance(ConnectorObjectFactory.java:71)
    at javax.naming.spi.NamingManager.getObjectInstance(NamingManager.java:304)
    at com.sun.enterprise.naming.SerialContext.lookup(SerialContext.java:293)
    at javax.naming.InitialContext.lookup(InitialContext.java:351)
    at Sun_JNDI.main(Sun_JNDI.java:40)
    Caused by: java.lang.ClassNotFoundException: com.sun.messaging.jms.ra.ResourceAdapter
    at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:268)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
    at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(Class.java:164)
    at com.sun.enterprise.connectors.ActiveRAFactory.createActiveResourceAdapter(ActiveRAFactory.java:50)
    ... 7 more
    2006.02.12. 10:53:00 com.sun.enterprise.naming.SerialContext lookup
    SEVERE: NAM0004: Exception during name lookup : {0}
    com.sun.enterprise.connectors.ConnectorRuntimeException: Error in creating active RAR
    at com.sun.enterprise.connectors.ActiveRAFactory.createActiveResourceAdapter(ActiveRAFactory.java:76)
    at com.sun.enterprise.connectors.ResourceAdapterAdminServiceImpl.createActiveResourceAdapter(ResourceAdapterAdminServiceImpl.java:267)
    at com.sun.enterprise.connectors.ConnectorRuntime.createActiveResourceAdapter(ConnectorRuntime.java:189)
    at com.sun.enterprise.naming.factory.ConnectorObjectFactory.getObjectInstance(ConnectorObjectFactory.java:71)
    at javax.naming.spi.NamingManager.getObjectInstance(NamingManager.java:304)
    at com.sun.enterprise.naming.SerialContext.lookup(SerialContext.java:293)
    at javax.naming.InitialContext.lookup(InitialContext.java:351)
    at Sun_JNDI.main(Sun_JNDI.java:40)
    Caused by: java.lang.ClassNotFoundException: com.sun.messaging.jms.ra.ResourceAdapter
    at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:268)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
    at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(Class.java:164)
    at com.sun.enterprise.connectors.ActiveRAFactory.createActiveResourceAdapter(ActiveRAFactory.java:50)
    ... 7 more
    Exception in thread "main" javax.naming.CommunicationException: serial context communication ex [Root exception is com.sun.enterprise.connectors.ConnectorRuntimeException: Error in creating active RAR]
    at com.sun.enterprise.naming.SerialContext.lookup(SerialContext.java:317)
    at javax.naming.InitialContext.lookup(InitialContext.java:351)
    at Sun_JNDI.main(Sun_JNDI.java:40)
    Caused by: com.sun.enterprise.connectors.ConnectorRuntimeException: Error in creating active RAR
    at com.sun.enterprise.connectors.ActiveRAFactory.createActiveResourceAdapter(ActiveRAFactory.java:76)
    at com.sun.enterprise.connectors.ResourceAdapterAdminServiceImpl.createActiveResourceAdapter(ResourceAdapterAdminServiceImpl.java:267)
    at com.sun.enterprise.connectors.ConnectorRuntime.createActiveResourceAdapter(ConnectorRuntime.java:189)
    at com.sun.enterprise.naming.factory.ConnectorObjectFactory.getObjectInstance(ConnectorObjectFactory.java:71)
    at javax.naming.spi.NamingManager.getObjectInstance(NamingManager.java:304)
    at com.sun.enterprise.naming.SerialContext.lookup(SerialContext.java:293)
    ... 2 more
    Caused by: java.lang.ClassNotFoundException: com.sun.messaging.jms.ra.ResourceAdapter
    at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:268)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
    at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(Class.java:164)
    at com.sun.enterprise.connectors.ActiveRAFactory.createActiveResourceAdapter(ActiveRAFactory.java:50)
    ... 7 more
    So I tested this code under Netbeans5 and I don't where to find jar file contains the class: com.sun.messaging.jms.ra.ResourceAdapter
    Other time I tryied to lookup this URL: "java:comp/env/jms/QueueConnectionFactory"
    The result was: javax.naming.NameNotFoundException
    I know it is a small code example but if I'm not able to solve this problem I can't go on with JMS.
    I would be glad by any help.
    Regards:
    Sandor

    Hello
    In my code it looks like that:
    1: System.setProperty("com.sun.jndi.ldap.LdapCtxFactory", "iiop://localhost:3700");
    2: Context ctx = new InitialContext();
    3: TopicConnectionFactory factory = (TopicConnectionFactory)ctx.lookup("jms/DailyDestinationFactory");
    4: TopicConnection connection = factory.createTopicConnection();
    5: TopicSession session = connection.createTopicSession(false, Session.AUTO_ACKNOWLEDGE);
    6: Topic topic = (Topic)ctx.lookup("jms/DailyBean");
    7: TopicPublisher pub = session.createPublisher(topic);
    8: TextMessage msg = session.createTextMessage();
    9: msg.setText("NewMessage");
    10: pub.send(msg);
    and it work with Sun App Server 8.2.

  • How iReport can work in Sun Application Server??

    I am success to use the iReport to show out the pdf file in Tomcat which i am using jsp code, but, when I run them in sun application server, it throws out the following exception.
    //=====================
    HTTP Status 500 -
    type Exception report
    message
    description The server encountered an internal error () that prevented it from fulfilling this request.
    exception
    javax.servlet.ServletException: Error compiling report design.
         org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:830)
         org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:763)
         org.apache.jsp.Report_005fJSP.payroll_005frec_005fstaff_jsp._jspService(payroll_005frec_005fstaff_jsp.java:165)
         org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:105)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:860)
         org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:336)
         org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:297)
         org.apache.jasper.servlet.JspServlet.service(JspServlet.java:247)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:860)
         sun.reflect.GeneratedMethodAccessor70.invoke(Unknown Source)
         sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         java.lang.reflect.Method.invoke(Method.java:585)
         org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:249)
         java.security.AccessController.doPrivileged(Native Method)
         javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
         org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:282)
         org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:165)
    root cause
    net.sf.jasperreports.engine.JRException: Error compiling report design.
         net.sf.jasperreports.engine.design.JRAbstractCompiler.compileReport(JRAbstractCompiler.java:231)
         net.sf.jasperreports.engine.design.JRDefaultCompiler.compileReport(JRDefaultCompiler.java:131)
         net.sf.jasperreports.engine.JasperCompileManager.compileReportToFile(JasperCompileManager.java:127)
         net.sf.jasperreports.engine.JasperCompileManager.compileReportToFile(JasperCompileManager.java:86)
         org.apache.jsp.Report_005fJSP.payroll_005frec_005fstaff_jsp._jspService(payroll_005frec_005fstaff_jsp.java:106)
         org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:105)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:860)
         org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:336)
         org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:297)
         org.apache.jasper.servlet.JspServlet.service(JspServlet.java:247)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:860)
         sun.reflect.GeneratedMethodAccessor70.invoke(Unknown Source)
         sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         java.lang.reflect.Method.invoke(Method.java:585)
         org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:249)
         java.security.AccessController.doPrivileged(Native Method)
         javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
         org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:282)
         org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:165)
    note The full stack trace of the root cause is available in the Sun-Java-System/Application-Server logs.
    //==========================
    Would someone can tell me why??This is urgent for me!!

    Here is the log file information I get from the sun application server, when i run my iReport file.
    //==================
    DetailsTimestamp: 2006-5-28 22:50:02.768
    Log Level: INFO
    Logger: javax.enterprise.system.stream.out
    Name-Value Pairs: _ThreadID=11;
    Record Number: 2808
    Message ID: exception 3
    Complete Message
    java.lang.NullPointerException
    Diagnostic Causes
    Diagnostic Checks
    //==================
    Do you mean this server.log file message? and can you know why problem with me??

  • Starting the application server

    Hi,
    I am new to Java Studio Enterprise 8. I try this tutorial
    http://developers.sun.com/prodtech/javatools/jsenterprise/learning/tutorials/jse7/introjse7/index.html#Step_2:_Make_sure_Sun_Java_System_App
    which is for Java Studio Enterprise 7.
    I stop the firewall before anything :
    [X@Y Zip]$ sudo service iptables status
    Firewall is stopped.
    I start Java Studio Enterprise 8 IDE under Linux ([installdir]/jstudio_ent81/ide/bin/jstudio.sh). I clicked on runtime, I have two bullets, Bundled Java Tomcat (5.5.9) and Sun Java System Application Server. Unfortunately, unlike the picture provided on the tutorial I don't have an application server automatically started.
    I tried to start the tomcat server, this worked fine, I can use my browser to log on the tomcat server, http://localhost:8084. I switched it off.
    I tried starting the application server similarly but I get the following message after 5 minutes :
    "Error : The Sun Java System Application server could not start. More information about the cause is in the server log file. Possible reasons include:
    - Unknown master password (etc...)
    -Port conflicts (etc...)
    -Incorrect server information (etc...)
    -Corrupted Deployed Applications preventing the server to start (This can be seen in the server log file. etc... )"
    I don't think I've got anything running on those ports.
    [X@Y Zip]$ netstat -an|grep 8080
    [X@Y Zip]$ netstat -an|grep 8181
    [X@Y Zip]$ netstat -an|grep 4848
    [X@Y Zip]$ netstat -an|grep 7676
    [X@Y Zip]$ netstat -an|grep 3820
    [X@Y Zip]$ netstat -an|grep 3700
    [X@Y Zip]$ netstat -an|grep 5222
    In the server log file, I can't see much which would help [it seems to be long java command lines, but no particular message related to an error or a warning...]
    Thanks for your help,

    I reset the master password, but it did not change anything.
    I reinstalled everything, tried again, and still nothing on this side.
    There isn't anything in the log [when I click on "View server log" I get a "no such file or directory" dialog box...].
    When I click on start, I immediately get the following message on the shell :
    "Internal HTTP server running on port 8082" and I can use my web browser to go on "http://localhost:8082/"...

Maybe you are looking for

  • Low_value and high_value in USER_TAB_COL_STATISTICS in readable format

    Hi, My Oracle Version is 10.2.0.4. How would I know the low_value and high_value from the table USER_TAB_COL_STATISTICS in a readable format. I am getting the values in RAW. How would I get these values for CHAR datatype columns in CHAR, NUMBER datat

  • External Web Services as simple ABAP Proxy issue

    Hi, I'm a bit confused upon the subject. I'm testing a scenario where I want to call directly an external webservice from ABAP ( No XI in between for the moment : I'm using a client on the XI box that is set as 'Application system' . This is the only

  • PDF's exported from ID takes extremely long to print

    Hi, I'm not sure whether or not this is the right forum to post it in - if not, please direct me to the correct one :-) I work in the textile business, and our designers create some complex designs (lots of patterns ie.) in Illustrator, which they th

  • Safari interfering with Comcast email functions?

    I have Comcast internet email and recently I noticed that the function of choosing font color won't work anymore. When I choose a color and start to type, no print shows up and when I fiddle with it it just reverts back to black. At first thought it

  • Desktop.browse() won't show URI fragments on Windows

    Hi. I'd like to use the Desktop API in my application when the user clicks on various 'help' buttons. My reference manual for the application is one large HTML file, and so if the user clicks on a 'help' button when he's in the 'configuration' menu,