File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JBoss/WildFly and the fly likes problem in migrationg from jboss EAP 5 to jboss AS 5 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "problem in migrationg from jboss EAP 5 to jboss AS 5" Watch "problem in migrationg from jboss EAP 5 to jboss AS 5" New topic
Author

problem in migrationg from jboss EAP 5 to jboss AS 5

chain singh
Ranch Hand

Joined: Feb 28, 2012
Posts: 117
HELLO

I MIGRATE A WEB APPLICATION FROM JBOSS EAP 5 TO JBOSS 5 BY COPY WAR DIRECTORY FROM EAP TO AS

I got no error in deployment

but when i run that application on browser i get a blank page please suggest me the steps to successfully deploy application

thanks

Chain singh
Jaikiran Pai
Marshal

Joined: Jul 20, 2005
Posts: 10288
    
168

chain singh wrote:HELLO

I MIGRATE A WEB APPLICATION FROM JBOSS EAP 5 TO JBOSS 5 BY COPY WAR DIRECTORY FROM EAP TO AS

Please do not post in all caps. It's considered shouting and is rude to do.

As for your question - I'm not sure why you want to migrate from EAP 5 (the paid and the better version) to JBoss AS5 community edition. Usually it's the other way around.
chain singh wrote:
but when i run that application on browser i get a blank page please suggest me the steps to successfully deploy application

There can be any number of reasons and it's hard to guess. What URL are you using? Are you accessing it from the same machine as the server?


[My Blog] [JavaRanch Journal]
chain singh
Ranch Hand

Joined: Feb 28, 2012
Posts: 117
thanks for reply

actully my application is running on differenet machine so i want to take a copy of that app on my local machine but i have jboss AS 5.

welcome page is index.jsp
context set as /app_name

but that index.jsp is in a folder name 'apps' with WEB-INF so i have to give url like "http://localhost:8080/app_name/apps"

WEB-INF have web.xml and i copy a file jboss-web.xml with data

<?xml version="1.0" encoding="UTF-8"?>
<jboss-web>
/app_name</jboss-web>

and copy META-INF with WEB-INF and 'app' folder which have my index.jsp file.

regards

chain singh

Peter Johnson
author
Bartender

Joined: May 14, 2008
Posts: 5845
    
    7

but that index.jsp is in a folder name 'apps' with WEB-INF

This sound you your file is WEB-INF/apps/index.jsp
You cannot do that because files in WEB-INF are not accessible via a URL. If that is not what you have, please list the contents of your WAR file (run "jar -tl xxx.war" and post the output).


JBoss In Action
chain singh
Ranch Hand

Joined: Feb 28, 2012
Posts: 117
I just copy my application folder from jboss EAP 5 on Linux OS and paste in jboss5/server/defualt/deploy directory on Window OS.
So i dont use .war file i just add .war to the name of folder.

my web application have two folder WEB-INF and Employee.
Employee have index.jsp file
So, URL for index.jsp is "http://localhost:8080/EmployeeTrack/Employee/index.jsp".

WEB-INF have web.xml file with welcome-list tag have /index.jsp.


thanks

CS
Jaikiran Pai
Marshal

Joined: Jul 20, 2005
Posts: 10288
    
168

chain singh wrote:I just copy my application folder from jboss EAP 5 on Linux OS and paste in jboss5/server/defualt/deploy directory on Window OS.
So i dont use .war file i just add .war to the name of folder.

That still qualifies as a war file, albeit in exploded form.

chain singh wrote:
my web application have two folder WEB-INF and Employee.
Employee have index.jsp file
So, URL for index.jsp is "http://localhost:8080/EmployeeTrack/Employee/index.jsp".

WEB-INF have web.xml file with welcome-list tag have /index.jsp.

Then the welcome-list element is incorrect then. It should be Employee/index.jsp, if that's where the jsp is located.
chain singh
Ranch Hand

Joined: Feb 28, 2012
Posts: 117
ok thanks

have i also made a jboss-web.xml file with data like "<jboss-web>
/EmployeeTrack
</jboss-web>"

AND


META-INF directory with WEB-INF and Employee directory.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: problem in migrationg from jboss EAP 5 to jboss AS 5