Zafif, 

Which instructions are you following?  I've posted several items recently to
both the JRUN and Struts listservers, so I am not sure what topic/subject
you are referring to.  Let me know and I will try and help.

Celeste

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:Zafif@;worldbank.org]
Sent: Thursday, November 07, 2002 11:23 AM
To: JRun-Talk
Subject: RE: jrun4 newbie q


Celeste,

I tried following your instructions.  The problem I am having now, is that
it is
not finding the classes.  I am calling a class from a jsp page, and am
getting
the following error:

Translator.CompilationFailedExceptionCompiler errors:
Found 1 semantic error compiling
"D:/JRun4/servers/default/default-ear/default-war/WEB-INF/jsp/jrun__newApp__
ztest2ejsp11.java":


57. DbDataSource dbds = new DbDataSource();
<---------->
*** Error: Type DbDataSource was not found.

I tried it with other simple classes, I got the same error.

 Any ideas?

Tx




 

                      "Haseltine,

                      Celeste"                 To:      Jrun-Talk
<[EMAIL PROTECTED]>                                   
                      <CHaseltine@magt         cc:

                      icket.com>               Subject: RE: jrun4 newbie q

 

                      10/17/2002 06:15

                      PM

                      Please respond

                      to jrun-talk

 

 

 

 





Zafif,

It is my understanding that you cannot.  In theory, your suppose to create a
new Server, and develop your application under that new server, instead of
creating a new web application under the Default server, as you probably did
under JRUN 3.1.  That creates problems if your a shop like us that has
several applications under development at once, and prefer to have the
applications residing on a central test server with only one instance of
JRUN running(in this case, the default server).

This is what I did when we decided to try out JRUN 4.0 and see what would be
involved in porting over to 4.0.  Unfortunately, our budget is such that I
will be unable to purchase JRUN 4.0 anytime in the near future.

I created a new Server to reside under InetPub, and configured the new
server to work with IIS 5.0.  I then create a new web application called
OriginalNYDev in my IDE Eclipse 2.0.1.  My IDE has a plugin that creates the
subdirectory structure for me (WEB-INF, WEB-INF/jsp, WEB-INF/classes, etc)
AND a blank web.xml file. It is important to have a blank web.xml file and
the WEB-INF subdirectory structure in place BEFORE you attempt to create a
new application in JRUN 4.0.

Then, go into your JRUN management console, and go to the Deploy Web
Application.  On the Source File Path, browse to the name of the new web
application you just created at the top level (ie, OriginalNYDev) and hit
deploy.  You don't need a war file, or the .war extension, the blank web.xml
file and the existing subdirectory structure gets recognized by JRUN 4.0,
and it will move you to the next page, the Web Application Overview.  The
web application name should be OriginalNYDev, and the web application root
directory will be what you selected in the source file path.  Make sure that
you DO NOT attempt to modify the parameters the first time you create the
application, or it may not "take".  Just accept the default parameters. Hit
apply.  You will probably get an error message, but just ignore it. Then
return to the J2EE components on default, and you will have a new web
application called in place.  You can then go back in and modify any of the
parameters.

Again, the trick to this is making sure that you have the subdirectory
structure in place AND a blank web.xml file in place before you do this.
JRUN 3.1 created a blank web.xml file, and the subdirectory structure for
you when you created a new web application.  JRUN 4.0 does NOT do this, so
you will either need to do this by hand, or use an IDE that creates a new
web application, and the resulting blank web.xml file and subdirectory
structure for you.

The other option is to create your own war file, such as "newProject.war"
file, and deploy it every time you need to create a new web application.
Since we are now using Eclipse 2.0.1 instead of JRUN  Studio as our IDE, I
prefer to use the plugins to create a new web application on our test
server, and then configure it as I described above.

Hope this info helps.

Celeste Haseltine, PE
MTL, Inc








-----Original Message-----
From: [EMAIL PROTECTED] [mailto:Zafif@;worldbank.org]
Sent: Thursday, October 17, 2002 12:47 PM
To: JRun-Talk
Subject: jrun4 newbie q


We just loaded jrun 4 to a new test server.  Now we have 1 jrun 4 test
server
and one jrun3.1.

We were trying to CREATE a new web application on jrun 4.  But the only
options
we had was to deploy an  app.  Am I missing some information or a step?  How
can
I create a new app the same way we create them in jrun 3.1?

Thanks in advance!




~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=8
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=8
Get the JRun Web Application Construction Kit - the only book written specifically for 
JRun developers.
http://www.amazon.com/exec/obidos/ASIN/0789726009/houseoffusion

Reply via email to