SOLVED: Deployment from JDeveloper to OC4J and JBoss - Problem
[Logo]
ICEsoft.org Forums: ICEfaces, ICEmobile, ICEpdf
[Search] Search   [Recent Topics] Recent Topics   [Groups] Home Page | www.icefaces.org  [Register] Register  [Login] Login 
SOLVED: Deployment from JDeveloper to OC4J and JBoss - Problem  XML
Forum Index -> Tools
Author Message
kurzweil4

Joined: 26/03/2007 00:00:00
Messages: 35
Offline


This is related to my previous post:

http://www.icefaces.org/JForum/posts/list/5205.page

Using the web.xml file from http://support.icesoft.com/jive/entry.jspa?entryID=752&categoryID=80 ...deployment from Eclipse to JBoss and OC4J work and without any configuration needed to the OC4J server.

When deploying from JDeveloper on the other hand ...both of these do not work. When using the default web.xml, I cannot change tabs as before, but both JBoss and OC4J give the same error message. When using the specially configured web.xml from above, both of them fail.

Looking into the application log on the standalone OAS, it says that it is failing because 'departments' cannot be found in the Departments entity bean when resolving the EL expression DepartmentsBean.departments for my data table. Previously when I was using the data table with the default web.xml and the data table was not in a tab, I did not get this error. The data displayed as expected.

Currently, even though the project in Eclipse does not have any database connection defined, it does not error when I switch to the tab where the data table is located. It just displays the headers. I need to test what happens when I have an Entity bean defined in the project.

Any ideas on these issues?

Thanks,
Kurzweil4
frank.ye

Joined: 26/10/2004 00:00:00
Messages: 709
Offline


Without your web project and details, it is hard to guess...

But could you use the stand alone server comes with JDeveloper rather than the embedded one.

You could use the steps as follows:

http://www.oracle.com/technology/obe/obe1013jdev/deployment/deployment.htm

If it is still not working for you, please send a simple web project ...

[Email]
kurzweil4

Joined: 26/03/2007 00:00:00
Messages: 35
Offline


frank.ye wrote:
Without your web project and details, it is hard to guess...

But could you use the stand alone server comes with JDeveloper rather than the embedded one.

You could use the steps as follows:

http://www.oracle.com/technology/obe/obe1013jdev/deployment/deployment.htm

If it is still not working for you, please send a simple web project ...

 


Frank,

Thanks for your response. The link you gave is actually the document I was following for deployment. When I get home today, I will send you the simple project I am using in JDeveloper.

Kurzweil4

kurzweil4

Joined: 26/03/2007 00:00:00
Messages: 35
Offline



Frank,

I got it to work finally in the embedded OC4J server by removing the <distributable> tag from the web.xml.

When deployed though, it cannot resolve my EL expression DepartmentBean.departments. At this point I no longer beleive this to be related to ICEfaces. I think this is either related to my deployment descriptors or something being missing from the provided web.xml.

If you are still interested in helping I can send the files to you.

Thanks,
Kurzweil4
kurzweil4

Joined: 26/03/2007 00:00:00
Messages: 35
Offline



I discovered the problem. My Model project was using a JAR File deployment descriptor instead of an EJB Jar File deployment descriptor. Once I fixed this, it was smooth sailing.

The thing that really had me confused was the fact that it still worked in the embedded OC4J.

Kurzweil4
 
Forum Index -> Tools
Go to:   
Powered by JForum 2.1.7ice © JForum Team