9iAS and OC4J versions
Hi all,
I am currently running 9iAS 9.0.3 (Portal 9.0.2.6) with OC4J 9.0.3. I have a requirement for OC4J 9.0.2 (an Oracle portlet that doesn't run on 9.0.3 yet!). So now I have the following questions:
- Can I keep my current 9iAS installation as is, but in addition have a OC4J 9.0.2 instance?
- Can I upgrade only my OC4J to 9.0.4?
Regards & TIA
Anton.
I have encountered a similar problem. This is how I worked around it.
I have Forms applications for which I installed 9iAS 902 into one Oracle home on my server. I also have JDeveloper 9032 applications which I was told require 9iAS 903 to run. So I installed a second instance of 9iAS (903) into a separate Oracle home. The later version becomes the Enterprise Manager and must be left as such.
Similar Messages
-
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 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,
RonaldRonald,
yes, Oracle JDeveloper versions are in synch with OC4J and 10.1.3 JDeveloper uses OC4J 10.1.3.
Frank -
Does anybody know if Oracle BPEL process manager is available for OC4J Version 11g. If it is not the case, does anybody know if a new version will be available for OC4J V11 and when ? Where can I find the road map ?
Thanks for your answer. YvanI do not known anything about release dates on SOA 11g.
Currently Oracle support the AS servers:
- Oracle AS
- WebSphere
- JBoss
- BEA Weblogic
http://download.oracle.com/docs/cd/E10291_01/doc.1013/e10538/toc.htm
Regards,
Marc
http://orasoa.blogspot.com -
Hi,
Can someone please tell me what license is required to deploy only oc4j on a server?
And the 9iAS HTTP Apache server?
Thanks
nullOC4J and the Oracle HTTP Server are components of the Oracle9iAS standard edition (and also in the Enterprise Edition) so it sounds as if you'd just need to purchase the Standard Edition.
If you're interested in checking the pricing for licensing 9iAS Standard Edition, the online Oracle store will lead you through some questions and will take you to the pricing details.
cheers!
-steve- -
We are installing 9i on Compaq Tru64, and I noticed that it is a version behind. Does anyone know if OC4J can be used with this version?
Dont know 100% for sure.
But i think, you have to recompile your
Forms & Reports Application on your UNIX server.
Its not portable through platforms as Java.
But correct me if i'm wrong.
Also just one remark to avoid confusion:
There is no Database Server included in
9i Application Server EE
- Stefan -
Difference between 9iAS Release 1 version 1.0.2.2.1 and Oracle 10gR2
Everyone,
We are facing very critical issue while upgrading from Oracle form 6i to Oracle 10g. Earlier the forms were deployed on web using 9iAS Release 1 version 1.0.2.2.1 which now migrated to Oracle 10gR2 Suite (Forms - 9.0.4.0.19 and Application Server is 10.1.2.0.2 and database is moved to Rack). We were not having issue during testing but as soon as we migrated in Production we are having issues starting from Stale connections to Http 500 errors, FRM-92000 and droped or lost network connectivity errors. Still unable to pin point the root cause. We increased the Memeory, JVMs, heap size, connection etc as per Oracle Support recomendations. Recently by looking in one of the article refered by Oracle and found that there are some recomendation for form upgrade from 6i to 10g. All of the recomendations are mainly to avoid network traffic. Now I have been assigned the case study to address this issue in the light of our current application system, which is mainly front end oracle forms, Userexit (C and Perl C for business logic) and Oracle database. This Userexit is residing at the application Server and used mainly for lots of business functionalities.
My question here is what makes this new upgrade different than previous application server. Is there any documentation available that refers how the calls are being received, routed and transmitted from Oracle Application Servers to client, database. I would really appreciate the inputs from all of you. Please feel free to ask if there is any question. Thanks.Can you show the apache logs, oc4j_bi_forms_defaultisland log form opmn/logs, and other logs with the exact string of error?
This could be related to a lot of things.
Regards. -
JSP 2.0 and OC4J 9iAS 9.0.4
Does anyone know if the next release of 9iAS, specifically OC4J 9.0.4 support the JSP 2.0 standard? If not when will JSP 2.0 be supported in OC4J?
Laith E.H.OC4J 9iAS 9.0.4 will not support JSP 2.0.
The release following that will support JSP 2.0.
A developer preview version is planned to be released
some time in next couple of months.
-Prasad -
I'm planning to migrate applications running on OC4J to 1.6 java version, but OC4J server is currently using 1.5 according the logs. When I try to start newly compiled web service app I'm getting standard java version incompatibility error (java.lang.UnsupportedClassVersionError: Bad version number in .class file).
Is it possible and how to set OC4J to use 1.6 java to solve this error cause?
OC4J version 10.1.3.1
Thanks for the helpHi,
You can check the Metalink Note no 396096.1
Or follow the below link,it would be helpful
http://www.club-oracle.com/forums/upgrade-jdk-oc4j-for-oracle-application-server-10-1-3-a-t1392/
Regards
Fabian -
Seeing SampleWebProvider with jpdk v2 and oc4j
I am trying to test the new jpdk version 2 with oc4j (9.0.2.0.0). I have successfully installed Oracle DB 9.0.1.1.1 and Oracle 9iAS 1.0.2.2.2a with patch 2.1.7.1.1 and 81715. The version of Portal is 3.0.9.8.2 and Oc4J is the Developers version 9.0.2.0.0. All on windows 2000.
I have successfully tested the Provider test page which is going through the OC4J port. However, when I register it in Portal I can see the provider under the edit provider list but not when I attempt to view the repository or add a portlet.
I also noticed that there is a file jpdk_dependencies.zip in the portal download area and this description indicates that this is needed when using OC4J standalone version 2. Unfortunately, it is a set of files and no indications where they should be placed.
Any help would be appreciated.Larry,
try to resolve prohttp.jar from your patch file folder (<ias_home>\portal30\patch-3-0-9-8-2\p30982\lib) with "loadjava -resolve -user portal30/portal30 prohttp.jar "
You should set the oracle_home to point to your 9iDB home. At least this helped me. -
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 -
On my desktop PC I have JDevelop9i RC, which reports its OC4J version as Oracle9iAS (2.0.0.0) Containers for J2EE.
On my server PC I have the developer's preview of OC4J Version 2 as downloaded from the Oracle site, which reports its version as
Oracle9iAS (9.0.2.0.0) Containers for J2EE.
I have been experimenting with deploying session beans as Web Services. I can register such a bean with my local SOAP server and access it, but JDev will not allow me to register with the remote SOAP server. It just doesn't give me the option in the dropdown menu, even though the SOAP connection is created and tested in JDev.
Another problem is that I have been experimenting with accessing my EJBs using HTTP tunneling. Again, I can get this to work against my local OC4J, but when I run it against the remote one it reports that it can't find the EJB's home interface. The EJB works perfectly well without the HTTP tunneling.
I'm very confused. I would expect the version of OC4J on the remote machine to be the latest version but the JDev one seems better ... which should I be using?The release 2 of Oracle9iAS is versioned as 9.0.2 so OC4J is versioned as 9.0.2. OC4J developers preview 9.0.2 is a little newer version than the embedded version in JDev (2.0.0). We will shortly come with a new and updated version of OC4J Developers preview.
For JDeveloper 9i problems please post your questions in JDeveloper 9i forum and you will get better and faster response. Following is the link for JDev 9i forum http://forums.oracle.com/forums/forum.jsp?id=513211 .
hope this helps
regards
Debu panda
Oracle -
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? -
9IAS and Java 1.4.2_06
Hi all,
I have installed 9IAS and Java 1.4.2 on Solaris 8, as per Oracle's own documentation I have changed the JDK to point to my Java installation in /usr/j2se in order for out Java based application to work, however the EM process will now not start it time's out and aborts. This means I am unable to access the website I just recive an Internal Server error.
Any ideas on how to get Oracle to use the new Java?
Thanks.Hi,
I had this same issue when upgrading from 9.0.4 to 10.1.2.2. Someone else in the forum had a solution. You could probably search for it. However, here are the details:
The fillowing are the notes from Oracle:
Applies to:
Oracle Discoverer - Version: 10.1.2.2 to 10.1.2.3 This problem can occur on any platform.
Symptoms
The user interaction performance using Discoverer Plus 10g (10.1.2) when configured with Sun java plug-in (JRE/JVM) 1.6.0_03 or higher.
Every action in Discoverer takes longer. For example:
displaying the Create/Open Workbook wizard
displaying the Help > About window.
The problem does not exist with JInitiator or with Sun plugin 1.4 or 1.5 and earlier versions of 1.6
JRE 1.6.0 - works correctly, runs with 1.5.0-like speed JRE 1.6.0_01 - works correctly JRE 1.6.0_02 - works correctly JRE 1.6.0_03 - here the problem is observed for the first time. The issue is then observed in all subsequent versions (e.g., _04, _05, _06, _07 and the new_10)
The problem does not exist when an entry for the Discoverer server exists in the local hosts file on the client PC (C:\WINDOWS\system32\drivers\etc\hosts).
Cause
Sun's Java plug-in performs reverse DNS lookups when connecting to the Application Server. This can be observed with a network sniffer trace (Wire Shark).
There is a change in the DNS handling in Sun plug-in 1.6.0_03 and higher.
This issue may be more prevalent if you are accessing Discoverer Plus via a firewall, proxy server
Solution
To implement the solution, please execute the following steps:
Ensure the external facing IP address of the Discoverer server has a reverse DNS entry in the DNS server.
For example:
nslookup <IP address> must resolve to the <machinename.domainname>
and
nslookup <machinename.domainname> must resolve to <IP address>
An alternative or temporary solution would be to add an entry to the local PC host file as described above.
Hope this helps,
Nancy -
After successful installation of 9ias release 2 version 9.0.2.0.1
Hi
After successful installation of 9ias release 2 version 9.0.2.0.1 in the service following services are missing (oracle_home9ias122http_server , form server and reportserver ) which has to be present as per old version installation but in new version(9.0.2.0.1) it is not there is anyone has any idea regarding this what one should do to get those sevices ready.
regards
nasar ziaSince you don't mention operating system, we assume you use Microsoft Windows something-or-other.
In which case, you open a command prompt, enter
sqlplus /nolog
connect / as sysdba
startup
exit
and post the entire console session.
(Replacing the 'something-or-other' with 'version and service pack' in our public knowledge base would be very useful as well.)
Maybe you are looking for
-
Elite plus account online says my phone number is not in the system...
Hello, I have been a member for many years, and have pretty much always used the same phone number when accessing the myrewardzone.com and at the store to apply the purchase. However recently, when accessing the mybestbuy website, there is a notice
-
TS3173 I am trying to install Windows 7 Ultimate on my iMac 21.5 inch
i could install it till the stage where windows registers its components for the first time and later on i'm not able to see anything its showing black screen and I'm not upgrading windows im installing a fresh copy. following is my system configurat
-
How do I get separate iCloud accounts for each family members device and still share iTunes?
how do I get separate iCloud's for each family members iPhone, iPod and iPad and still share iTunes?
-
The XML file for my show can be found here... http://www.lockepick.com/podcast/lockepod/lockepod.xml Things have been fine for the fist few weeks but my last two episodes have not updated - also, my iTunes link does not even seem to open so I am wond
-
QT7 and MPEG2 playback component - upgrade or purchase?
I upgraded to QT 7 but now I can't play back MPEG2. Is there an upgrade for the MPEG2 playback component or do I have to purchase a new copy?