Aaron Fenzi

Greenhorn
+ Follow
since Oct 15, 2002
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Aaron Fenzi

Oh, right...and Bear Bibeault is your given name...ha ha ha ha!
Good to be back on the forums, people!
20 years ago
Folks,
Here's the deal:
I have a .war file that I created called BookNook.war, but when I start the server, I see a new .war file in the .wlnotdelete folder that seems to share the same context path as BookNook.war. Here's the error I receive:
<Mar 5, 2003 7:38:51 AM EST> <Error> <HTTP> <101217> <Cannot deploy ServletConte
xt(id=4782622,name=BookNook,context-path=/BookNook) from C:\bea\user_projects\my
domain\applications\BookNook on myserver because there is already a webapp named
ServletContext(id=2434512,name=BookNook,context-path=/BookNook) loaded from C:\
bea\user_projects\mydomain\applications\BookNook\BookNook.war, which is using th
e context path /BookNook.>
<Mar 5, 2003 7:38:51 AM EST> <Error> <Deployer> <149205> <The Slave Deployer fai
led to initialize the application _appsdir_BookNook_dir due to error weblogic.ma
nagement.ApplicationException: Prepare failed. Task Id = null
{
Module Name: BookNook, Error: weblogic.j2ee.DeploymentException: Cannot deploy S
ervletContext(id=4782622,name=BookNook,context-path=/BookNook) from C:\bea\user_
projects\mydomain\applications\BookNook on myserver because there is already a w
ebapp named ServletContext(id=2434512,name=BookNook,context-path=/BookNook) load
ed from C:\bea\user_projects\mydomain\applications\BookNook\BookNook.war, which
is using the context path /BookNook.
}.
weblogic.management.ApplicationException: Prepare failed. Task Id = null
{
Module Name: BookNook, Error: weblogic.j2ee.DeploymentException: Cannot deploy S
ervletContext(id=4782622,name=BookNook,context-path=/BookNook) from C:\bea\user_
projects\mydomain\applications\BookNook on myserver because there is already a w
ebapp named ServletContext(id=2434512,name=BookNook,context-path=/BookNook) load
ed from C:\bea\user_projects\mydomain\applications\BookNook\BookNook.war, which
is using the context path /BookNook.
}
at weblogic.j2ee.J2EEApplicationContainer.prepare(J2EEApplicationContain
er.java:697)
at weblogic.j2ee.J2EEApplicationContainer.prepare(J2EEApplicationContain
er.java:576)
at weblogic.j2ee.J2EEApplicationContainer.prepare(J2EEApplicationContain
er.java:453)
at weblogic.management.deploy.slave.SlaveDeployer.prepareAllStagedApplic
ations(SlaveDeployer.java:490)
at weblogic.management.deploy.slave.SlaveDeployer.initialize(SlaveDeploy
er.java:253)
at weblogic.management.deploy.DeploymentManagerServerLifeCycleImpl.initi
alize(DeploymentManagerServerLifeCycleImpl.java:150)
at weblogic.t3.srvr.ServerLifeCycleList.initialize(ServerLifeCycleList.j
ava:54)
at weblogic.t3.srvr.T3Srvr.initialize1(T3Srvr.java:756)
at weblogic.t3.srvr.T3Srvr.initialize(T3Srvr.java:589)
at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:277)
at weblogic.Server.main(Server.java:32)
>
If anyone has an idea other than "setting the PATH" or throwing the PC out the window and embarking on a career of janitorial arts, please let me know. Thanks.
21 years ago
People,
In your haste, most of you haven't included Aaron Mulder's last name in your subject headers, leaving me curious as to which Aaron you wanted: him or me. I mean, I've always said that there is enough Aaron to go around, but this may be taking it too far.
YOUR best friend,
Aaron "Mr. Thursday Night" Fenzi
[ February 28, 2003: Message edited by: Aaron Fenzi ]
21 years ago
Aaron, I think I have what I need. Thanks for all your help, and if I win the book, you're autographing it for me, brother!
21 years ago
I only ask because I didn't know if I had to include /servlet(s) in there somehow. (e.g. http://localhost:7001/BookNook/servlet/ProductLookupPage.)
21 years ago
So, based on everything we've gone over, if I follow your conventions for the servlet directories, how should I configure the link on the html page to get me to one of the servlets (e.g. ProductLookupPage)?
21 years ago
So, the index.html page should be under BookNook, and the servlets should be under WEB-INF/classes?
21 years ago
Aaron,
I think my only question now would be concerning the code.
If I have would like to get to my servlets from my index.html page, what would be the proper link to use? For example, if the path of index.html is C:\bea\user_projects\mydomain\applications\BookNook\WEB-INF\Index.html
and the path of the servlets is C:\bea\user_projects\mydomain\applications\BookNook\WEB-INF\classes, what would my link be in the index.html code?
21 years ago
I sure will. (You'll have to forgive me, since I came down with a pretty high fever...again.)
Anyway, I'm trying to get an old project to work on WebLogic 7.0 instead of Tomcat. I just need to know the steps to do so, including directory structures, configurations of necessary .xml files, etc.
For example, let's say that my project folder is stored in the C:\bea\user_projects\mydomain\applications\BookNook file. I created two folders in that directory: WEB-INF and images folder, and in the WEB-INF folder, I created two more folders: classes and lib. I stored the servlet classes in the classes folder, and nothing in the lib folder yet.
Anyway, I need to know several things: do I need to configure any .xml files other than web.xml? If so, how would I need to configure them? Also, based on my current folder directory, could you show me how to write up my web.xml file (with examples), and finally, could you show me the proper URL to use when I want to bring the application up on the web?

Aaron, I really appreciate whatever help you can give me.
21 years ago
Aaron,
First of all, it is a pleasure to speak with such an accomplished author. When I think of the greats, I think Shakespeare, Melville, Hemingway, Mulder.
Anyway, I'm trying to get a bunch of files up and running on WebLogic, along with a database connection. Do you think you could give me a hand?

You are the man. Thanks.
[ February 25, 2003: Message edited by: Aaron Fenzi ]
21 years ago
Just out of curiosity, do you hear the hamsters running on the wheel so they can keep the power going?
I have 512 MB of RAM and my PC is STILL slower than s**t when I run an IDE, namely JBuilder8. Imagine that!

AF
--"Java with an attitude"
Gregg,
Under normal circumstances, I would agree with you, but check out any job posting and they'll ask for people who have experience using IDEs. Pretty silly, huh?
Anyway, I would try to grab JBuilder Enterprise Edition, in addition to grabbing an app server (WebLogic is pretty good). This way, one can practice EJBs, another employer wet dream.
Chris,
I actually fixed the thing last night. For some reason, my outputs weren't being generated in the proper directories. In my infinite greatness, I took care of that.
And speaking of greatness, you deserve props from Mr. Thursday Night himself for responding. Thanks, man.
Folks,
I hope SOMEONE can help me.
Anyway, I packaged a bunch of .java files and attempted to compile them into .class files. So, I worked on the first few and they pumped out as planned. Then, a funny thing happened on my way to greatness:
"C*****************.java": Error #: 300 : class C*************** not found in class B*******.C***************** at line 56, column 3
(The only reason I blanked the name out is because this is an extremely elementary piece of code and I don't wish to face any ridicule.)
Before anyone tells me to set the classpath, I have already done so (beautifully, I might add), but to no avail. If there is anyone who can help me, I owe said person a dinner for two at the Olive Garden.

PS...Using JDEs isn't cheating unless you get caught.
[ February 24, 2003: Message edited by: Aaron Fenzi ]
Hey, what's up, people? Can anyone help me with the folder directory necessary to launch pre-existing servlets, as well as the correct URL? If anyone also has examples, that would be great. (Added bonus: if a woman answers this question, I will propose marriage to her.)
If the great Aaron Mulder can help me out, I will not propose marriage, but I will forever appreciate it. Besides, he shares my name, so he and I are probably simpatico.
PS Visit www.mrthursdaynight.com. I'll have more posted in the next few weeks.
21 years ago