From resin to Tomcat Problems
Hi everybody,
I really need your expertise and help!!!
We had a server using resin, then they decided to move the application to Tomcat.
The server admin moved every thing by basically coping the JSP and JAVA files over.
Then he stopped working on it and they gave it to me :-(
and of course I have no expereince with this (No clue)
I managed to get the connection to the database with help from the web.
My problem is that I have two packages (mdx and sto) Both on the same level under classes folder.
(They CANNOT see each other) convertFunctions.java Class is in mdx package
******************Part of the error ********************
# javac convertFunctions.java
convertFunctions.java:3: package sto does not exist
import sto.*;
^
convertFunctions.java:12: package javax.mail does not exist
import javax.mail.*;
^
convertFunctions.java:13: package javax.mail.internet does not exist
import javax.mail.internet.*;
^
When I run the page on the we I get this error
"Error: HTTP Status 500 -" (It cannot see the methods inside the class)
convertMenus is inside convertFunctions
******************Part of the error ********************
HTTP Status 500 -
type Exception report
message
description The server encountered an internal error () that prevented it from fulfilling this request.
exception
org.apache.jasper.JasperException: Unable to compile class for JSP
An error occurred at line: 26 in the jsp file: /includes/admin_left_nav.jsp
Generated servlet error:
The method convertMenus(String, String) is undefined for the type convertFunctions
I can post any code you want.
Note that the same application/code is working great on resin.
Please help; I cannot explain how much I need your help
Any help would be greatly appreciated
Thank you in advance
I did what asked me to do then stop/start tomcat. It did not work.
I noticed that most of the errors are from changes I made to the classes: convertFunctions.java and UploadFile.java
I made the changes using (JDeveloper) on my windows machine and SSH (FTP) files to the SUN server.
Here is how I set the CLASSPATH on the sun box:
set CLASSPATH .:/usr/jakarta-tomcat-5.5.9/common/lib/servlet-api.jar:
/usr/jakarta-tomcat-5.5.9/common/lib/jsp-api.jar:
/usr/jakarta-tomcat-5.5.9/common/lib/servlet.jar $CLASSPATH
Here is my classpath after I tried to change it (No difference)
CLASSPATH=.://export/home/oracle/oracle/product/10.2.0/db_1/jdbc/lib:/usr/jakarta-tomcat-5.5.9/common/lib:/usr/jakarta-tomcat-5.5.9/server/lib:/lib:/usr/jakarta-tomcat-5.5.9/shared/lib:/usr/jakarta-tomcat-5.5.9/server/lib/servlet.jar:../../.:/usr/jakarta-tomcat-5.5.9/server/lib/classes12.jar
I really appreciate your help
Thank you in advance
Similar Messages
-
Can no longer open PDF files from my emails sent from other websites. Problem seems to correlate with automatic upgrade of free adobe software (from version 11 to Reader DC)?
To configure the browser to use Acrobat or Adobe Reader to open PDF files:
1. Quit Internet Explorer(any other browser)
2. Start Acrobat or Adobe Reader.
3. Choose Edit > Preferences.
4. Select Internet in the list on the left.
5. Deselect(Uncheck) Display PDF in Browser, and click OK.
6. Restart Internet Explorer -
Had 3G, moved to 3GS. Backed up 3G and restored 3GS from backup with no problem on a Dell computer. But now when I want to add songs, I get itunes message of death that the new iphone is synced to another computer and now wants to erase everything. How can I add music without erasing everything on my new iphone?
Yes, I was aware of this but the phrase "Any items imported from audio CDs or acquired from other sources will not copy from your device to the iTunes library." is what worries me. Will this eliminate my Notes, Calendar Events, etc or will it apply mostly just to the music?
-
Since the last update I have been unable to print from Firefox. No problem printing from Safari or any other program. I've seen a few responses to this problem but only to people running Windows. I'm on a Mac running v. 10.5.8.
Also when I click on the link in my email to activate my account (in the hopes that a solve will be emailed to me) I get this message -
"Something is wrong
We could not activate your account. Please make sure that you have clicked the correct link in your email or typed in the correct address."
Same message if I cut and paste the link. -
I am not able to open iCloud from pc, error is "problem with the server". what should I do?
Go to Settings>General>Restrictions>Accounts (near the bottom) and set this to Allow Changes. You will then be able to access Settings>iCloud again.
-
I bought a new MacBook Pro several months ago. I keep losing my wireless connection (my wife, sitting several feet from me has no problem with her iPad2). I find the quickest fix ix to turn Airport off and back on. Very annoying. Suggestions please?
What kind of wireless router are you using? more importantly which protocol are you connecting with? Are you and wife connecting using the 2.4Ghz band? or do you have a dual band router that offers the 5GHZ band? Are you both connecting vie 802.11 a/b/g or n?
The best thing to do is to go into SYSTEM PREFERENCES and select NETWORK, then select AIRPORT and click on the ADVANCED button.
Under the AirPort tab you should delete all the preferred networks and only add back in your network with the proper security settings and passwords.
If you hold down the option key on your keyboard while clicking on the airport icon at the top on your macbook pro. you'll seesome data that will tell you what band and mode you're connecting at, as well as in an indication of signal strength (RSSI) if you write down and post back that information it'll tell us what's going on. -
hello! im from argentina. im having problems with my iphone. can my friend take it to usa for a cheking?
what do i need to take my iphone to an apple store? just the iphone? or the charger also? what about the ticket?
sorry about my englishIf your phone was purchased in the US, yes. Otherwise, no. And, you only need the phone, nothing else.
-
Apart from the lock button problem in iphone 5 the display brightness suddenly goes blank and becomes normal after locking and unlocking the iphone. The Apple service centre in India is denying to service the iphone as it was purchase in USA even though the iphone is in warranty.
iPhones do not have an international warranty. Warranty is valid only for the country of purchase. This is most likely because different countries require different iPhone models. Not reasonable to expect all countries to maintain stock for all models.
-
Had a problem with newest update and the advice from turingtest2 resolved my problem just to say thanks! Had never used this route before so was less painful than thought it would be again thanks.
how can i find out what the fix is that works..please
-
Can I send email using Java from my localhost(Tomcat) with Internet connect
Hi friends,
Please tell me can I send email from my localhost (Tomcat) using Java when my computer is connected to Internet?
I don't have any SMTP username or password or the like, as I found in some codes available in net.
Please suggest and any simple code if possible.
Please don't send me the link of JavaMail API to read.
---SujoyThank you for the link. Though I have not tested the provided code, I will test it.
--Sujoy -
Revoke unnecessary privileges from public = enterpise manager problems
Hi,
After revoking the execute privilege on the following packages from public I have problems with enterprise manager (DB version 10.1.0.3.0) :
UTL_SMTP
UTL_TCP
UTL_HTTP
UTL_FILE
DBMS_OBFUSCATION_TOOLKIT
I have revoked the privileges via sqlplus:
revoke execute on utl_smtp from public;
If I login now on enterprise manager (user sys)
the home tab on enterprise manager says "Status pending", the performance/administration and maintenance tabs work.
Does anyone knows how to solve this?
Thank You.I have had pretty good luck with the following - YMMV
revoke execute on sys.utl_http from public;
revoke execute on sys.utl_smtp from public;
revoke execute on sys.utl_tcp from public;
revoke execute on sys.dbms_random from public;
revoke execute on sys.utl_file from public;
revoke execute on sys.dbms_lob from public;
revoke execute on dbms_job from public;
grant execute on sys.utl_http to ORDPLUGINS;
grant execute on sys.utl_file to xdb; -
FROM WINDOWS (VISTA) A PROBLEM HAS CAUSED THE PROGRAM TO STOP WORKING CORRECTLY. WINDOWS WILL CLOSE THIS PROGRAM AND NOTIFY YOU IF THERE IS A SOLUTION. UPDATED TO THE LATEEST, I WOULD RATHER NOT HAVE AUTO UPDATES. [email protected] edit
You may select how and whether Firefox updates, although like most software it may be sensible to keep it up-to-date, it is more likely to remain secure and compatible with other software whilst up to date.
* for information on the options available see [[Updating firefox]] <--- clickable link --- -
You purchase properties in Arab game (Sultan desert), while the procurement process and the discount amount lost contact wrote the running game has been cooperation from them but the problem!
I can't buy any properties in the game itself and the science I don't use jailbreak and two free jailbreak is there a program hindered the procurement process so that I can buy anything from the storeHello milkisoo,
Wow! Purchasing a new computer and monitor should be a fun and exciting experience, and instead, it sounds like it’s turned into a complete nightmare. I can only imagine your disappointment when you found two charges relating to its purchase on your debit card account, and I’m sorry for any aggravation this caused.
As I want to provide you some piece of mind, I pulled up your order number using your email address attached to the forum. After review of its payment information, I found we collected only one payment. However, when orders are first placed on BestBuy.com, a pending authorization should show up on your bank card to make sure funds are available for the order until it is fulfilled. From there, the authorization should drop off and the collection charge should appear. This is the case for your one charge of $1,051.69.
It also sounds like an error may have occurred when you initially attempted to place your order, resulting in one of your gift cards not registering properly and the order not being completed. Your card’s issuing bank doesn’t appear to have recognized this and pushed through the pending authorization. This occurred a second time when your account information didn’t quite match up with what we had on file. Please know that we haven’t ordered a collection of these funds and your issuing bank should release the two pending authorizations within 5 to 7 business days.
Thank you for posting.
Alex|Social Media Specialist | Best Buy® Corporate
Private Message -
When i open my itunes of recent edition 12.0, i am getting error as "itunes.exe has been set to run in compatabiltity mode " Though i reinstalled it several times from last days ,the problem is not solved. Please provide the solution asap.
Try iTunes for Windows: How to turn off Compatibility Mode.
tt2 -
Itunes states that my computer is not authorized to download an audio book I purchased from itunes. No problem with purchased songs however.
Hello susanserio
Try Deauthorize your account and then Authorize the account to see if any changes occur. Also there may a resolution in the second article that can be helpful as well.
iTunes Store: About authorization and deauthorization
http://support.apple.com/kb/HT1420
iTunes repeatedly prompts to authorize computer to play iTunes Store purchases
http://support.apple.com/kb/ts1389
Thanks for using Apple Support Communities.
Regards,
-Norm G.
Maybe you are looking for
-
I get a message "before viewing pdf documents i must launch adobe reader and accept end user licence
I get a message "before viewing documents in this browser you must launch adobe reader and accept the end user licence agreement then quit and relaunch the browser". How do I do this?
-
I cannot open my firefox 24 at all
Every time I click the Firefox icon or I try to start it, nothing happened. I already uninstall and re install back but still the same problem occurred. Crash ID : bp-34f211fc-3947-4e8b-96cf-b700c2131005. bp-37c0702f-61fe-4443-baf5-9711a2131004. bp-4
-
Hello, I have a new setup I'm trying to build with a WLC2106 and 4 1142n's (currently just trying to get 1 working). I have the WLC running 7.0.98.0. I built a new VLAN on our core network (3560g) and have the ap-manager, management interfaces ip'e
-
When I log onto Moz., get an error message starting with, Well this is embarrassing... I don't have any clue what to do about it except to switch to a browser that is working.
-
Convert TV signal from digital to analogue.
As our TV signal has now changed to digital how can I convert to an analogue signal? If I attach a free view box with an aerial output into my Touchsmart IQ722 will it work?