Error Using Sun ONE Application Framework

I am new to the Sun ONE Application Framework. I started by following the tutorial specifically for Java Studio. I get an error when trying to add a ViewBean.
Confirm refresh invalid JSP template
The current default JSP template [DefaultPage] is invalid. Do you want to rename it as [DefaultPage_invalid] and refresh [DefaultPage] from NBM archive?
I reinstalled the development environment to see if something was corrupted, but I am still receiving the same error. I am running in Windows XP Pro SP 1.
I installed as test on another machine running WIndows 2000, and it works fine.
I would appreciate any recommendations.
Thank you

I have been continuing to research this error.
I installed Sun ONE Studio 5 update 1 on a different machine running Windows XP Profressional SP1 and still had the same issue.
I installed it on RedHat Linux 9 and it worked just fine.
Just seems to be isolated to using the Sun ONE Application Framework development tools in Windows XP.

Similar Messages

  • Getting HTTP Status 500 error with sun one application server...

    Hi,
    I am trying to develop a sample application and try to run with sun one application server. I followed the tutorial. My application client is working fine. But my web client is producing the following error. I think we don't need to install Tomcat seperately when we have the application server or do I have to... any suggestions...
    type Exception report
    message
    description The server encountered an internal error () that prevented it from fulfilling this request.
    exception
    org.apache.jasper.JasperException: Unable to compile class for JSP
    No Java compiler was found to compile the generated source for the JSP.
    This can usually be solved by copying manually $JAVA_HOME/lib/tools.jar from the JDK
    to the common/lib directory of the Tomcat server, followed by a Tomcat restart.
    If using an alternate Java compiler, please check its installation and access path.
         org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:132)
         org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:356)
         org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:420)
         org.apache.jasper.compiler.Compiler.compile(Compiler.java:463)
         org.apache.jasper.compiler.Compiler.compile(Compiler.java:444)
         org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:557)
         org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:305)
         org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:306)
         org.apache.jasper.servlet.JspServlet.service(JspServlet.java:253)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:861)
         sun.reflect.GeneratedMethodAccessor79.invoke(Unknown Source)
         sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         java.lang.reflect.Method.invoke(Method.java:324)
         org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:289)
         java.security.AccessController.doPrivileged(Native Method)
         javax.security.auth.Subject.doAsPrivileged(Subject.java:500)
         org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:311)
         org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:205)
    note The full stack trace of the root cause is available in the Sun-Java-System/Application-Server-PE-8.0 logs.
    Sun-Java-System/Application-Server-PE-8.0

    You do not need to install Tomcat. SJSAS contains a web container. The error you are seeing could be caused by a few reasons. There are many previous threads on this issue, perhaps you could search the forum. I used the following search term, "Unable to compile class for JSP" ,and got many hits.
    http://onesearch.sun.com/search/developers/index.jsp?col=devforums&qp_name=J2EE+Software+Development+Kit+%28J2EE+SDK%29&qp=forum%3A136&qt=Unable+to+compile+class+for+JSP

  • Help on Java Message Service on using Sun ONE Application Server 7.0

    I am new to Sun ONE Application Server 7.0. I am failed to compile the JMS sample code. I got following error message when I was compiling the ReadOrder.java and SentOrder.java.
    package javax.jms doesn't exist
    package javax.xml.messaging doesn't exist
    package javax.servlet doesn't exist
    The javac -version returns "1.4.0_02" which is required for this sample code.
    Can someone let me know where is wrong? Thanks

    I'm not sure what the two java source files you refer to come from (maybe the samples shipped with AS7?). But you can find the referred packages here:
    javax.jms -> <AS_HOME>/imq/lib/jms.jar
    javax.xml.messaging -> this package is included in the Java Web Services Developers Pack 1.2 (http://java.sun.com/webservices/webservicespack.html)
    javax.servlet -> this package is also included in the J2EE SDK (j2ee.jar): http://java.sun.com/j2ee/download.html
    So you can go to the two links, download the packages, install them, and add the appropriate jars to your classpath and all should be well.
    Daniel.

  • Deploy the BC4J JSP Applications to Sun ONE Application Server 7.0

    Hi
    I am new for the Jdeveloper 9.0.3, I felt that the OC4J is quite useful, but I am not sure if it can be deployed on Sun ONE application server 7.0 (Our team are using Sun ONE Application server 7.0 as our J2EE AS). If it can, please tell me the deploy procedures, Thanks in advance!
    Regards

    I'm not sure if we've tried it under 7.0, although we did under 6.5 a short while back. If you write a BC4J based J2EE application, it should be able to be deployed across Application Servers (TSS just added Sun One 7 to their cluster)
    You can take a look at the 6.5 procedures for now, and just do the same as migrating from 6.5 to 7.0.
    http://otn.oracle.com/products/jdev/howtos/appservers/deploy_bc4j_to_iplanet.html
    Rob

  • Creating a connection pool using SQL Server 2000, Sun ONE Application Serve

    Has any one succesfully configured SQL Server 2000 to work with Sun ONE Application Server 7 on Windows 2000 server service pack 4? I am embarking on a new J2EE project and I need to configure it as soon as possible.
    The problem I am having is that, when I ping the data souce name, there is a connection error.
    I have set the data source name and other details as follows:
    Under JDBC, I have set the parameters for the connection pool as follows:
    Data Source Name:      com.microsoft.jdbc.sqlserver.SQLServerDriver
    Database Name:          jdbc:microsoft:sqlserver://localhost:1433;DatabaseName=Test
    User:               test
    Password:          test
    In the JVM settings page, I have set the prefix class path as follows for the location of the Microsoft JDBC
    drivers that I downloaded as follows:
    c:\microsoft\drivers/lib/msbase.jar
    c:\microsoft\drivers/lib/msutil.jar
    c:\microsoft\drivers/lib/mssqlserver.jar
    Under JVM Options, there is a strange setting which I don't understand: perhaps this is the cause of the
    connction error?
    -Djdbc.drivers=com.pointbase.jdbc.jdbcUniversalDriver
    Please help????

    I'm in a similar boat...
    Trying to setup AS7 JDBC and followed the instructions on the link you provided and get the following exception. I kept the case the same, thinking 'setpassword" was incorrect, so I tried changing the property to "Password", but get the same exception but it points to "setPassword" instead.
    SEVERE: RAR5041:Cannot get jdbc connection
    com.sun.enterprise.repository.J2EEResourceException
    java.lang.NoSuchMethodException: setpassword
    at com.sun.enterprise.repository.JdbcConnectionPool.createDataSource(JdbcConnectionPool.java:243)
    at com.sun.enterprise.resource.JdbcUrlAllocator.createResource(JdbcUrlAllocator.java:80)
    at com.sun.enterprise.resource.IASNonSharedResourcePool.createSteadyResources(IASNonSharedResourcePool.java:856)
    at com.sun.enterprise.resource.IASNonSharedResourcePool.initPool(IASNonSharedResourcePool.java:416)
    at com.sun.enterprise.resource.IASNonSharedResourcePool.internalGetResource(IASNonSharedResourcePool.java:625)
    at com.sun.enterprise.resource.IASNonSharedResourcePool.getResource(IASNonSharedResourcePool.java:520)
    at com.sun.enterprise.resource.PoolManagerImpl.getResourceFromPool(PoolManagerImpl.java:263)
    at com.sun.enterprise.resource.JdbcXAConnection.<init>(JdbcXAConnection.java:74)
    at com.sun.enterprise.resource.Jdbc10XaAllocator.createResource(Jdbc10XaAllocator.java:94)
    at com.sun.enterprise.resource.IASNonSharedResourcePool.createSteadyResources(IASNonSharedResourcePool.java:856)
    at com.sun.enterprise.resource.IASNonSharedResourcePool.initPool(IASNonSharedResourcePool.java:416)
    at com.sun.enterprise.resource.IASNonSharedResourcePool.internalGetResource(IASNonSharedResourcePool.java:625)
    at com.sun.enterprise.resource.IASNonSharedResourcePool.getResource(IASNonSharedResourcePool.java:520)
    at com.sun.enterprise.resource.PoolManagerImpl.getResourceFromPool(PoolManagerImpl.java:263)
    at com.sun.enterprise.resource.PoolManagerImpl.getResource(PoolManagerImpl.java:170)
    at com.sun.enterprise.resource.JdbcDataSource.internalGetConnection(JdbcDataSource.java:241)
    at com.sun.enterprise.resource.JdbcDataSource.getConnection(JdbcDataSource.java:98)
    at com.rvi.database.jdbcConnection.getConnection(jdbcConnection.java:93)
    at com.webapp.database.ArticlesDAO.selectByYear(ArticlesDAO.java:102)
    at com.webapp.actions.ArticleAction.list(ArticleAction.java:96)
    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:324)
    at org.apache.struts.actions.DispatchAction.dispatchMethod(DispatchAction.java:280)
    at org.apache.struts.actions.DispatchAction.execute(DispatchAction.java:216)
    at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:484)
    at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:274)
    at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)
    at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:507)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at org.apache.catalina.core.StandardWrapperValve.invokeServletService(StandardWrapperValve.java:720)
    at org.apache.catalina.core.StandardWrapperValve.access$000(StandardWrapperValve.java:118)
    at org.apache.catalina.core.StandardWrapperValve$1.run(StandardWrapperValve.java:278)
    at java.security.AccessController.doPrivileged(Native Method)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:274)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:505)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:212)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:505)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:203)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:505)
    at com.iplanet.ias.web.connector.nsapi.NSAPIProcessor.process(NSAPIProcessor.java:157)
    at com.iplanet.ias.web.WebContainer.service(WebContainer.java:598)

  • Creating a connection pool using Oracle 10g, Sun ONE Application Serve 8.1

    Has any one succesfully configured Oracle 10g to work with Sun ONE Application Server 8.1 on Windows 2000 server service pack 4? I am embarking on a new J2EE project and I need to configure it as soon as possible.

    I haven't done it myself on that particular service pack, but I don't see why it should be any different than configuring a connection pool on other vanilla win2k/other OSes.
    Would you please try and let this forum know?
    thanks.

  • Issues in deploying files on sun one application server 8.2.

    Hi,
    We have developed a project using java, JSP & Struts Framework. The database used is oracle 9.i. We have created a single war file as it is a small application. Initially we had deployed this project on Tomcat Apachee server and now we have migrated Sun One application server 8.2.
    During the deployment process we checked the "Verify" option. This option throws up certain errors for unknown reasons / resaons which we are not able to figure out. How ever if we do not check the "Verify" option the project gets deployed and runs sucessfully on the server.
    Here is an extract of the Log file:
    FAILED TESTS :
    Test Name : tests.web.WebArchiveClassesLoadable
    Test Assertion : All classes in this Web Archive are loadable. Please refer to J2EE 1.4 Specification Section #8.1.2 for further information.
    Test Description : For [ careers.war ]
    classes [ ] referenced by [ ] are not found
    Please either bundle the above mentioned classes in the application or use optional packaging support for them.
    Can some one throw some light onto this issue.
    Thanks
    Sanjay Subramanyam
    Mobile: 98671-84285
    email: [email protected]

    can you run standalone verifier and let us know what results it produces? to run standalone verifier:
    .../bin/verifier <path to your war file>
    If it still produces those empty [] in the resukts, then please file a bug.
    -- Sahoo

  • Sun One Application Server 8.2

    I was wondering if anybody used Creator 2 with Sun One Application Server 8.2?????????
    I did create a war file from the project that I build and tried to deployed it with Application Server 8.2. The deployment was successful, but when I am tried to submit the form that I created, I got errors such as:
    com.sun.rave.web.ui.appbase.ApplicationException: #{addApplicationPage.saveLink_action}: javax.faces.el.EvaluationException: java.lang.ClassCastException
         com.sun.rave.web.ui.appbase.faces.ViewHandlerImpl.destroy(ViewHandlerImpl.java:601)
         com.sun.rave.web.ui.appbase.faces.ViewHandlerImpl.renderView(ViewHandlerImpl.java:302)
         com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:87)
    and in the log file also :
    Caused by: javax.faces.el.EvaluationException: java.lang.ClassCastException
    at com.sun.faces.el.MethodBindingImpl.invoke(MethodBindingImpl.java:130)
    at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:72)
    ... 45 more
    Caused by: java.lang.ClassCastException
    at com.sun.corba.ee.impl.javax.rmi.PortableRemoteObject.narrow(Unknown Source)
    at javax.rmi.PortableRemoteObject.narrow(PortableRemoteObject.java:137)
    Any suggestions ??????
    Thanks

    Are you using 8.2 Platform Edition or Standard Edition?
    BTW, I know that there is an issue with SE using 8.1 if you use getPathTranslated() in your app.

  • A problem when using Sun One to create a Servlet?

    I have the Sun One Application Server installed on my computer. I used the Sun One Studio to create my first Servlet: HelloServlet. The steps are as following:
    1)First, the filesystem I mounted on Sun One Studio is:
    D:\myProgram\John\JohnEJB1.
    2)Then I created a folder(or package) under it, it�s called client. I created a html file, hello.html under this client folder, which will call a servlet later. Immediately, I transferred this client folder to a Web Module. So there is a WEB-INF under the D:\myProgram\John\JohnEJB1 in the Sun One Studio. This WEB-INF of course has one classes folder and one lib folder.
    3) Under this classes folder, which is used to save all the Servlet classes, I put my HelloServlet.java.
    4) in the web.xml, I put the following:
    <servlet>
    <servlet-name>MyHello</servlet-name>
    <display-name>MyHello</display-name>
    <servlet-class>samServlet. HelloServlet </servlet-class>
    </servlet>
    <servlet-mapping>
    <servlet-name> MyHello </servlet-name>
    <url-pattern>/samTest</url-pattern>
    </servlet-mapping>
    5) Again, in the html file hello.html mentioned earlier, I put the Action like this: <FORM METHOD="GET" ACTION="/samTest">
    6) Finally, I deployed this WEB-INF to the Sun One Application Server.
    But when I went to the url: http://localhost: 80/client/hello.html to test it, when I clicked the Form Button, in other words, when the html file called the Servlet, it failed. It reported some error like NoClassDefFoundError.
    Anyone who can point out which part was wrong here? I know it�s a very basic problem. So I really appreciate your help.

    The classes folder should contain class files, not java files.

  • Trouble with mapping CMR field using Sun One Studio

    I am having trouble adding a cmr between 2 entity beans. It is a simple one to one relationship, navigatable in only one direction. In the database I have a foreign key defined between the two tables that store the data for the beans.
    I add the relation by selecting the 2 beans and define it as one directional, one to one , with the name "bb". I then map the relationship field via the properties/As Sun One tab. I use the foreign key defined in the database. All seems to be well.
    Using Sun One AppServer 7 and Studio 4
    Upon deploying the application I receive:
    CMP Mapping Error in bean Sites:: Warning: The field bb is not mapped.
    Set the column mapping for the field.

    The CMR/CMP mappings is very instable.
    Sunone Studio 5 has a lot of bugs when mapping CMP/CMR but i never saw this one, try to upgrade.
    Please vote for this bug. It's killing me!!!!!!!!!!!!!!!
    http://developer.java.sun.com/developer/bugParade/bugs/4932495.html

  • Sun One application server connection problem for Oracle DB

    On our project in live environments we have six Sun One application servers that have been configured to connect to RAC Oracle database using OCI drivers. ( JDBC thick driver)
    Sun one application server : Version 7.0.0
    Oracle Database : Version 9.2.0.4.0
    Following are two scenarios where Sun one server receives an error while attempting to perform any DML operations onto the database e.g. when you will try to send a insert/update msg through sun One.
    Case 1: - If the Oracle package/procedure/function is compiled using �Alter package/function/procedure....� command
    problem
    Any attempt to perform a DML operation using RMI calls though Sun one application server with already established oracle connection will fail.
    Sun One application server needs to be bounced to get an up-to-date state of the package.
    Case 2: If the Oracle package/procedure/function is compiled using �Create or Replace package/function/procedure....� command
    problem
    First attempt to perform any DML operation using RMI calls though Sun one application server with already established oracle connection will always fail. Any subsequent attempts will be successful.
    We are using JDBC OCI think drivers. I tried flushing Shared pool at the Oracle side but it didn't help. For some reason Sun One seems to Cache the session information for already establised connections with Oracle database. As its live system we don't want any outage. i.e we know bouncing oracle app server will solve the problem.
    So just wondering is there way/workaround to make aware the already estlised connection from sun one appserver to Oracle DB about changed packages/proceduress in the DB?
    Any thoughts on this would be much appreciated.
    txns
    Ravi

    Forgot one thing: when I use remote debugging , it works.

  • Error during Sun ONE App server 7 startup

    hi
    i am getting the following error when i try to start my app server. given below is the error messages that i am getting. can some one help me with this
    [12/Apr/2003:16:55:49] INFO ( 1688): CORE1116: Sun ONE Application Server 7.0
    [12/Apr/2003:16:55:51] INFO ( 1688): CORE5076: Using [Java HotSpot(TM) Server VM, Version 1.4.0_02] from [Sun Microsystems Inc.]
    [12/Apr/2003:16:55:53] INFO ( 1688): ADM0002:System MBean initialized:[ias:type=controller]
    [12/Apr/2003:16:55:53] INFO ( 1688): ADM0002:System MBean initialized:[ias:type=configurator]
    [12/Apr/2003:16:55:53] INFO ( 1688): ADM0001:MBeanServer initialized successfully
    [12/Apr/2003:16:55:53] INFO ( 1688): ADM0005:Timestamp files for configuration created for:[admin-server]
    [12/Apr/2003:16:55:54] INFO ( 1688): ADM0005:Timestamp files for configuration created for:[server1]
    [12/Apr/2003:16:55:54] INFO ( 1688): ADM0102: Starting a thread for tracking manual changes
    [12/Apr/2003:16:55:57] INFO ( 1688): IOP5053: Received a locate request on a disabled connection. Locate requests are permitted.
    [12/Apr/2003:16:55:58] INFO ( 1688): JTS5014: Recoverable JTS instance, serverId = [100]
    [12/Apr/2003:16:55:59] INFO ( 1688): RAR5060: Install JDBC Datasources ...
    [12/Apr/2003:16:55:59] INFO ( 1688): JMS5015: Install JMS resources ...
    [12/Apr/2003:16:55:59] SEVERE ( 1688): CORE4007: Internal error: Unexpected Java exception thrown (unknown exception, no description), stack: java.lang.ExceptionInInitializerError
         at java.lang.Class.forName0(Native Method)
         at java.lang.Class.forName(Class.java:130)
         at com.iplanet.ias.jms.IASJmsUtil.getJMSAdminFactory(IASJmsUtil.java:96)
         at com.iplanet.ias.jms.IASJmsUtil.getJMSAdmin(IASJmsUtil.java:107)
         at com.iplanet.ias.jms.IASJmsConfig.getJmsAdmin(IASJmsConfig.java:196)
         at com.iplanet.ias.jms.IASJmsConfig.<init>(IASJmsConfig.java:71)
         at com.iplanet.ias.jms.IASJmsUtil.installJMSResources(IASJmsUtil.java:168)
         at com.sun.enterprise.resource.ResourceInstaller.installJMSResources(ResourceInstaller.java:1383)
         at com.sun.enterprise.server.J2EEServer.run(J2EEServer.java:418)
         at com.sun.enterprise.server.J2EEServer.main(J2EEServer.java:1415)
         at com.iplanet.ias.server.ApplicationServer.onInitialization(ApplicationServer.java:212)
         at com.iplanet.ias.server.J2EERunner.confPreInit(J2EERunner.java:114)
    Caused by: java.util.MissingResourceException: Can't find bundle for base name com.sun.messaging.jmq.admin.resources.AdminResources, locale en_US
         at java.util.ResourceBundle.throwMissingResourceException(ResourceBundle.java:804)
         at java.util.ResourceBundle.getBundleImpl(ResourceBundle.java:773)
         at java.util.ResourceBundle.getBundle(ResourceBundle.java:538)
         at com.sun.messaging.jmq.admin.util.Globals.getAdminResources(Globals.java:75)
         at com.sun.messaging.jmq.admin.jmsspi.JMSAdminFactoryImpl.<clinit>(JMSAdminFactoryImpl.java:25)
         ... 12 more
    [12/Apr/2003:16:55:59] SEVERE ( 1688): CORE3186: Failed to set configuration

    hi
    i was able to solve the error :-).
    I was trying to migrate an application from iAS 6.5 to 7.0. During the deployment of the application (using ant scripts) a few jar files required for the application to run were copied to the jdk\jre\lib\ext folder. Those files were the cause of the problem. Once i removed those files i was able to start up the application server..
    Thanks
    Narayan

  • Problem starting Sun One Application - JMS Exception

    Hello,
    I'm having some trouble trying to start SunONE JMS sever via the Sun ONE application server v7 running on RedHat Linux 7.3.
    When I start the app server via the asadmin tool I receive the following exception,
    [root@sc-test1 config]# asadmin start-appserv
    Instance domain1:admin-server started
    Could not start the instance: domain1:server1
    server failed to start: abnormal subprocess termination
    Could not start one or more instances in the domain : domain1
    Could not start one or more domains
    The following exception is outputted to the server log,
    19/Sep/2003:15:47:14] INFO ( 2135): CORE1116: Sun ONE Application Server 7.0.0_00
    [19/Sep/2003:15:47:15] INFO ( 2137): CORE3016: daemon is running as super-user
    [19/Sep/2003:15:47:17] INFO ( 2137): CORE5076: Using [Java HotSpot(TM) Server VM, Version 1.4.1] from [Sun Microsystems Inc.]
    [19/Sep/2003:15:47:54] INFO ( 2137): JMS5035: Timed out after 30000 milliseconds while trying to verify if the JMS service startup succeeded.
    [19/Sep/2003:15:47:54] INFO ( 2137): JMS5036: More details may be available in the log file for the JMS service broker instance domain1_server1. Please refer to the JMS provider documentation for the exact location of this log file.
    [19/Sep/2003:15:47:54] SEVERE ( 2137): JMS5024: JMS service startup failed.
    [19/Sep/2003:15:47:54] SEVERE ( 2137): CORE5071: An error occurred during initialization
    com.sun.appserv.server.ServerLifecycleException: [C4003]: Error occurred on connection creation. - caught java.net.ConnectException
    at com.iplanet.ias.jms.JmsProviderLifecycle.onInitialization(JmsProviderLifecycle.java:247)
    at com.iplanet.ias.server.ApplicationServer.onInitialization(ApplicationServer.java:206)
    at com.iplanet.ias.server.J2EERunner.confPreInit(J2EERunner.java:114)
    Caused by: com.sun.appserv.server.ServerLifecycleException: [C4003]: Error occurred on connection creation. - caught java.net.ConnectException
    at com.iplanet.ias.jms.JmsProviderLifecycle.onInitialization(JmsProviderLifecycle.java:231)
    ... 2 more
    Caused by: javax.jms.JMSException: [C4003]: Error occurred on connection creation. - caught java.net.ConnectException
    at com.sun.messaging.jmq.jmsclient.ExceptionHandler.getJMSException(ExceptionHandler.java:183)
    at com.sun.messaging.jmq.jmsclient.ExceptionHandler.handleException(ExceptionHandler.java:136)
    at com.sun.messaging.jmq.jmsclient.PortMapperClient.readBrokerPorts(PortMapperClient.java:145)
    at com.sun.messaging.jmq.jmsclient.PortMapperClient.init(PortMapperClient.java:86)
    at com.sun.messaging.jmq.jmsclient.PortMapperClient.<init>(PortMapperClient.java:47)
    at com.sun.messaging.jmq.jmsclient.protocol.tcp.TCPConnectionHandler.<init>(TCPConnectionHandler.java:46)
    at com.sun.messaging.jmq.jmsclient.protocol.tcp.TCPStreamHandler.openConnection(TCPStreamHandler.java:101)
    at com.sun.messaging.jmq.jmsclient.ProtocolHandler.init(ProtocolHandler.java:501)
    at com.sun.messaging.jmq.jmsclient.ProtocolHandler.<init>(ProtocolHandler.java:930)
    at com.sun.messaging.jmq.jmsclient.ConnectionImpl.openConnection(ConnectionImpl.java:1482)
    at com.sun.messaging.jmq.jmsclient.ConnectionImpl.init(ConnectionImpl.java:403)
    at com.sun.messaging.jmq.jmsclient.ConnectionImpl.<init>(ConnectionImpl.java:234)
    at com.sun.messaging.jmq.jmsclient.UnifiedConnectionImpl.<init>(UnifiedConnectionImpl.java:33)
    at com.sun.messaging.jmq.jmsclient.QueueConnectionImpl.<init>(QueueConnectionImpl.java:32)
    at com.sun.messaging.ConnectionFactory.createQueueConnection(ConnectionFactory.java:72)
    at com.sun.messaging.jmq.admin.jmsspi.JMSAdminImpl.pingProvider(JMSAdminImpl.java:733)
    at com.iplanet.ias.jms.JmsProviderLifecycle.waitForJmsProvider(JmsProviderLifecycle.java:284)
    at com.iplanet.ias.jms.JmsProviderLifecycle.onInitialization(JmsProviderLifecycle.java:224)
    ... 2 more
    [19/Sep/2003:15:47:54] SEVERE ( 2137): CORE3186: Failed to set configuration
    I can confirm that the default JMS port (7676) is not be used elsewhere / by another process on the server and that netfilter/iptables are not active/running.
    I have also tried different/alternative ports for the JMS server however it still fails to startup.
    Any help much appreciated.
    Thanks and Regards,
    Rachel Gilmer

    I have encountered similar problem when running Sun Application server 7 in Fedora Core 2.
    It seems that problem was due to improper shutdown of my system.
    Following was what I did to resolve the problem:
    Look for the JMS installation directory (installed & created together with the application server). Mine is in /var/opt/imq. In the dir,
    look for directory instances/domain1_server1 (if your server is running in domain1 server1). Look for a file called lock. Remove the lock file (rename if you are not sure).
    After that I was able to successfully start the server.

  • Problem with mail connector example included in Sun ONE application server

    Hi,
    I am trying to deploy the sample application "mail connector" provided with the Sun One Application Server 8. the application has a MDB which polls for new messages for a user on the mail server. This application deploys successfully, but while connecting to the fastmail IMAP server, it gives the following exception :
    ERROR when attempting to open this mailbox: [email protected]
    Error in allocating a connection. Cause: Connection refused: no further information; nested exception is: java.net.ConnectException: Connection refused: no further information javax.resource.spi.ResourceAllocationException: Error in allocating a connection. Cause: Connection refused: no further information; nested exception is: java.net.ConnectException: Connection refused: no further information at com.sun.enterprise.connectors.ConnectionManagerImpl.internalGetConnection(ConnectionManagerImpl.java:283) at com.sun.enterprise.connectors.ConnectionManagerImpl.allocateConnection(ConnectionManagerImpl.java:193) at com.sun.enterprise.connectors.ConnectionManagerImpl.allocateConnection(ConnectionManagerImpl.java:122) at samples.connectors.mailconnector.ra.outbound.JavaMailConnectionFactoryImpl.createConnection(Unknown Source) at samples.connectors.mailconnector.servlet.MailBrowserServlet.doPost(Unknown Source) at javax.servlet.http.HttpServlet.service(HttpServlet.java:767) at javax.servlet.http.HttpServlet.service(HttpServlet.java:860) at sun.reflect.GeneratedMethodAccessor102.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:249) at java.security.AccessController.doPrivileged(Native Method) at javax.security.auth.Subject.doAsPrivileged(Subject.java:517) at org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:282) at org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:165) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:257) at org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFilterChain.java:55) at org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:161) at java.security.AccessController.doPrivileged(Native Method) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:263) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:551) at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:225) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:173) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:551) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:161) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:551) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:132) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:551) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:933) at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:185) at com.sun.enterprise.web.connector.grizzly.ProcessorTask.process(ProcessorTask.java:653) at com.sun.enterprise.web.connector.grizzly.ProcessorTask.process(ProcessorTask.java:534) at com.sun.enterprise.web.connector.grizzly.ProcessorTask.doTask(ProcessorTask.java:403) at com.sun.enterprise.web.connector.grizzly.WorkerThread.run(WorkerThread.java:55) Caused by: com.sun.enterprise.resource.PoolingException: Connection refused: no further information; nested exception is: java.net.ConnectException: Connection refused: no further information at com.sun.enterprise.resource.NoTxConnectorAllocator.createResource(NoTxConnectorAllocator.java:89) at com.sun.enterprise.resource.IASNonSharedResourcePool.createResourceAndAddToPool(IASNonSharedResourcePool.java:1111) at com.sun.enterprise.resource.IASNonSharedResourcePool.createSteadyResources(IASNonSharedResourcePool.java:488) at com.sun.enterprise.resource.IASNonSharedResourcePool.initPool(IASNonSharedResourcePool.java:166) at com.sun.enterprise.resource.IASNonSharedResourcePool.internalGetResource(IASNonSharedResourcePool.java:312) at com.sun.enterprise.resource.IASNonSharedResourcePool.getResource(IASNonSharedResourcePool.java:250) at com.sun.enterprise.resource.PoolManagerImpl.getResourceFromPool(PoolManagerImpl.java:211) at com.sun.enterprise.resource.PoolManagerImpl.getResource(PoolManagerImpl.java:172) at com.sun.enterprise.connectors.ConnectionManagerImpl.internalGetConnection(ConnectionManagerImpl.java:245) ... 34 more
    Review the values you entered and try again.
    Just wanted to know, whetehr someone out there had tried deploying and running this sample application?
    the changes that i made to the ejb-jar.xml file are as follows:
    servername : fastmail.fm
    username : "my username "
    password : "my password"
    folder :Inbox
    protocol :imap
    Please let me know the probable reasons it is not able to connect to the mail server.

    Did you exhaust the pool-size for the DB; i.e., max-pool-size=32? Can you get a Connection?

  • Help!! How to install and use Sun ONE Directory Server Resource Kit 5.2

    Hi ! Friend:
    I have some problem on install and use Sun ONE Directory Server Resource Kit 5.2, when I execute "java DSRK", afterwards something like this : com.iplanet.install.until.wbResource::gerstring:resource bundle"locale.resources.S1DSRKResource" not found appeared in the window ,that's why?
    Meanwhile ,can you give some data about it on how to use it ?
    Thank you !

    You should be aware of the following characteristics of your directory when using this tool:
    Size and number of entries.
    Directory structure and access permissions.
    Virtual attributes, class of service, and indexing.
    Usage, types of access, and access patterns.
    Post your error messages completely.
    Thanks
    --Britto                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

Maybe you are looking for

  • AFTER receiving a text message, how to turn off sound on Palm Pre

    Someone has to help me with this, because I'm at my wits' end! I used to have a Palm Centro, and really, any other phone before my new Palm Pre, goes something like this: 1. You get a notification ring(s) when you receive a new voicemail or text mess

  • How can i manage development demand?

    We have a requirement to produce demand for development units that we can ship against allowing the demand to be consumed like a regular Sales Order. At the moment we raise planned independent requirements to drive the MPS but once the WO is closed t

  • When I launch bridge from PS CS5, it opens the CS4 bridge, not CS5. How can I change the default?

    I wouldn't normally mind, however I've noticed Bridge CS4 is a lot slower than CS5 and there are minor appearance issues that I dont like in CS4.

  • Help setting up switch

    Hi I Have Cisco Catalyst 3750G switch that I need to route a /24 subnet of external ips to servers connected to the switch. I wish to break this up to into /30 subnets mostly and then allocate these to servers on a specific port of the switch. I have

  • Losing Connection From BT Hub

    Hi All, Not posted here before but hopefully I provide the info needed I have a BT Home Hub 2.0 (Black with blue lights down right hand side) with firmwhere 4.7.5.1.83.3.31 (Type B) and a Broadband Accelarator/I-Plate at the main phone socket in the