JDeveloper 10.1.3 could not run Beans with embedded OC4J 10.1.3
Hi,
I have downloaded JDeveloper 10.1.3 distributed with full SDK and by creating just simple HTML page and running embedded OC4J 10.1.3 I get following msgs:
"Sep 5, 2005 3:13:53 PM com.evermind.server.ejb.EJBPackageDeployment isIIOPConfigured
INFO: Beans associated with application default will not be available via RMI/IIOP: GenerateIIOP system property=false, enableIIOP application setting=false, server.xml configured for IIOP=false"
(The same testing with JDeveloper 10.1.2 works fine)
What's going on?
Thanks for any information!
Saulius
A little more detail might get you some responses. Describe your project. What's the technology stack? (ADF BC?, Faces?, JSP?, Web App?, etc.). When you write about the project not opening in the WYSIWYG editor, are you talking about a JSP page, or some other component? If your page opens at all, describe the editor tabs you see.
There are some guidelines for migrating projects from EA to R3 in the Release Notes. You might find something there that is helpful.
Good luck.
Johnny Lee
Similar Messages
-
After downloading the mac os x 10.6.8 I can't open safari. It first told me that I could not run it with Safari 5.1 so I downloaded safari 6 because I had read that that would solve the problem. However I am still getting an error message. HELP!!
I see this on Apple's support page:
Available for: OS X Lion v10.7.5, OS X Lion Server v10.7.5, OS X Mountain Lion v10.8 and v10.8.1 -
LocalSessionFactoryBean - Could not instantiate bean class
Hello,
I am facing a problem with the instantiation of the LocaSessionFactoryBean in a sample Spring 3.0.4 - Hibernate 3.2.6, WebLogic 10.3.3 and Oracle 10g. I am run an web application using JDeveloper 11.1.1.3.0 with the integrated WebLogic Server 11gR1. Trying to make the existing web application that is currently running on Oracle Web Server to run on WebLogic.
I have gone through other LocalSessionFactoryBean related postings but could not find any solutions for my problem.
Here's the server.log during web application deployment and startup -
org.springframework.beans.factory.BeanCreationExce ption: Error creating bean with name 'pocDaoTarget' defined in class path resource [spring-chbs.xml]: Cannot resolve reference to bean 'sessionFactory' while setting bean property 'sessionFactory'; nested exception is org.springframework.beans.factory.BeanCreationExce ption: Error creating bean with name 'sessionFactory' defined in ServletContext resource [WEB-INF/xml/spring/spring-j2eeservices.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationExcepti on: Could not instantiate bean class [org.springframework.orm.hibernate3.LocalSessionFac toryBean]: Constructor threw exception; nested exception is java.lang.NoClassDefFoundError
at org.springframework.beans.factory.support.BeanDefi nitionValueResolver.resolveReference(BeanDefinitio nValueResolver.java:275)
Caused by: org.springframework.beans.factory.BeanCreationExce ption: Error creating bean with name 'sessionFactory' defined in ServletContext resource [WEB-INF/xml/spring/spring-j2eeservices.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationExcepti on: Could not instantiate bean class [org.springframework.orm.hibernate3.LocalSessionFac toryBean]: Constructor threw exception; nested exception is java.lang.NoClassDefFoundError
at org.springframework.beans.factory.support.Abstract AutowireCapableBeanFactory.instantiateBean(Abstrac tAutowireCapableBeanFactory.j
Caused by: org.springframework.beans.BeanInstantiationExcepti on: Could not instantiate bean class [org.springframework.orm.hibernate3.LocalSessionFac toryBean]: Constructor threw exception; nested exception is java.lang.NoClassDefFoundError
at org.springframework.beans.BeanUtils.instantiateCla ss(BeanUtils.java:115)
Caused by: java.lang.NoClassDefFoundError
at org.springframework.orm.hibernate3.LocalSessionFac toryBean.class$(LocalSessionFactoryBean.java:174)
(Note : I have verified that org.springframework.orm.hibernate3.LocalSessionFactoryBean.class exists in org.springframework.orm-3.0.4.RELEASE.jar)
Caused by: java.lang.ClassNotFoundException: org.hibernate.cfg.Configuration
at java.net.URLClassLoader$1.run(URLClassLoader.java: 202)
(Note : I have verified that org.hibrnate.cfg.Configuration.class exists in hibernate-3.2.6.ga.jar)
spring-chbs.xml:
Code:
<bean id="pocDaoTarget"
class="myproj.component.chbs.dao.PocDaoImpl">
<property name="sessionFactory">
<ref bean="sessionFactory"/>
</property>
</bean>
spring-j2eeservices.xml :
Code:
<!-- JNDI DataSource for J2EE environments -->
<bean id="dataSource" class="org.springframework.jndi.JndiObjectFactoryBean">
<property name="jndiName" value="java:comp/env/jdbc/J2EEDS"/>
</bean>
<bean id="sessionFactory"
class="org.springframework.orm.hibernate3.LocalSessionFactoryBean">
<property name="dataSource">
<ref bean="dataSource"/>
</property>
<property name="mappingJarLocations">
<list>
<value>WEB-INF/lib/hibernate-config.jar</value>
<!--value>classpath:hibernate-config.jar</value-->
</list>
</property>
<property name="hibernateProperties">
<props>
<prop key="session_factory_name">HibernateSessionFactory</prop>
<prop key="jndi.class">weblogic.jndi.WLInitialContextFactory</prop>
<prop key="hibernate.dialect">org.hibernate.dialect.Oracle10gDialect</prop>
<prop key="hibernate.show_sql">true</prop>
</props>
</property>
</bean>
Any help would be greatly appreciated.
ThanksHi Raphael,
Thanks for your response.
The last part of the console log output during run –
Error creating bean with name 'pocDaoTarget' defined in class path resource [spring-chbs.xml]: Cannot resolve reference to bean 'sessionFactory' while setting bean property 'sessionFactory'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory' defined in ServletContext resource [WEB-INF/xml/spring/spring-j2eeservices.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [org.springframework.orm.hibernate3.LocalSessionFactoryBean]: Constructor threw exception; nested exception is java.lang.NoClassDefFoundError
Servlet Path: C:\Documents and Settings\tariq.ahsan\Application Data\JDeveloper\system11.1.1.3.37.56.60\o.j2ee\drs\AppServerConversion\MaWebWebApp.warBegin Initialize Spring ApplicationContext for MA
End Initialize Spring ApplicationContext for MA
Servlet Path: C:\Documents and Settings\tariq.ahsan\Application Data\JDeveloper\system11.1.1.3.37.56.60\o.j2ee\drs\AppServerConversion\PaWebWebApp.warBegin Initialize Spring ApplicationContext for PA
End Initialize Spring ApplicationContext for PA
[10:35:57 AM] Application Redeployed Successfully.
[10:35:57 AM] The following URL context root(s) were defined and can be used as a starting point to test your application:
[10:35:57 AM] http://192.168.11.207:7101/MaWeb
[10:35:57 AM] http://192.168.11.207:7101/paweb
[10:35:57 AM] http://192.168.11.207:7101/CFMSWeb
[10:35:57 AM] Elapsed time for deployment: 28 seconds
[10:35:57 AM] ---- Deployment finished. ----
Run startup time: 28203 ms.
[Application AppServerConversion deployed to Server Instance IntegratedWebLogicServer]
Target URL -- http://127.0.0.1:7101/CFMSWeb/login.jsp
Is one of the above folder - C:\Documents and Settings\tariq.ahsan\Application Data\JDeveloper\system11.1.1.3.37.56.60\o.j2ee\drs\AppServerConversion\MaWebWebApp.war (MaWebWebApp.war is a folder) part of the IntegratedWebLogicServer deployment? Do you mean the spring and possibly the hibernate jars need to be in the WEB-INF/lib under the above folder path?
Thanks -
Javax.ejb.EJBException: Could not instantiate bean
Hi All,
I get the following exception when i run my EJB Client code.
Exception in thread "main" java.rmi.ServerException: RemoteException occurred in server thread; nested exception is:
java.rmi.ServerException: EJBException:; nested exception is:
javax.ejb.EJBException: Could not instantiate bean
at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:325)
at sun.rmi.transport.Transport$1.run(Transport.java:153)
at java.security.AccessController.doPrivileged(Native Method)
at sun.rmi.transport.Transport.serviceCall(Transport.java:149)
at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:460)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:701)
at java.lang.Thread.run(Thread.java:595)
at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRemoteCall.java:247)
at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:223)
at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:126)
at org.jboss.invocation.jrmp.server.JRMPInvoker_Stub.invoke(Unknown Source)
at org.jboss.invocation.jrmp.interfaces.JRMPInvokerProxy.invoke(JRMPInvokerProxy.java:118)
at org.jboss.invocation.InvokerInterceptor.invokeInvoker(InvokerInterceptor.java:227)
at org.jboss.invocation.InvokerInterceptor.invoke(InvokerInterceptor.java:167)
at org.jboss.proxy.TransactionInterceptor.invoke(TransactionInterceptor.java:46)
at org.jboss.proxy.SecurityInterceptor.invoke(SecurityInterceptor.java:55)
at org.jboss.proxy.ejb.HomeInterceptor.invoke(HomeInterceptor.java:169)
at org.jboss.proxy.ClientContainer.invoke(ClientContainer.java:86)
at $Proxy1.create(Unknown Source)
Caused by: javax.ejb.EJBException: Could not instantiate bean
at org.jboss.ejb.plugins.AbstractInstancePool.get(AbstractInstancePool.java:180)
at org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invokeHome(StatelessSessionInstanceInterceptor.java:78)
at org.jboss.ejb.plugins.AbstractInterceptor.invokeHome(AbstractInterceptor.java:90)
at org.jboss.ejb.plugins.CallValidationInterceptor.invokeHome(CallValidationInterceptor.java:41)
at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:109)
at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:300)
at org.jboss.ejb.plugins.TxInterceptorCMT.invokeHome(TxInterceptorCMT.java:146)
at org.jboss.ejb.plugins.SecurityInterceptor.invokeHome(SecurityInterceptor.java:116)
at org.jboss.ejb.plugins.LogInterceptor.invokeHome(LogInterceptor.java:121)
My Client Code is as follows:
package com.css.sample.client;
import com.css.sample.MyHome;
import com.css.sample.MyRemote;
import javax.naming.Context;
import javax.naming.InitialContext;
import javax.rmi.PortableRemoteObject;
public class MyClient {
/** Creates a new instance of MyClient */
public MyClient() { }
public static void main(String args[]) throws Exception {
Context ctx = new InitialContext();
Object objRef = ctx.lookup("MyBean");
MyHome home = (MyHome) PortableRemoteObject.narrow(objRef, MyHome.class);
MyRemote remote = home.create();
String name = remote.printName("Test");
System.out.println("Name : " + name);
ejb-jar.xml
<?xml version="1.0" encoding="UTF-8"?>
<ejb-jar version="2.1" xmlns="http://java.sun.com/xml/ns/j2ee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/ejb-jar_2_1.xsd">
<display-name>MySampleEjbBean</display-name>
<enterprise-beans>
<session>
<display-name>MyEjbBean</display-name>
<ejb-name>MyEjbBean</ejb-name>
<home>com.css.sample.MyHome</home>
<remote>com.css.sample.MyRemote</remote>
<ejb-class>com.css.sample.MyEjb</ejb-class>
<session-type>Stateless</session-type>
<transaction-type>Container</transaction-type>
</session>
</enterprise-beans>
<assembly-descriptor>
<container-transaction>
<method>
<ejb-name>MyEjbBean</ejb-name>
<method-name>*</method-name>
</method>
<trans-attribute>NotSupported</trans-attribute>
</container-transaction>
</assembly-descriptor>
</ejb-jar>
jboss.xml:
<?xml version="1.0" encoding="UTF-8"?>
<jboss>
<enterprise-beans>
<session>
<ejb-name>MyEjbBean</ejb-name>
<jndi-name>MyBean</jndi-name>
<configuration-name>Standard Stateless SessionBean</configuration-name>
</session>
</enterprise-beans>
</jboss>
I dont know where the problem occurs. Please help.There should be a 'caused by' entry in your stack.
If your ejbCreate() method is connecting to the DB and this error only occurs when the DB is down - what exactly is your question?
m -
I am unable to install itunes 10,5. I receive this message: There is a problem with this window installer package. A program required for this install to complete could not run. Contact your support personnel or package vendor. I am using window 7 ultimate 64 bits
There is a problem with the Window installer package. A program required for this intall to complete could not be run. Contact your support personnel or package venfor.
Perhaps let's first try updating your Apple Software Update.
Launch Apple Software Update ("Start > All Programs > Apple Software Update"). Does it launch and offer you a newer version of Apple Software Update? If so, choose to install just that update to Apple Software Update. (Deselect any other software offered at the same time.)
If the ASU update goes through okay, try another iTunes install. Does it go through without the errors this time? -
I want a solution to the problem I was having on Win 7 Pro Service Pack 1 in that links on an open Adobe Acrobat Pro 10.1.12 file will not open in my Firefox Browser 33.0.2. The Error I receive is "Acrobat could not run the web browser. Unknown Error. (123)"
Change browsers. See what happens.
Be well... -
Hi all,
I use Weblogic 6.1 SOAP
If any body know what does this mean and how this may be resolved please
help me
I try to send JavaBean class "A" which includes an array of JavaBean class
"B" which includes an array of string objects
from server side to the client.
class A {
B[] aBeans
setABeans(B[] aBeans) {}
getABeans() {}
class B {
String[] props;
setProps(String[] props) {}
getProps() {}
And only half of the method invocation is ok - data is transmitted by soap
and is displayed
at the client side in "verbose=true" mode and i see that data is received
completely but the client side JavaBean class "A"
was not initialized because the exception was thrown when soap trying to
instantiate JavaBean class "B":
SAXException: Could not instantiate bean: B
I looked at jdk API and the InstantiationException is thrown only if class
is an interface or an abstract class,
but class "B" is not abstract or interface, it is simple JavaBean class.
What is the trouble?
Help me plsHi, Pieter!
Thanks in advance, this solve a problem.
"Pieter Degraeuwe" <[email protected]> wrote in message
news:3be00299$[email protected]..
>
Hi!
I think I know the problem.
Does your JavaBean has a default constructor (a parameterlessconstructor).
>
Try it!
greetings
Pieter
"Michael T" <[email protected]> wrote:
Hi all,
I use Weblogic 6.1 SOAP
If any body know what does this mean and how this may be resolved please
help me
I try to send JavaBean class "A" which includes an array of JavaBean
class
"B" which includes an array of string objects
from server side to the client.
class A {
B[] aBeans
setABeans(B[] aBeans) {}
getABeans() {}
class B {
String[] props;
setProps(String[] props) {}
getProps() {}
And only half of the method invocation is ok - data is transmitted by
soap
and is displayed
at the client side in "verbose=true" mode and i see that data is received
completely but the client side JavaBean class "A"
was not initialized because the exception was thrown when soap trying
to
instantiate JavaBean class "B":
SAXException: Could not instantiate bean: B
I looked at jdk API and the InstantiationException is thrown only if
class
is an interface or an abstract class,
but class "B" is not abstract or interface, it is simple JavaBean class.
What is the trouble?
Help me pls -
Web links in .pdfs inoperable- "Acrob. could not run the browser"
I keep my Adobe Reader updated often, but I've been experiencing a severe inconsistency with the ability to open a (FFox) web page by clicking a link given by the author of any given .pdf., embedded in it. Sometimes it works and opens up the new FFox page OK. But maybe a little more than half the time I first get a security warning, "The document is trying to connect to (URL). If you trust this site, choose 'Allow'. If you do not trust this site, choose 'Block' ". So, I'll click 'allow' and then I get a window saying, "Acrobat could not run the web browser. Unknown error (740).
I've tried to find out more about an error 740, but there's no relation online between any error w/ that # and Adobe. It reads kind of contradictory anyway, since it says "unknown error" but then gives you an error #. Ideas, anyone? Thanks.
(Message was edited by: Victorious57)I'm having the same problem and have found a few suggestions from different places that may help.
1. Add the site / host to the trusted sites list in Internet explorer. E.G http://hostname or file://hostname or hostname.
2. In Adobe reader or Acrobat go to START>PREFERENCES>JAVA SCRIPT Untick 'enable Acrobat JavaScript'.
3. Create the documents from open office and use the export to PDF option.
The last option seemed to work when adding the hostname to the trusted sites list in IE 8 (IE 6 didn't work)
One thing I noticed when I created PDF's this way is the link was displayed as file://hostname/share/doc.pdf.
When I converted a document from MS Word 2007 and used Acrobat standard to convert the document the link was displayed as file://///host/share.doc.pdf.
I'm not sure why the extra //// were added but it seems that MS word puts the hyperlink in this format.
As I said creating the document in Open Office worked when I added the host in IE 8's trusted site list but this isn't acceptable for me due our SOE restrictions.
Our setup is as follows..
XP Pro SP2
Internet Explorer 6
Adobe Acrobat Standard 9.3 -
'iTunes could not run because it had detected a problem with your audio...
...configuration.'
I have just updated to the newest iTunes version from the latest version.
I have installed iTunes and when I click 'iTunes' to launch iTunes, it says this 'iTunes could not run because it had detected a problem with your audio configuration.'
I get the option to click 'OK' or 'Help'
When I click 'OK' the window closes and then nothing happens.
When I click 'Help' nothing happens.
Any advice??It's probably QuickTime 7.3 that is the problem. Uninstall it and install version 7.2 instead. http://www.apple.com/support/downloads/quicktime72forwindows.html
-
Itunes could not run because some of its required files are missing. please
After trying to run iTunes, I get the error message: "iTunes could not run because some of its required files are missing. please reinstall iTunes." It hasn't always done this, and I've had iTunes for years. Any ideas why it has just started now, and what I can do about it? Thanks
have you tried reinstalling?
-
hi
i am using developer9i. and created a report named emp.rep
but i could not run it. please tell me what can i do to run report
but i have experience developer6i.
thanks
mostafizThey'll probably know more about this application over here.
http://answers.microsoft.com/en-us/search/search?SearchTerm=math+input+panel&IsSuggestedTerm=false&CurrentScope.ForumName=&CurrentScope.Filter=&ContentTypeScope=#////1
Regards, Dave Patrick ....
Microsoft Certified Professional
Microsoft MVP [Windows]
Disclaimer: This posting is provided "AS IS" with no warranties or guarantees , and confers no rights. -
I've installed Reader 7.0.9 in order to read ebooks. When I try to activate the mobile device, reader responds with "Acrobat could not run the web browser. Unknown error. (0)". Is there a plug-in missing or corrupted control somewhere. Any suggestions. This is XP SP2 (and SP3) on a Dell Precision.
Any suggestions.Let me amend my comment. Reader 7 might have been tested with XP SP2,
but with all the changes in the OS due to security changes, OS changes
and browser changes, Reader 8.1.3 or Reader 9 would be a better match to
your software.
Mike -
Could not run the script. This command requires an active document.
Hi,
I'm receiving a confusing glitch running a batch process in
FW MX 2004.
I want to resize images in one folder and export them to
another. I step through the batch wizard and on commencement of the
batch receive an error:
quote:
Could not run the script. This command requires an active
document.
FW is telling me it can't run the commands on empty
documents, yet the batch is running on all images selected using
Add All during the batch wizard. Confusing. Similar batches have
worked fine in recent days.
Any ideas?
Thxtkatcher wrote:
> Thank you. Some of them had brackets and percentage
marks.
You are welcome.
E. Michael Brandt
www.divahtml.com
www.divahtml.com/products/scripts_dreamweaver_extensions.php
Standards-compliant scripts and Dreamweaver Extensions
www.valleywebdesigns.com/vwd_Vdw.asp
JustSo PictureWindow
JustSo PhotoAlbum, et alia -
Startup error message - Could not run this script because of a disk error.
I uninstalled Dates-to-iCal-Launcher and couldn't find any info about how to uninstall it online (just dragged the icon from Applications to the Trash). Now every time I start my iBook, I get an error message from Dates-to-iCal Launcher (there is an icon that looks like a scroll on the left):
Could not run this script because of a disk error.
-43
How do I get rid of this error message? It happens every time I turn on the computer. Thank you!thanks for the update.
there is no risk when changing settings in any OS user interface like System Preferences etc.
there could be some risk in manually deleting files from Library folders, which is done sometimes to uninstall applications.
keep in mind to regularly back up important files. -
Fireworks (cs3) could not run the script
When I choose in adobe dreamweaver: command->create web
photo album fireworks (fw) is launched. The problem is that when fw
is launched I got the following message: "Could not run the script.
The file was not found." So the result is a webpage without
pictures and thumbnails.
What can I do?
Thank you for your answer in advance,
sz.g.[AM] I wonder if this could be related to your InteliMac?
I'll try and repro the problem you are experiening.
Alan I do believe the problem is directly related to the
IntelMac issue with DW & FW having to run in Rosetta.
Unfortunatly the Adobe document FAQ Adobe Support for
Intel®-based Mac computers
http://www.adobe.com/products/pdfs/intelmacsupport.pdf#search=%22adobe%20studio%208%20not% 20supported%20intel%22.
in the section "Are there any known issues with running Adobe
Creative Suite 2, Studio 8, or After Effects 7.0 under Rosetta?"
doesn't say anything about the Web Photo Album command not working.
I upgraded to Studio 8 in mid August because when I upgraded
to an InteliMac I found that the FTP in my older DW MX application
would crash the application and obviously that would make working
on any websites sort of difficult. So I upgraded to Studio 8 and
everything was running fine (albeit slow at times) until about
three weeks ago now when a web site I was working on for a client
called for Web Photo Album and I discovered this problem.
It also turns out that I happen to like using the JustSo
Photo Album extension but it failed in the same way so it must call
on Fireworks in the same way that Web Photo Album does.
[AM] You could try this Slideshow Creator extension for
Fireworks:
Thanks for that tip. Is the Slideshow Creator your creation?
Unfortunalty I needed a "Photo Album" and not a slide show so I
ended up using Galerie (
http://www.myriad-online.com/en/products/galerie.htm)
but I like the idea of a slideshow too.
I downloaded and tested your Slideshow Creator Extension and
ran a quick test and I like it but for one thing. The album page it
created had all the thumbnail images bunched up in the upper left
hand corner. I don't know whether that was something I did or
failed to do in setting up the output or is it another InteliMac
with Fireworks? I'll have to take another look at it this weekend
when I have some extra time.
Thanks again for the tip.
Maybe you are looking for
-
Integrating an Exisitng multiple page PDF file into a report and outputting as one PDF
Post Author: sditmer CA Forum: Crystal Reports We would like to be able to PDF files into a report based on a file name contained in the detail of the report. For Example, I have some data in our database relating to a specifc PDF file including th
-
Using dbms_session.reset_package inside procedure
How to use the line dbms_session.reset_package in a procedure. I used execute immediate 'dbms_session.reset_package' , but it is not executing. How to execute it Plese help me
-
Changing Freight condition in PO
Dear experts, I have created a PO with basic price and a freight condition at item level, in the frieght condition I have entered a value. And then the PO is released, GRN also done. At this moment, I tried to change the frieght value, but could not
-
No delete options of an app folder in iCloud Drive
I've install recently a File Manager app (File Hub), that created a folder in my iCloud Drive. I've deleted the app but the folder remains in iCloud Drive and the bin stays grey when the folder is selected. Any ideas?
-
Since updating to Iso 6 my iMessages are showing as coming from my email address, anyone know how to fix this?