[program-java] Thanks for this list

  • From: "Jeffrey Turner" <jt.chess@xxxxxxxxxxx>
  • To: <program-java@xxxxxxxxxxxxx>
  • Date: Mon, 12 Jan 2009 15:45:15 -0500

Jim and Anna,

I want to thank you both for keeping this list alive. Although there aren't'
a lot of contributors at this point, I, for one, am encouraged by the
progress Anna is making, and the help Jim is providing. I am working my way
through "Thinking with Java" and "Teach Yourself Java in 24 Hours", and hope
to tap into the know-how available here, and it is very encouraging to see
someone forging ahead.

Thanks,
Jeffrey 


-----Original Message-----
From: program-java-bounce@xxxxxxxxxxxxx
[mailto:program-java-bounce@xxxxxxxxxxxxx] On Behalf Of Corbett, James
Sent: Monday, January 12, 2009 3:30 PM
To: program-java@xxxxxxxxxxxxx
Subject: [program-java] Re: WAR file


Anna:

Can you locate the folder myWebApp?

j 

-----Original Message-----
From: program-java-bounce@xxxxxxxxxxxxx
[mailto:program-java-bounce@xxxxxxxxxxxxx] On Behalf Of Anna Giller
Sent: January 12, 2009 15:19
To: program-java@xxxxxxxxxxxxx
Subject: [program-java] Re: WAR file

Jim:

I registered Glassfish with Eclipse using Eclipse Help.

.WAR file is not in APPLICATION folder nor anywhere else, I searched my
full harddrive.

How then Glassfish is able to execute my project?
Right now I have Eclipse closed and Glassfish running.
I open IE and go to http://localhost:8080/MyWebApp/ The browser
correctly displays the first page of the project.
Where Glassfish finds the project if .WAR file doesn't exist?

Thank you very much,
Anna

-----Original Message-----
From: program-java-bounce@xxxxxxxxxxxxx
[mailto:program-java-bounce@xxxxxxxxxxxxx] On Behalf Of Corbett, James
Sent: Monday, January 12, 2009 2:20 PM
To: program-java@xxxxxxxxxxxxx
Subject: [program-java] Re: WAR file

Anna:

By any chance did you incorporate your Glass Fish server into Eclipse
and or did you use the WTP plug in (Web Tools Platform)...

Your structure looks similar to my own to a degree.... Have you checked
out the application folder?

Jim  

-----Original Message-----
From: program-java-bounce@xxxxxxxxxxxxx
[mailto:program-java-bounce@xxxxxxxxxxxxx] On Behalf Of Anna Giller
Sent: January 12, 2009 14:08
To: program-java@xxxxxxxxxxxxx
Subject: [program-java] Re: WAR file

Jim:

My server is structured as follows:
C:\Sun\AppServer\domains\domain1\
Inside /domain1/ there are the following 14 items:
Addons
Applications
Autodeploy
Bin
Config
Docroot
Generated
Imq
java-web-start
jbi
lib
logs
session-store
master-password

If I could find .WAR file I would be able to deploy the application
manually by moving .WAR file to AUTODEPLOY folder.
But there is no .WAR file.

Thank you,
Anna 


-----Original Message-----
From: program-java-bounce@xxxxxxxxxxxxx
[mailto:program-java-bounce@xxxxxxxxxxxxx] On Behalf Of Corbett, James
Sent: Monday, January 12, 2009 10:52 AM
To: program-java@xxxxxxxxxxxxx
Subject: [program-java] Re: WAR file

What was your GlassFish folder structure...

j 

-----Original Message-----
From: program-java-bounce@xxxxxxxxxxxxx
[mailto:program-java-bounce@xxxxxxxxxxxxx] On Behalf Of Anna Giller
Sent: January 12, 2009 10:29
To: program-java@xxxxxxxxxxxxx
Subject: [program-java] Re: WAR file

Jim:

I'm not sure what your question is.
I can open my localhost site in the browser and it says that the server
is running.

Thanks,
Anna


-----Original Message-----
From: program-java-bounce@xxxxxxxxxxxxx
[mailto:program-java-bounce@xxxxxxxxxxxxx] On Behalf Of Corbett, James
Sent: Monday, January 12, 2009 9:47 AM
To: program-java@xxxxxxxxxxxxx
Subject: [program-java] Re: WAR file

Anna:

In second thought, perhaps not.... The server might be a Process but
this is getting off topic.

What shows up in the web browser that might indicate a source?

Jim  

-----Original Message-----
From: program-java-bounce@xxxxxxxxxxxxx
[mailto:program-java-bounce@xxxxxxxxxxxxx] On Behalf Of Anna Giller
Sent: January 12, 2009 09:41
To: program-java@xxxxxxxxxxxxx
Subject: [program-java] Re: WAR file

Hi Jim!

I did what you suggested.
When I start the server it is not shown under Task Manager.
Should it be?

Thanks,
Anna

-----Original Message-----
From: program-java-bounce@xxxxxxxxxxxxx
[mailto:program-java-bounce@xxxxxxxxxxxxx] On Behalf Of Corbett, James
Sent: Monday, January 12, 2009 7:34 AM
To: program-java@xxxxxxxxxxxxx
Subject: [program-java] Re: WAR file

Anna:

Try accessing the Task Manager: ctrl + alt + Delete.... Then Alt T for
Tasks.... Under the Applications tab note what is running.... Then close
the TM and run your web service and repeat the steps to view running
applications.

Jim  

-----Original Message-----
From: program-java-bounce@xxxxxxxxxxxxx
[mailto:program-java-bounce@xxxxxxxxxxxxx] On Behalf Of Anna Giller
Sent: January 9, 2009 16:25
To: program-java@xxxxxxxxxxxxx
Subject: [program-java] Re: WAR file

Jim:

No I'm not running anything.

Thanks,
Anna

-----Original Message-----
From: program-java-bounce@xxxxxxxxxxxxx
[mailto:program-java-bounce@xxxxxxxxxxxxx] On Behalf Of Corbett, James
Sent: Friday, January 09, 2009 3:34 PM
To: program-java@xxxxxxxxxxxxx
Subject: [program-java] Re: WAR file

In case one, are you running an application?

j 

-----Original Message-----
From: program-java-bounce@xxxxxxxxxxxxx
[mailto:program-java-bounce@xxxxxxxxxxxxx] On Behalf Of Anna Giller
Sent: January 9, 2009 14:58
To: program-java@xxxxxxxxxxxxx
Subject: [program-java] Re: WAR file

Jim:

I run my web application 1 of 2 ways:
1. right click on the project name, select "run as", then choose "run on
server".
2. In Internet Explorer I open a location as follows:
http://localhost:8080/MyWebProject/

Both this ways brings me to the default index.jsp page.

Thanks,
Anna

-----Original Message-----
From: program-java-bounce@xxxxxxxxxxxxx
[mailto:program-java-bounce@xxxxxxxxxxxxx] On Behalf Of Corbett, James
Sent: Friday, January 09, 2009 2:39 PM
To: program-java@xxxxxxxxxxxxx
Subject: [program-java] Re: WAR file

Anna:

Ok, you've compiled it.... You can run it in the server..... How do you
run it?

Jim  

-----Original Message-----
From: program-java-bounce@xxxxxxxxxxxxx
[mailto:program-java-bounce@xxxxxxxxxxxxx] On Behalf Of Anna Giller
Sent: January 9, 2009 14:38
To: program-java@xxxxxxxxxxxxx
Subject: [program-java] Re: WAR file

Jim,

My web project with the extension .EAR doesn't exist either.



-----Original Message-----
From: program-java-bounce@xxxxxxxxxxxxx
[mailto:program-java-bounce@xxxxxxxxxxxxx] On Behalf Of Corbett, James
Sent: Friday, January 09, 2009 2:31 PM
To: program-java@xxxxxxxxxxxxx
Subject: [program-java] Re: WAR file

