| Author |
Message |
|
|
Post subject:
Posted: May 18, 2005 - 05:25 PM
|
|

Joined: May 18, 2005
Posts: 2
|
|
|
|
|
 |
|
|
Post subject:
Posted: May 18, 2005 - 05:51 PM
|
|

Joined: May 18, 2005
Posts: 2
|
|
|
|
|
 |
|
|
Post subject:
Posted: Nov 16, 2006 - 07:04 PM
|
|

Joined: Nov 15, 2006
Posts: 8
|
|
| Is there an example ANYWHERE that shows how to create WebApplication in MyEclipse 5 and deploy it to OC4J 10.1.2?? |
|
|
| |
|
|
|
 |
|
|
Post subject:
Posted: Nov 16, 2006 - 07:34 PM
|
|
Moderator


Joined: Jan 06, 2004
Posts: 23307
|
|
dshitzu1,
There is no document that covers specific deployment to OC4J, the steps of:
1) Creating web application
2) Creating deployment
3) Running application
are all exactly the same for all the app servers. The only different is that you need to setup the Oracle connector to launch OC4J. Other than that, all the other documentation is identical across all the app servers (you use the same deployment tool, same run/stop/restart tool, and so on).
Is there a specific problem you have been having setting up OC4J? |
_________________ Riyad
MyEclipse Support
|
| |
|
|
|
 |
|
|
Post subject:
Posted: Nov 16, 2006 - 07:44 PM
|
|

Joined: Nov 15, 2006
Posts: 8
|
|
| Thanks for all of your help. I believe the problem is with OC4J v.10.1.2 . I think creating a build.xml file may be the way to go since there are no examples of deploying to this particular version of the app server from MyEclipse 5.0 and nothing I've tried over the last 2 days works. |
|
|
| |
|
|
|
 |
|
|
Post subject:
Posted: Nov 16, 2006 - 08:01 PM
|
|
Moderator


Joined: Jan 06, 2004
Posts: 23307
|
|
Well I haven't really helped much yet... can you tell me exactly the problems you are having with deployment? There are only two ways to deploy, packaged (WAR) or exploded (just a direct copy of your WebRoot over). We had some JSP-debugging questions earlier on in the year so I played with 10.1.3 to make sure I could get it working and didn't have any problems with the out of the box copy, but I didn't happen to spend time with 10.1.2, so I wonder what the problem might be.
Is it a startup problem maybe? (errors during app server startup) |
_________________ Riyad
MyEclipse Support
|
| |
|
|
|
 |
|
|
Post subject:
Posted: Nov 16, 2006 - 11:41 PM
|
|

Joined: Nov 15, 2006
Posts: 8
|
|
Riyad,
I've created a build.xml file that deploys to OC4J v.10.1.2 without complaint. The ear file is exploded and the directory structure appears to be correct. HOWEVER (and I don't know if anyone here can help with this), the browser URL continually comes up with a 404 message.
Here are my entries in the revelant OC4J config. files:
server.xml = <application name="CMS" path="../applications/CMS.ear" auto-start="true" />
http-web-site.xml = <application name="CMS" path="../applications/CMS.ear" auto-start="true" />
The directory structure for the application is:
C:\oc4j\j2ee\home\applications (root)
\CMS
..\CMS-web
CMS-web\index.html
CMS-web\doc
CMS-web\META-INF
CMS-web\WEB-INF
CMS\META-INF
The URLs I've tried are:
localhost:8888\CMS\
localhost:8888\CMS-web\
etc. etc.
All return 404 not found....
There are welcome files defined in the web.xml file. I'm at a loss but maybe it will be better tomorrow.
Thanks! |
|
|
| |
|
|
|
 |
|
|
Post subject:
Posted: Nov 17, 2006 - 01:59 AM
|
|
Moderator


Joined: Jan 06, 2004
Posts: 23307
|
|
| Normally most Java app servers run on 8080, did you setup OC4J to run on 8888? (Or does it by default? I'm not terribly familiar with it) |
_________________ Riyad
MyEclipse Support
|
| |
|
|
|
 |
|
|
Post subject:
Posted: Nov 17, 2006 - 04:59 PM
|
|

Joined: Nov 15, 2006
Posts: 8
|
|
Riyad,
I got it - the port was not used. On another note, I've imported 2 projects into MyEclipse 5.0 . There are only source files - no compiled classes. I cannot get the 'build' or 'build all' or 'build automatically' to work on these apps. What do I need to set to get these items to work like they work with projects I create? |
|
|
| |
|
|
|
 |
|
|
Post subject:
Posted: Nov 17, 2006 - 05:05 PM
|
|
Moderator


Joined: Jan 06, 2004
Posts: 23307
|
|
| I need more information as to what "cannot get it to work" means... are there compilation errors?If you have build path errors in the problem view, what do they say? If you imported these projects from an older install, you might have an older JRE referenced on your build path, that no longer exists in this new install or something like that which will stop the entire project from building. |
_________________ Riyad
MyEclipse Support
|
| |
|
|
|
 |
|
|