Sun ONE Application Server 6

J2EEApplicationException what are the reasons for it

You can do this by adding this jar file in the system class path of the Application Server, so that the library is picked up as and when the server comes up. To do this, open the registry editor, kregedit, and drill down until-
Application Server->6.5->java->ClassPath=xxx.
Click and edit this key and add the jar file into this.
Then restart the server.

Similar Messages

  • 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.

  • 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)

  • 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?

  • 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.

  • I am beginner to sun one studio and sun one application server

    How can i access a cmp from a jsp page.
    in sun one application server.
    thanx in advance

    where do you get the weblogic plugin from ?
    i am intrested in doing the same thing
    thanx
    prem
    "Ivan" <[email protected]> wrote in message
    news:[email protected]..
    >
    Dear all,
    My boss require me to use Sun One Studio 4 update 1 to do the development,but
    I find it's a nightmare to deploy the EJB/ application to the WebLogic6.1.
    >
    I've already installed the weblogic plug-in in the Sun One Studio.
    During deploying I could not find any setting that ask me for theweblogic-ejb-jar.xml.
    So I think the deployment will fail.
    Is there any others tutorial or e-book that can help me to familiar withthe deployment
    process?
    Many Thanks for all of you.
    Ivan

  • Sun One Application Server

    I installed Sun ONE Application Server 7, but the server cannot be started. This is the error:
    Could not start the instance: domain1:admin-server
    server failed to start: abnormal subprocess termination
    What should I do to make it work? (My OS is Windows 2000 Server)

    Have you tried the Sun ONE Software Forum?
    http://softwareforum.sun.com/NASApp/jive/index.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.

  • 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 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.

  • Beginner on sun one application server & jsp

    hi.. i'm susan. i'm new to sun one application server 7 and jsp..
    i am confused at the programming part.. as i have books on jsp which all talk abt jsp and tomcat..
    is there any sources on sun one application server when dealin with jsp?
    pls help me out..
    thanks a lot..
    susan:(

    Hi,
    Refer the Sun ONE Application Server 7 Developer's Guide to Web Applications at http://docs.sun.com/source/816-7150-10/contents.html for details.
    If you are using Sun ONE Studio 5 to create web application, the following tutorial might help you
    http://docs.sun.com/source/817-2320/index.html
    -Amol

  • Sun One Studio 5 Update 1 + Sun One Application Server 8

    I haven't been able to setup Sun One Studio 5 to work with Sun One Application Server 8. I already tried with the plugin for netbeans 3.6, but it fails on dependencies. The plugin and dependencies can not be found on the update center.
    I'd appreciate if anyone can tell me how to setup the studio to work with the AS succesfully

    Studio 5 does not support Sun Java System App Server 8 (and most likely never will).
    Try the NB3.6/AS8 bundle: http://java.sun.com/j2ee/1.4/download.html#nb
    I'm not sure I understand what you mean by dependencies.
    -Alexis

  • Remote debugging in sun one application server 8.1 options

    Hello Techies,
    I want to remote debug sun one application server 8.1
    I had followed remote debugging documentation on MyEclipse site. My sun one server is running under 8080 port. so I had done the modifications in domain.xml as follows
    debug-enabled="true" debug-options="-Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=8080"When i change this address to 8080, I am unable to start up the server. Can you guys tell me am i missing any thing ??
    Why I am unable to start up the server?? If i change the port no to 8000 I am able to start up the server.
    regards,
    Krishna

    And just to make an unfounded guess: do you have to specify the debug port or the request port there? If it's the former, it'll stand in its own way.

  • Synchronizatin in sun one application server 8.1

    Hi,
    i am having an synchronization issue in sun one application server 8.1. the operating system is solaris 10. when the date in the system is changes to some future date in the coming year ie 2009 and after the date change , the deployment is done , then server instance is not synchronized ie the new files or the changes to the configuration file are not reflected to the server instance.
    y is this happening
    can any one help me in this regard?
    Thanks and Regards
    Sachin K. Shetty

    And just to make an unfounded guess: do you have to specify the debug port or the request port there? If it's the former, it'll stand in its own way.

  • 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

  • Sun One Application Server 6.1

    Is Sun One Application Server 6.1 still supported by Sun ?
    More generally, where can I find a up-to-date list of the Sun supported products?
    Thank you in advance.
    Regards,
    Ludovic

    try disabling this line within magnus.conf
    Init fn="load-modules" shlib="C:/Sun/WebServer6.1/bin/https/bin/j2eeplugin.dll" shlib_flags="(global|now)"
    also comment out these lines within obj.conf.
    <Object name="j2ee">
    ObjectType fn="force-type" type="text/html"
    Service fn="service-j2ee" method=""
    </Object>
    and restart the server to see if this helps
    if not, you might have to edit the log level to fine within the magnus.conf file and restart the server and try it again. at least this time, you will get more detailed information as to what is going on.

Maybe you are looking for

  • HT204266 Can you remove money from a iTunes account and get Apple to send you cash in that amount?

    I really want to get rid of some money on my iTunes account because I do not buy items from the iTunes or App Stores. Is it possible for Apple to exchange that money into cash or a PayPal?

  • Best Quality Exporting From HDV to DVD

    I've searched on the web & gotten a few answers, but nothing seems to solve the situation. What I've tried. 1920x1080p MPEG2, Quality 5, Min, Target, Max All Set To 60.  Came out looking like crap when it was put on a dvd.  Noisy, over contrasted (co

  • Another User modified Table (ODBC -2039) - Sales order

    Via a button on sales order form I delete some of the order lines with oMatrix.DeleteRow(rowNr). It works fine but the DocTotal is not updated as it will be if I delete the row manually with the right-click Delete Row command. When saving the order v

  • Ipod always changing symbols

    Hi, If anyone reads this can you please help. For about a week now, my ipod is not working. When i plug it into my mac the charge battery symbol comes up and then when i plug it into a power source the unhappy ipod face comes up. I have tried to fix

  • My ipod is not turning on and it's fully charge????

    I was listening to music and it just stop playing music and started showing a sad face on the ipod then shut completely off and now its not turning on no matter what I hold down or push. Can someone tell me why and what I should do?? Please!?