Try searching for .ear?

j 

-----Original Message-----
From: program-java-bounce@xxxxxxxxxxxxx
[mailto:program-java-bounce@xxxxxxxxxxxxx] On Behalf Of Anna Giller
Sent: January 9, 2009 14:27
To: program-java@xxxxxxxxxxxxx
Subject: [program-java] Re: WAR file

Jim:

I start Glassfish first.

I ran a search again and got 109 build.xml files with quite different
locations.
Most of them are in c:\sun\sdk\... subfolders.

It looks like my web application with the extension .war does not exist.
But I found one with the extension .lunch.
Is it something relevant?

Thank you,
Anna



-----Original Message-----
From: program-java-bounce@xxxxxxxxxxxxx
[mailto:program-java-bounce@xxxxxxxxxxxxx] On Behalf Of Corbett, James
Sent: Friday, January 09, 2009 2:21 PM
To: program-java@xxxxxxxxxxxxx
Subject: [program-java] Re: WAR file

Do you have to run Glass Fish first, or does the compiling with in
Eclipse evoke the session?

Jim  

-----Original Message-----
From: program-java-bounce@xxxxxxxxxxxxx
[mailto:program-java-bounce@xxxxxxxxxxxxx] On Behalf Of Anna Giller
Sent: January 9, 2009 13:47
To: program-java@xxxxxxxxxxxxx
Subject: [program-java] Re: WAR file

Jim:

I did a search (windows key+F) on build.xml and .war files, but got no
results.
I'm able to execute my web project, so it should be something somewhere.

I did not add any plug ins, I'm not even quite sure what it means.

My server is structured as follows:
C:\Sun\AppServer\domains\domain1\
This folder contains the following 14 items:
Addons
Applications
Autodeploy
Bin
Config
Docroot
Generated
Imq
java-web-start
jbi
lib
logs
session-store
master-password

Thank you,
Anna







-----Original Message-----
From: program-java-bounce@xxxxxxxxxxxxx
[mailto:program-java-bounce@xxxxxxxxxxxxx] On Behalf Of Corbett, James
Sent: Friday, January 09, 2009 1:31 PM
To: program-java@xxxxxxxxxxxxx
Subject: [program-java] Re: WAR file

I'm using Glassfish server.

I'm not 100% sure of the folder structure of the Glass Fish project but
there should be a build or .build folder with in...

I created an Eclipse dynamic web project and this is how everything got
configured.

Did you add any plug ins for creating a web package?

I did not see any option for WAR file. Where should it be?

See above question.

Where can I find build.xml file?


What are you using for a source repository? If you are using WinCVS then
the build.xml file will be in the implementation folder....

Do a search for build.xml using the Windows search utility and while you
are at it look for your .war file.

j
Thank you,
Anna




-----Original Message-----
From: program-java-bounce@xxxxxxxxxxxxx
[mailto:program-java-bounce@xxxxxxxxxxxxx] On Behalf Of Corbett, James
Sent: Friday, January 09, 2009 12:36 PM
To: program-java@xxxxxxxxxxxxx
Subject: [program-java] Re: WAR file

Anna:

1. Do you have a web server?

2. Do you have a distribution folder?

3. Where does your build.xml file point to?

4. Have you done your initial configuration so as to inform Eclipse that
it is now indeed to create .war files in place of .jar files?

j 

-----Original Message-----
From: program-java-bounce@xxxxxxxxxxxxx
[mailto:program-java-bounce@xxxxxxxxxxxxx] On Behalf Of Anna Giller
Sent: January 9, 2009 12:20
To: program-java@xxxxxxxxxxxxx
Subject: [program-java] WAR file

Hi Everyone!

 

After Eclipse builds a web application, where does it store .WAR file?

 

Thanks in advance,

Anna































Other related posts: