Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

help with error

 
Michele Smith
Ranch Hand
Posts: 421
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 34
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 859
Chrome IBM DB2 Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sounds like you removed some native libraries.

Not a wise thing to do.

What does the servlet do exactly?

WP
 
Michele Smith
Ranch Hand
Posts: 421
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 859
Chrome IBM DB2 Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 421
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
okay I will mark this closed thanks
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic