File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Servlets and the fly likes help with error Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "help with error " Watch "help with error " New topic
Author

help with error

Michele Smith
Ranch Hand

Joined: Oct 27, 2010
Posts: 412
Hello I had two versions of a .dll that were causing problems in my application in Eclipse. I deleted the .dlls out of the application Eclipse and JBoss and now the servlets won't load.

Will a system restore correct this problem?

Thanks,
Nauman Hasan
Ranch Hand

Joined: Jul 27, 2005
Posts: 34
Hi Michele,

What is the error you get? I have sneaky feeling you may be better off asking in the eclipse forums rather than here.

What dlls did you delete? did you keep a copy of them (in this case if you put them back do the servlets load)? hopefully these were not something required by the OS.

~Nauman
William P O'Sullivan
Ranch Hand

Joined: Mar 28, 2012
Posts: 860

Sounds like you removed some native libraries.

Not a wise thing to do.

What does the servlet do exactly?

WP
Michele Smith
Ranch Hand

Joined: Oct 27, 2010
Posts: 412
Hello my project builds successfully, just can't get server to start without loading all the servlets.

The files were related to jni4net, for reporting purposes.

I did a system restore, which puts the offending .dll back into the registry from what I have read if that was accidentally deleted, and also I put the 64-bit .dlls back on the server, JBoss 5.01 GA.

I don't know how to get the server to start. I tried to add a new server JBoss, but the same thing happened over and over again.

Here is the code I receive.



William P O'Sullivan
Ranch Hand

Joined: Mar 28, 2012
Posts: 860

I have no idea what you're doing.

There are no ERRORs in there, just WARN(ings) about bcc.* classes.

Since you said the dlls are jni related (Java Native Interface), I sense you broke something big time.

Where are the bcc.* classes that cannot get loaded?

You really should not be messing around with dlls and system related stuff.

To help you out, I would recommend reinstalling the dll libraries if possible via the installer or .msi if available.

It is also possible you broke something in JBoss 5.1 configuration and a new server will not help either.
Use the one from the System Restore if possible, when things did work and move on from there.

WP
Michele Smith
Ranch Hand

Joined: Oct 27, 2010
Posts: 412
okay I will mark this closed thanks
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: help with error
 
Similar Threads
View cannot be restored exception
DDE Server
please help.. using eclipse refactoring
Eclipse -D Debug vs Run
creating a web application in eclipse