JDeveloper and OC4J runtime exception

Hi, I am running trying to launch a simple jsp file but it fails everytime and spits out the following:
Error: cannot read: java.lang.Enum
05/12/27 10:30:54 Error initializing server: Error initializing ejb-modules: Error loading module file:/C:/jdevstudiobase1013/jdev/system/oracle.j2ee.10.1.3.34.12/embedded-oc4j/applications/admin_ejb.jar: Syntax error in source or compilation failed in: C:\jdevstudiobase1013\jdev\system\oracle.j2ee.10.1.3.34.12\embedded-oc4j\application-deployments\admin_ejb\generated\MBeanServerEjbRemote_StatefulSessionBeanWrapper0.java
Error: cannot read: java.lang.Enum
05/12/27 10:30:54 Application: system is in state FAILED
05/12/27 10:30:54 Fatal error: server exiting
Process exited with exit code 1.
Can anyone provide some insight? Thanks very much in advance.
-Wes

cannot read: java.lang.Enum
Enum is a JDK 1.5 class.
Specify J2SE Version as 1.5

Similar Messages

  • What are difficulty between oc4j included Jdeveloper and oc4j extended?

    Hi all!
    I don't know why i deploy application on oc4j included Jdeveloper when it's run ok but i deploy on Oc4j extented when it's run not ok.
    I want to know the difficulty between oc4j included Jdeveloper and oc4j extended? How to config oc4j extented?
    i've tried deploy appliction on oc4j extended. i get this error:
    JNLPException[category: Download Error : Exception: java.io.IOException: HTTP response 404 : LaunchDesc: null ]
         at com.sun.javaws.cache.DownloadProtocol.doDownload(Unknown Source)
         at com.sun.javaws.cache.DownloadProtocol.getDownloadSize(Unknown Source)
         at com.sun.javaws.LaunchDownload.downloadJarFiles(Unknown Source)
         at com.sun.javaws.LaunchDownload.downloadEagerorAll(Unknown Source)
         at com.sun.javaws.Launcher.downloadResources(Unknown Source)
         at com.sun.javaws.Launcher.handleApplicationDesc(Unknown Source)
         at com.sun.javaws.Launcher.handleLaunchFile(Unknown Source)
         at com.sun.javaws.Launcher.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
    thank a lot!

    The main difference is the version of OC4J. They do not often match. If the extended OC4J is a later version than the one packaged in JDeveloper, then applications developed in JDeveloper are not guaranteed to work in extended OC4J. It is always recommended
    to develop and test against the OC4J in JDeveloper.
    If you are using JDeveloper 10.1.2 make sure to use the right admin.jar (always point the path to the one in OC4J install ) in your OC4J connection.
    In future release Oracle is trying to address such problems by allowing user to configure JDeveloper against a particular version of OC4J.

  • Axis, JDeveloper and OC4J

    Does any one know if it is possible to create a web service with AXIS and secure it using the OC4J web service security implementation of ws-security? JDeveloper will be the development environment.

    Hi,
    Yes, WebLogic is going to replace OC4J.
    No, JDeveloper won't get deprecated.
    This was officially announced and documented by Oracle not so long ago, see:
    http://www.oracle.com/products/middleware/docs/oracle-middleware-strategy-briefing-072008.pdf
    http://www.oracle.com/products/middleware/bea.html
    http://blogs.oracle.com/devtools/2008/08/announcing_oracle_weblogic_ser.html
    Regards,
    ~ Simon

  • Procedure for hot deploying EJBs using  Jdeveloper and OC4J comtainer

    i am using JDeveloper , please any one help me out in hot deploying EJBs. what is the procedure if i want to hot deploy EJBS

    1) You have to start OC4J with higher Java heap size e.g. java -Xms100m -Xmx150m -jar oc4j.jar
    2) The RMI port by default used is 23791 and configurable by modifying config/rmi.xml.
    regards
    Debu

  • OC4J and BC4J Runtime installation for Solaris (Unix)!

    We have successfully installed, configured and deployed JSP/BC4J apps using OC4J and BC4J on Windows NT/2000. However, our production environment is Solaris.
    We have installed OC4J on Solaris, with some difficulties. How/where is the installation process for the BC4J Runtime Installation? The download (bc4j-ojsp.zip) for this utility is Windows only.
    Is there a method or process to install BC4J Runtime on Unix? If not, we are stuck.
    We cannot use JServ (servlet limitations) and refuse to use OSE (to many issues).
    Any guidance or assistance would be greatly appreciated...
    JDeveloper 3.2.3
    iAS 1.0.2.2
    Solaris 8
    JDK 1.2.2_08 (Unix)
    Dean

    Stephan,
    I have located multiple "connections" files and will remove all but the default located in the OC4J classes directory. We have been developing with JDeveloper and it often created multiple connections files that appear when you "jar" project components.
    We also installed JDK1.2.2_008 and are using this. However, when I use the classpath method of starting OC4J, I receive numerous errors. Using the jar method, everything works, with the exception of BC4J apps. I'll have to look into the errors more.
    Thanks for the response. At least I know one other person (organization) is using this successfully. I hope to join the "success" crowd tomorrow!
    Thanks again...
    Dean

  • Using Struts with JDeveloper, BC4J and OC4J 9.0.2

    Is it feasible to use Struts with JDeveloper 9.0.2, BC4J 9.0.2 and OC4J 9.0.2? We have an application that uses the BC4J JBO tags in version 9.0.2. We wish to use Struts and we want to retain the use of the JBO tags. Is there a way to do this without upgrading to 9.0.3?

    Here are two related questions:
    Can we upgrade to oracle9iAS 9.0.3 yet still use JDeveloper 9.0.2 and BC4J/JBO 9.0.2?
    Can we upgrade to JDeveloper 9.0.3 and BC4J/JBO 9.0.3 yet still deploy to oracle9iAS 9.0.2?

  • Cannot test portlet using JDeveloper and built-in OC4J

    Hi everybody,
    I'm not trying to sound stupid but my problem seems to be very basic but i cannot solve it. I'm new to Jdeveloper. Here's my problem.
    I'm using Jdeveloper 10.1.2.1.0 (build 1913) to develope a portlet. I deployed it to the built-in Standalone OC4J of Jdeveloper and got the following messages:
    ---- Deployment started. ---- Sep 6, 2006 7:46:11 PM
    Target platform is Standalone OC4J (AppServerConnection2).
    Wrote WAR file to D:\jdev1012\jdev\mywork\Uma_OWHO\Uma\deploy\UmaPortlets.war
    Wrote EAR file to D:\jdev1012\jdev\mywork\Uma_OWHO\Uma\deploy\UmaPortlets.ear
    Invoking OC4J admin tool...
    D:\jdev1012\jdk\jre\bin\javaw.exe -jar D:\jdev1012\j2ee\home\admin.jar ormi://cuongttlabtop/ admin **** -deploy -file D:\jdev1012\jdev\mywork\Uma_OWHO\Uma\deploy\UmaPortlets.ear -deploymentName UmaPortlets
    checkIsLocalHost() error: cuongttlabtop/: cuongttlabtop/
    Uploading file D:\jdev1012\jdev\mywork\Uma_OWHO\Uma\deploy\UmaPortlets.ear to oc4j server side
    Notification ==> Application Deployer for UmaPortlets STARTS [ 2006-09-06T19:46:17.406ICT ]
    Notification ==> Undeploy previous deployment
    Notification ==> Copy the archive to D:\jdev1012\j2ee\home\applications\UmaPortlets.ear
    Notification ==> Unpack UmaPortlets.ear begins...
    Notification ==> Unpack UmaPortlets.ear ends...
    Notification ==> Initialize UmaPortlets.ear begins...
    Notification ==> Initialize UmaPortlets.ear ends...
    Notification ==> Initialize UmaPortlets begins...
    Notification ==> Initialize UmaPortlets ends...
    Notification ==> Application Deployer for UmaPortlets COMPLETES [ 2006-09-06T19:46:19.000ICT ]
    Exit status of OC4J admin tool (-deploy): 0
    D:\jdev1012\jdk\jre\bin\javaw.exe -jar D:\jdev1012\j2ee\home\admin.jar ormi://cuongttlabtop/ admin **** -bindWebApp UmaPortlets UmaPortlets http-web-site /UmaPortlets
    checkIsLocalHost() error: cuongttlabtop/: cuongttlabtop/
    Exit status of OC4J admin tool (-bindWebApp): 0
    Use the following context root(s) to test your web application(s):
    http://cuongttlabtop:8888/UmaPortlets
    Elapsed time for deployment: 12 seconds
    ---- Deployment finished. ---- Sep 6, 2006 7:46:23 PM
    When i tried to access the URL: http://cuongttlabtop:8888/UmaPortlets by Mozilla Firefox nothing came up instead : 403 Forbidden Directory browsing not allowed
    Please help me everybody!!!!! It's urgent. My boss will check my work on this Friday :((.

    I tried to access both URL you gave me and got the error:
    404 Not Found
    Resource /UmaPortlets/providers not found on this server
    I really dont understand what's going wrong here?? I followed exactly what Oracle tutorials tell me :(

  • Oc4j, jdeveloper and apache, port conflicts ?

    Hi all,
    I am currently in the process of deploying my first EJB on Oracle 9i AS.
    I have successfully installed oc4j.zip and set the login credentials.
    I am however, unable to connect to the index page of the OC4J server from any computer besides the server.
    My URL is http://prams_nt_03:6666 and this works on the server. The reason for it being 6666 is that I have changed it to avoid conflicts with the oc4j server. I have changed it in the default-web-site.xml file. There is a danger of conflict because I want to access the OC4J server behind Apache.
    I have also created the oc4j.conf file, which httpd.conf looks at :
    <IfModule mod_proxy.c>
    ProxyRequests On
    ProxyPass /servlet/ http://prams_nt_03:6666/servlet/
    ProxyPassReverse /servlet/ http://prams_nt_03:6666/servlet/
    </IfModule>
    Does anyone have any suggestions as to what else I need to do ? Maybe I need to specify somewhere else that I am using port 6666 ?
    Also, another point is that I am unable to deploy from JDeveloper, the connection test to the application server fails with the error message : Disconnected.
    My server is Win NT sp6, my AS is 1.0.2.2.2a.
    Thanks in advance for any help you can give.

    Hiya Debu,
    1) Are OHS and OC4J running on the same server ?
    - Yes, along with 9i DB rel 1
    2) What ports are used by OHS and OC4J ?
    The ports are 8888 for both, I have removed the setting for the OC4j Server, which means the OC4J server is not working behind Apache.
    3) Can you go to OC4J's homepage directly i.e. http://myhost:6666 ?
    I cannot go using hostname, but can using I.P address
    4) Can you go to OHS (aka Apache)'s homepage directly ?
    Yes, using I.P and hostname
    5) Do you get any errors during startup of OC4J or OHS ? You will an error port already in use error when a port is used by someone else ?
    None that I can think of.
    I think you hit the nail on the head when you said it could be a DNS problem ! I will configure that now. Thanks for your help, you're a star !

  • JDeveloper version numbers and OC4J version numbers

    Hi all,
    I know that the version numbers of the Oracle application server and the OC4J plugin are the same the default, but how is that with JDeveloper compared to the OC4J version of the embedded JDeveloper application server.
    Is it the same always and if not where can I find a mapping table. E.g. is for JDeveloper version 10.1.3 also the OC4J container version 10.1.3 etc.
    regards,
    Ronald

    Ronald,
    yes, Oracle JDeveloper versions are in synch with OC4J and 10.1.3 JDeveloper uses OC4J 10.1.3.
    Frank

  • Compile and Runtime Exceptions

    Hi all,
    What are Compile-time Exceptions and Runtime Exceptions.
    and by the way,
    What are Checked Exceptions and Unchecked Exceptions
    Thanks in advance

    http://java.sun.com/docs/books/tutorial/essential/exceptions/index.html
    There isn't really such a thing as a "compile time excepitons." "Exceptions" are when something goes wrong at runtime. You can, of course, get compilation errors because your code doesn't follow Java's syntactical rules, but we don't call those exceptions.
    And of course, if your compiler is written in Java, then compile time for you is runtime for the compiler. (The compiler is a Java program that's running.) So it could throw an exception. But that's not your code.

  • JDBC Problem with Oracle 8.1.7. and OC4J  Version 2

    I use the following connection statement with Oracle 8.1.7. and JDeveloper 3 and Apache Server. It works fine.
    String user = "scott/tiger";
    DriverManager.registerDriver(new oracle.jdbc.driver.OracleDriver());
    Connection conn = DriverManager.getConnection("jdbc:oracle:oci8:"+user+"@RDL");
    The same program does not obtain the connection with JDeveloper 9i, OC4J Version 2 and Oracle 8.1.7. I do not receive any error message, no exception is thrown.
    Please help me.

    Hi Avi,
    I had already tried the thin Diriver but after yout help I try again.
    With this thin driver, I received a SQLException which helps me.
    As usual, there were a lot of different problems. The main one was that my default configuration do not use the jdbc/lib817 main jdbc/lib. There is a classe12.jar in these libs that are apparently different.
    Finally, I obtain the connection with the "thin" driver.
    Thank you very much Avi!
    Reni

  • JDeveloper and XML Publisher with EBS ?

    Hi All,
    Can anyone clarify my doubts ?
    I am new to Java and i have some experience in XMLP, but i saw in the User guide the Java API's, how to and where to run those API's.
    And is JDeveloper used with XMLP to run Java API's ?, if yes can u pls explain how to start working on that and what is the relation between JDeveloper and XML Publisher in EBS.
    I really appriciate your early reply.
    Thanks in advance.

    XML Publisher ships with 2 XDK parsers a 9i version for backward compatibility and 10g version - you can switch at runtim using the properties. However, you have to make sure that the XML Publisher versions of the libraries are used and not the ones coming with i.e. jdeveloper version or oc4j version that you are using. You should use the version shipped with XML Publisher, because these versions are thoroughly tested with XML Publisher.
    See the deployment notes in the install document:
    Oracle OC4J Deployment Notes
    The version of the XML Parser shipped with Oracle OC4J is incompatible with XML Publisher. When you create an XML Publisher application for OC4J you need to configure the system to use the XML Publisher version of the XML Parser. This can be accomplished by setting an orion-web.xml configuration file with the following content:
    <?xml version = '1.0' encoding = 'windows-1252'?>
    <orion-web-app>
    <web-app-class-loader search-local-classes-first="true" />
    </orion-web-app>

  • Error logs for Jdeveloper embedded oc4j

    Hi guys,
    I am currently using the oc4j embedded within jdeveloper (9.0.2) to develop and obviously to debug some code.
    When there is an exception in the init() method, there seems to be no record of it in the logs, the only log I found are in jdev/system/oc4j-config/log, specifically the server.log
    I have found ArrayOutOfBounds and other unchecked exceptions, but not the Servlet or IO exceptions to be logged there. Anyone have any clues how I can set it to log those as well? or does it not do that?
    Thanks lots,
    H2O

    I think that i they works is lucky, because your two modules get managed through the same class loader in your standalone oc4j
    Correct if I'm wrong, but you should not trust using local references if they aren't implemented in the same instance of the classloader, which you can control

  • My outputtext component is NULL and giving nullpointer exception

    I am using jDeveloper 11.1.1.3g.
    I am having a strange problem. I have a jsp in which i have few outputtext components and a submit button.
    When i click on submit button i am calling a method in my backing bean.
    In this method, i am trying to populate the outputtext component with some value, but i am getting null Pointer exception.
    i am refering to my outputtext component in my backing bean calculate() method like below....
    private RichOutputText otEdPgEmpCode;
    public void calculate(){
    this.otEdPgEmpCode.setValue("emp0001"); - - - I AM GETTING NULL POINTER EXCEPTION HERE.
    public void setOtEdPgEmpCode(RichOutputText ot1) {
         this.otEdPgEmpCode = ot1;
    public RichOutputText getOtEdPgEmpCode() {
         return otEdPgEmpCode;
    I FOUND THAT otEdPgEmpCode IS ACTUALLY NULL , AND HENCE THIS EXCEPTION IS COMMING.
    PLS HELP ME ON THIS.
    Zee
    Edited by: 804703 on Dec 22, 2010 11:31 PM

    I found the problem and it was in teh jsp code.
    There was no "backingBeanScope" mentioned in the jsp binding attribute. When i provided my component with it, then it worked properly.
    Thanks a lot for taking your time to help me on this.
    Zee

  • How do I use toplink with Spring 2.5 and oc4j 10.1.2?

    Our existing java server environment is limited to Oc4j 10.1.2 due to being tied to Oracle Forms.
    We've added a java 6 jdk to the machine and linked it to a specific container to examine some newer java features since this version of the application server only comes with java 1.4.2.
    Does anyone have some configuration steps for getting toplink essentials and spring to work with oc4j 10.1.2? Even with oc4j 10.1.3 in jdev 10.1.3.4 I'm having problems trying to figure out what needs placed in the persistence.xml file verses what needs placed in the spring-beans.xml file.
    I'm trying to either use the J2SE option of keeping the connection information in the persistence.xml file (which doesn't work) - it tries to connect to //localhost:1521/orcl. If I try to define a datasource within Spring's xml file, I'm not sure how to tie that into the persistence.xml file. Could I use the oc4j 10.1.2 container provided datasource?
    It seems like I'm at a loss as to how to get this working. If you'd like me to post some files, I can do that later on today when I get back to work.
    The configuration that I'm trying to do is based on a modified workspace from an ibm developerworks article with websphere, mixing in the ideas from a JPA with Spring 2.0 article from Mike Keith and Rod Johnson. (That article goes pretty far in the configuration information but never provided an example to download...)
    Any help appreciated.
    Eric (hbg, pa)

    I'm still at a loss with this. Rather than worry about the older version, for now, I just want to see JPA in action. So, I've decided on just running the Spring 2.5.6 petclinic example out of the samples folder. When I try to do this, after only tweaking the web.xml to use the applicationContext-jpa.xml file, the application does not initialize properly. Here's the stack trace I get:
    Target URL -- http://192.168.0.2:8988/petclinic/index.jsp
    09/05/11 23:26:05 Oracle Containers for J2EE 10g (10.1.3.4.0)  initialized
    WARNING: Code-source C:\javalib\spring-2.5.6\samples\petclinic\war\WEB-INF\lib\connector.jar (from WEB-INF/lib/ directory in C:\javalib\spring-2.5.6\samples\petclinic\war\WEB-INF\lib) has the same filename but is not identical to /C:/jdev10134/j2ee/home/lib/connector.jar (from <code-source> (ignore manifest Class-Path) in META-INF/boot.xml in C:\jdev10134\j2ee\home\oc4j.jar). If it contains different versions of the same classes, it will be masked as the latter is already visible in the search path of loader current-workspace-app.web.petclinic:0.0.0.
    WARNING: Code-source C:\javalib\spring-2.5.6\samples\petclinic\war\WEB-INF\lib\jta.jar (from WEB-INF/lib/ directory in C:\javalib\spring-2.5.6\samples\petclinic\war\WEB-INF\lib) has the same filename but is not identical to /C:/jdev10134/j2ee/home/lib/jta.jar (from <code-source> (ignore manifest Class-Path) in META-INF/boot.xml in C:\jdev10134\j2ee\home\oc4j.jar). If it contains different versions of the same classes, it will be masked as the latter is already visible in the search path of loader current-workspace-app.web.petclinic:0.0.0.
    WARNING: Code-source C:\javalib\spring-2.5.6\samples\petclinic\war\WEB-INF\lib\persistence.jar (from WEB-INF/lib/ directory in C:\javalib\spring-2.5.6\samples\petclinic\war\WEB-INF\lib) has the same filename but is not identical to /C:/jdev10134/j2ee/home/lib/persistence.jar (from <code-source> (ignore manifest Class-Path) in META-INF/boot.xml in C:\jdev10134\j2ee\home\oc4j.jar). If it contains different versions of the same classes, it will be masked as the latter is already visible in the search path of loader current-workspace-app.web.petclinic:0.0.0.
    WARNING: Code-source C:\javalib\spring-2.5.6\samples\petclinic\war\WEB-INF\lib\toplink-essentials.jar (from WEB-INF/lib/ directory in C:\javalib\spring-2.5.6\samples\petclinic\war\WEB-INF\lib) has the same filename but is not identical to /C:/jdev10134/toplink/jlib/toplink-essentials.jar (from <code-source> in /C:/jdev10134/jdev/system/oracle.j2ee.10.1.3.42.70/embedded-oc4j/config/server.xml). If it contains different versions of the same classes, it will be masked as the latter is already visible in the search path of loader current-workspace-app.web.petclinic:0.0.0.
    09/05/11 23:26:24 log4j: Parsing for [root] with value=[INFO, stdout].
    09/05/11 23:26:24 log4j: Level token is [INFO].
    09/05/11 23:26:24 log4j: Category root set to INFO
    09/05/11 23:26:24 log4j: Parsing appender named "stdout".
    09/05/11 23:26:24 log4j: Parsing layout options for "stdout".
    09/05/11 23:26:24 log4j: Setting property [conversionPattern] to [%d %p [%c] - <%m>%n].
    09/05/11 23:26:24 log4j: End of parsing for "stdout".
    09/05/11 23:26:24 log4j: Parsed "stdout" options.
    09/05/11 23:26:24 log4j: Parsing for [org.springframework.samples.petclinic.aspects] with value=[DEBUG].
    09/05/11 23:26:24 log4j: Level token is [DEBUG].
    09/05/11 23:26:24 log4j: Category org.springframework.samples.petclinic.aspects set to DEBUG
    09/05/11 23:26:24 log4j: Handling log4j.additivity.org.springframework.samples.petclinic.aspects=[null]
    09/05/11 23:26:24 log4j: Finished configuring.
    09/05/11 23:26:24 log4j: Reading configuration from URL file:/C:/javalib/spring-2.5.6/samples/petclinic/war/WEB-INF/classes/log4j.properties
    09/05/11 23:26:24 log4j: Parsing for [root] with value=[INFO, stdout].
    09/05/11 23:26:24 log4j: Level token is [INFO].
    09/05/11 23:26:24 log4j: Category root set to INFO
    09/05/11 23:26:24 log4j: Parsing appender named "stdout".
    09/05/11 23:26:24 log4j: Parsing layout options for "stdout".
    09/05/11 23:26:24 log4j: Setting property [conversionPattern] to [%d %p [%c] - <%m>%n].
    09/05/11 23:26:24 log4j: End of parsing for "stdout".
    09/05/11 23:26:24 log4j: Parsed "stdout" options.
    09/05/11 23:26:24 log4j: Parsing for [org.springframework.samples.petclinic.aspects] with value=[DEBUG].
    09/05/11 23:26:24 log4j: Level token is [DEBUG].
    09/05/11 23:26:24 log4j: Category org.springframework.samples.petclinic.aspects set to DEBUG
    09/05/11 23:26:24 log4j: Handling log4j.additivity.org.springframework.samples.petclinic.aspects=[null]
    09/05/11 23:26:24 log4j: Finished configuring.
    2009-05-11 23:26:24,593 INFO [org.springframework.web.context.ContextLoader] - <Root WebApplicationContext: initialization started>
    2009-05-11 23:26:24,687 INFO [org.springframework.web.context.support.XmlWebApplicationContext] - <Refreshing org.springframework.web.context.support.XmlWebApplicationContext@eeb406: display name [Root WebApplicationContext]; startup date [Mon May 11 23:26:24 EDT 2009]; root of context hierarchy>
    2009-05-11 23:26:24,828 INFO [org.springframework.beans.factory.xml.XmlBeanDefinitionReader] - <Loading XML bean definitions from ServletContext resource [WEB-INF/applicationContext-jpa.xml]>
    2009-05-11 23:26:25,281 INFO [org.springframework.web.context.support.XmlWebApplicationContext] - <Bean factory for application context [org.springframework.web.context.support.XmlWebApplicationContext@eeb406]: org.springframework.beans.factory.support.DefaultListableBeanFactory@1da817b>
    2009-05-11 23:26:25,734 INFO [org.springframework.beans.factory.config.PropertyPlaceholderConfigurer] - <Loading properties file from class path resource [jdbc.properties]>
    2009-05-11 23:26:25,796 INFO [org.springframework.context.weaving.DefaultContextLoadTimeWeaver] - <Determined server-specific load-time weaver: org.springframework.instrument.classloading.oc4j.OC4JLoadTimeWeaver>
    2009-05-11 23:26:28,296 INFO [org.springframework.web.context.support.XmlWebApplicationContext] - <Bean 'org.springframework.orm.jpa.vendor.TopLinkJpaVendorAdapter#c25ae3' is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)>
    2009-05-11 23:26:28,359 INFO [org.springframework.web.context.support.XmlWebApplicationContext] - <Bean 'dataSource' is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)>
    2009-05-11 23:26:28,437 INFO [org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean] - <Building JPA container EntityManagerFactory for persistence unit 'PetClinic'>
    2009-05-11 23:26:28,468 INFO [org.springframework.web.context.support.XmlWebApplicationContext] - <Bean 'entityManagerFactory' is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)>
    2009-05-11 23:26:28,562 INFO [org.springframework.beans.factory.support.DefaultListableBeanFactory] - <Pre-instantiating singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@1da817b: defining beans [org.springframework.context.weaving.AspectJWeavingEnabler#0,org.springframework.context.config.internalBeanConfigurerAspect,loadTimeWeaver,org.springframework.beans.factory.config.PropertyPlaceholderConfigurer#0,dataSource,entityManagerFactory,transactionManager,org.springframework.context.annotation.internalPersistenceAnnotationProcessor,org.springframework.context.annotation.internalCommonAnnotationProcessor,org.springframework.context.annotation.internalAutowiredAnnotationProcessor,org.springframework.context.annotation.internalRequiredAnnotationProcessor,org.springframework.transaction.config.internalTransactionAspect,org.springframework.samples.petclinic.aspects.UsageLogAspect#0,org.springframework.dao.annotation.PersistenceExceptionTranslationPostProcessor#0,clinic]; root of factory hierarchy>
    2009-05-11 23:26:29,671 INFO [org.springframework.web.context.ContextLoader] - <Root WebApplicationContext: initialization completed in 5078 ms>
    2009-05-11 23:26:29,734 INFO [org.springframework.web.servlet.DispatcherServlet] - <FrameworkServlet 'petclinic': initialization started>
    2009-05-11 23:26:29,734 INFO [org.springframework.web.context.support.XmlWebApplicationContext] - <Refreshing org.springframework.web.context.support.XmlWebApplicationContext@c00e55: display name [WebApplicationContext for namespace 'petclinic-servlet']; startup date [Mon May 11 23:26:29 EDT 2009]; parent: org.springframework.web.context.support.XmlWebApplicationContext@eeb406>
    2009-05-11 23:26:29,734 INFO [org.springframework.beans.factory.xml.XmlBeanDefinitionReader] - <Loading XML bean definitions from ServletContext resource [WEB-INF/petclinic-servlet.xml]>
    2009-05-11 23:26:30,171 INFO [org.springframework.web.context.support.XmlWebApplicationContext] - <Bean factory for application context [org.springframework.web.context.support.XmlWebApplicationContext@c00e55]: org.springframework.beans.factory.support.DefaultListableBeanFactory@1c5543b>
    2009-05-11 23:26:30,375 INFO [org.springframework.beans.factory.support.DefaultListableBeanFactory] - <Pre-instantiating singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@1c5543b: defining beans [addOwnerForm,addPetForm,addVisitForm,clinicController,editOwnerForm,editPetForm,findOwnersForm,org.springframework.context.annotation.internalPersistenceAnnotationProcessor,org.springframework.context.annotation.internalCommonAnnotationProcessor,org.springframework.context.annotation.internalAutowiredAnnotationProcessor,org.springframework.context.annotation.internalRequiredAnnotationProcessor,org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandlerAdapter#0,org.springframework.web.servlet.handler.SimpleMappingExceptionResolver#0,org.springframework.web.servlet.view.InternalResourceViewResolver#0,messageSource]; parent: org.springframework.beans.factory.support.DefaultListableBeanFactory@1da817b>
    2009-05-11 23:26:31,828 INFO [org.springframework.web.servlet.DispatcherServlet] - <FrameworkServlet 'petclinic': initialization completed in 2094 ms>
    May 11, 2009 11:26:58 PM oracle.toplink.essentials.session.file:/C:/javalib/spring-2.5.6/samples/petclinic/war/WEB-INF/classes/-PetClinic.transaction
    WARNING: PersistenceUnitInfo PetClinic has transactionType RESOURCE_LOCAL and therefore jtaDataSource will be ignored
    May 11, 2009 11:26:58 PM oracle.toplink.essentials.session.file:/C:/javalib/spring-2.5.6/samples/petclinic/war/WEB-INF/classes/-PetClinic
    INFO: TopLink, version: Oracle TopLink Essentials - 2.0.1 (Build b09d-fcs (12/06/2007))
    May 11, 2009 11:26:58 PM oracle.toplink.essentials.session.file:/C:/javalib/spring-2.5.6/samples/petclinic/war/WEB-INF/classes/-PetClinic
    INFO: Server: unknown
    May 11, 2009 11:26:58 PM oracle.toplink.essentials.session.file:/C:/javalib/spring-2.5.6/samples/petclinic/war/WEB-INF/classes/-PetClinic.connection
    CONFIG: connecting(DatabaseLogin(
            platform=>EssentialsHSQLPlatformWithNativeSequence
            user name=> ""
            connector=>JNDIConnector datasource name=>null
    May 11, 2009 11:27:03 PM oracle.toplink.essentials.session.file:/C:/javalib/spring-2.5.6/samples/petclinic/war/WEB-INF/classes/-PetClinic
    SEVERE:
    Local Exception Stack:
    Exception [TOPLINK-4002] (Oracle TopLink Essentials - 2.0.1 (Build b09d-fcs (12/06/2007))): oracle.toplink.essentials.exceptions.DatabaseException
    Internal Exception: java.sql.SQLException: Io exception: The Network Adapter could not establish the connection
    Error Code: 17002
            at oracle.toplink.essentials.exceptions.DatabaseException.sqlException(DatabaseException.java:305)
            at oracle.toplink.essentials.jndi.JNDIConnector.connect(JNDIConnector.java:150)
            at oracle.toplink.essentials.sessions.DatasourceLogin.connectToDatasource(DatasourceLogin.java:184)
            at oracle.toplink.essentials.internal.databaseaccess.DatasourceAccessor.connect(DatasourceAccessor.java:233)
            at oracle.toplink.essentials.internal.databaseaccess.DatabaseAccessor.connect(DatabaseAccessor.java:242)
            at oracle.toplink.essentials.internal.databaseaccess.DatasourceAccessor.connect(DatasourceAccessor.java:309)
            at oracle.toplink.essentials.threetier.ConnectionPool.buildConnection(ConnectionPool.java:117)
            at oracle.toplink.essentials.threetier.ExternalConnectionPool.startUp(ExternalConnectionPool.java:135)
            at oracle.toplink.essentials.threetier.ServerSession.connect(ServerSession.java:451)
            at oracle.toplink.essentials.internal.sessions.DatabaseSessionImpl.login(DatabaseSessionImpl.java:616)
            at oracle.toplink.essentials.ejb.cmp3.EntityManagerFactoryProvider.login(EntityManagerFactoryProvider.java:282)
            at oracle.toplink.essentials.internal.ejb.cmp3.EntityManagerSetupImpl.deploy(EntityManagerSetupImpl.java:229)
            at oracle.toplink.essentials.internal.ejb.cmp3.base.EntityManagerFactoryImpl.getServerSession(EntityManagerFactoryImpl.java:93)
            at oracle.toplink.essentials.internal.ejb.cmp3.base.EntityManagerFactoryImpl.createEntityManagerImpl(EntityManagerFactoryImpl.java:126)
            at oracle.toplink.essentials.internal.ejb.cmp3.base.EntityManagerFactoryImpl.createEntityManagerImpl(EntityManagerFactoryImpl.java:120)
            at oracle.toplink.essentials.internal.ejb.cmp3.EntityManagerFactoryImpl.createEntityManager(EntityManagerFactoryImpl.java:91)
            at org.springframework.orm.jpa.JpaTransactionManager.createEntityManagerForTransaction(JpaTransactionManager.java:392)
            at org.springframework.orm.jpa.JpaTransactionManager.doBegin(JpaTransactionManager.java:320)
            at org.springframework.transaction.support.AbstractPlatformTransactionManager.getTransaction(AbstractPlatformTransactionManager.java:374)
            at org.springframework.transaction.interceptor.TransactionAspectSupport.createTransactionIfNecessary(TransactionAspectSupport.java:263)
            at org.springframework.transaction.interceptor.TransactionAspectSupport.createTransactionIfNecessary(TransactionAspectSupport.java:220)
            at org.springframework.transaction.aspectj.AbstractTransactionAspect.ajc$before$org_springframework_transaction_aspectj_AbstractTransactionAspect$1$2a73e96c(AbstractTransactionAspect.aj:63)
            at org.springframework.samples.petclinic.jpa.EntityManagerClinic.getVets(EntityManagerClinic.java:39)
            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:585)
            at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307)
            at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
            at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
            at org.springframework.dao.support.PersistenceExceptionTranslationInterceptor.invoke(PersistenceExceptionTranslationInterceptor.java:138)
            at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
            at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
            at $Proxy19.getVets(Unknown Source)
            at org.springframework.samples.petclinic.web.ClinicController.vetsHandler(ClinicController.java:53)
            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:585)
            at org.springframework.web.bind.annotation.support.HandlerMethodInvoker.doInvokeMethod(HandlerMethodInvoker.java:421)
            at org.springframework.web.bind.annotation.support.HandlerMethodInvoker.invokeHandlerMethod(HandlerMethodInvoker.java:136)
            at org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandlerAdapter.invokeHandlerMethod(AnnotationMethodHandlerAdapter.java:326)
            at org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandlerAdapter.handle(AnnotationMethodHandlerAdapter.java:313)
            at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:875)
            at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:807)
            at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:571)
            at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:501)
            at javax.servlet.http.HttpServlet.service(HttpServlet.java:743)
            at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
            at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:713)
            at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
            at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871)
            at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453)
            at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:221)
            at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:122)
            at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:111)
            at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
            at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:234)
            at oracle.oc4j.network.ServerSocketAcceptHandler.access$700(ServerSocketAcceptHandler.java:29)
            at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:879)
            at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
            at java.lang.Thread.run(Thread.java:595)
    Caused by: java.sql.SQLException: Io exception: The Network Adapter could not establish the connection
            at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:138)
            at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:175)
            at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:287)
            at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:328)
            at oracle.jdbc.driver.PhysicalConnection.<init>(PhysicalConnection.java:430)
            at oracle.jdbc.driver.T4CConnection.<init>(T4CConnection.java:151)
            at oracle.jdbc.driver.T4CDriverExtension.getConnection(T4CDriverExtension.java:32)
            at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:608)
            at oracle.jdbc.pool.OracleDataSource.getConnection(OracleDataSource.java:218)
            at oracle.jdbc.pool.OracleConnectionPoolDataSource.getPhysicalConnection(OracleConnectionPoolDataSource.java:114)
            at oracle.jdbc.pool.OracleConnectionPoolDataSource.getPooledConnection(OracleConnectionPoolDataSource.java:77)
            at oracle.jdbc.pool.OracleImplicitConnectionCache.makeCacheConnection(OracleImplicitConnectionCache.java:1361)
            at oracle.jdbc.pool.OracleImplicitConnectionCache.getCacheConnection(OracleImplicitConnectionCache.java:441)
            at oracle.jdbc.pool.OracleImplicitConnectionCache.getConnection(OracleImplicitConnectionCache.java:336)
            at oracle.jdbc.pool.OracleDataSource.getConnection(OracleDataSource.java:286)
            at oracle.jdbc.pool.OracleDataSource.getConnection(OracleDataSource.java:179)
            at oracle.jdbc.pool.OracleDataSource.getConnection(OracleDataSource.java:159)
            at oracle.oc4j.sql.DataSourceConnectionPoolDataSource.getPooledConnection(DataSourceConnectionPoolDataSource.java:57)
            at oracle.oc4j.sql.xa.EmulatedXADataSource.getXAConnection(EmulatedXADataSource.java:92)
            at oracle.oc4j.sql.spi.ManagedConnectionFactoryImpl.createXAConnection(ManagedConnectionFactoryImpl.java:211)
            at oracle.oc4j.sql.spi.ManagedConnectionFactoryImpl.createManagedConnection(ManagedConnectionFactoryImpl.java:170)
            at com.evermind.server.connector.ApplicationConnectionManager.createManagedConnection(ApplicationConnectionManager.java:1398)
            at oracle.j2ee.connector.ConnectionPoolImpl.createManagedConnectionFromFactory(ConnectionPoolImpl.java:327)
            at oracle.j2ee.connector.ConnectionPoolImpl.access$800(ConnectionPoolImpl.java:98)
            at oracle.j2ee.connector.ConnectionPoolImpl$NonePoolingScheme.getManagedConnection(ConnectionPoolImpl.java:1211)
            at oracle.j2ee.connector.ConnectionPoolImpl.getManagedConnection(ConnectionPoolImpl.java:785)
            at oracle.oc4j.sql.ConnectionPoolImpl.getManagedConnection(ConnectionPoolImpl.java:45)
            at com.evermind.server.connector.ApplicationConnectionManager.getConnectionFromPool(ApplicationConnectionManager.java:1596)
            at com.evermind.server.connector.ApplicationConnectionManager.acquireConnectionContext(ApplicationConnectionManager.java:1541)
            at com.evermind.server.connector.ApplicationConnectionManager.allocateConnection(ApplicationConnectionManager.java:1486)
            at oracle.j2ee.connector.OracleConnectionManager.unprivileged_allocateConnection(OracleConnectionManager.java:238)
            at oracle.j2ee.connector.OracleConnectionManager.allocateConnection(OracleConnectionManager.java:192)
            at oracle.oc4j.sql.ManagedDataSource.getConnection(ManagedDataSource.java:272)
            at oracle.oc4j.sql.ManagedDataSource.getConnection(ManagedDataSource.java:200)
            at oracle.oc4j.sql.ManagedDataSource.getConnection(ManagedDataSource.java:142)
            at oracle.oc4j.sql.ManagedDataSource.getConnection(ManagedDataSource.java:127)
            at oracle.toplink.essentials.jndi.JNDIConnector.connect(JNDIConnector.java:145)
            ... 60 moreAny ideas? I'd really like to see JPA, Spring and oc4j working together?
    Thanks,
    Eric

Maybe you are looking for

  • Getting itune purchases on to ipod touch

    Hi heres my poser. I originally set up my ipod touch om my works pc and purchase few things of itunes store ...no problems. I know want to use the pc at home. I thought i registered the device on my home pc. when I know bring up itunes i get the libr

  • InfoView not defaulting print settings from Crystal Reports XI

    I have a form/report created from Crystal Reports XI published to InfoView that has the print settings set for the manual tray when printed. When running the report in InfoView, it does not default to the manual tray when printing. I am publishing di

  • Lvc_s_layo

    hi all, I am using lvc_s_layo for alv. I just want to display text in total columns, else the graph is not coming for the total row.... how can i do this ? regards Jose

  • HT2242 Is it possible to keep the local country but have it display in my language?

    Is it possible to keep the local country but have it display in my language? For example I live in Sweden but am English so would like to have the local setting still for Sweden but all text displayed as English.

  • To keep query in buffer cache

    i want to ask how to keep a query in buffer cache always? a query which runs frequently in a database will always stay in buffer cache due to LRU. LRU will not allow that query to flush out form buffer cache as it is running frequently.but if i want