Avatar of Zolf
Zolf
Flag for United Arab Emirates asked on

apache jar file corrupt error

hello there,

i have a java application with oracle 10g database which i made it to run with web start i.e converted to jnlp.now the jnlp works fine on my computer i mean using
<jnlp spec="1.0+" codebase="file:///C:/Project/jnlp/">

but when i try to run it from my apache server
<jnlp spec="1.0+" codebase="http://192.168.205.81" href="testJdbc.jnlp">

,i get jar corrupt error.i also tried to open the jar file from my apache webroot.but i get the same error.but when i tested a simple jnlp application from apache it works fine.but the difference  betwenn the two test is the simple jnlp has only jar fine which is the application.the other apllication has two jar files one for the application and another for oracle jdbc driver.please help. i had already asked for help by opening two other same problem.but did not get a lot of help.so i have again opened this question.the link are below

https://www.experts-exchange.com/Programming/Programming_Languages/Java/Q_21977224.html

https://www.experts-exchange.com/Programming/Programming_Languages/Java/Q_21977074.html

one thing to mention is

when i clcik on the jnlp file in the browser,i get to see the java web start which shows the progress bar and mentioning downloading ojdbc14.jar which starts loading,then it says reading ojdbc14.jar which goes to 100 % and then it displays a box requested http://123.122.22.11/ojdbc14.jar and error saying corrupted dslam.jar(which is the name of the application jar file)
 
Apache Web Server

Avatar of undefined
Last Comment
Zolf

8/22/2022 - Mon
Zolf

ASKER

sorry it says corrupted ojdbc.jar instead of dslam.jar
Zolf

ASKER

anybody there to help me
ASKER CERTIFIED SOLUTION
rama_krishna580

Log in or sign up to see answer
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question
Zolf

ASKER

thanks for your comment.what do i need to do now.i mean i read those links,but were not helpful to solve my problem.can you please suggest me the solution to my problem.i am stuck for the past 1 week with this.
All of life is about relationships, and EE has made a viirtual community a real community. It lifts everyone's boat
William Peck
Zolf

ASKER

when i also try to open the jar file from the browser i get an error saying Invalid or corrupt jarfile C:\documents and Settings\zolf\Local Settings\Temporary Internet Files\Content.IE5\W0JT1SMV\ojdbc14[1].jar

but infact the jar file is in

C:\Project\jnlp
Zolf

ASKER


my application works perfect with Apache Tomcat/5.0.28.but not with Apache server.
please help me sort this out with apache server. this is the jnlp file for tomcat

<?xml version="1.0" encoding="UTF-8"?>
<jnlp spec="1.0+"
    <jnlp spec="1.0+" codebase="http://localhost:8080/dslam/" href="TestDSL.jnlp">
<information>
  <title>Check</title>
  <vendor>Developer Connection</vendor>
  <description>Demonstration</description>
</information>
<offline-allowed/>
<security>
  <all-permissions/>
</security>
<resources>
<j2se version="1.2+" />
  <jar href="dedslam.jar"/>
  <jar href="ojdbc14.jar"/>
  <jar href="sqljdbc.jar"/>
</resources>
<application-desc main-class="src.com.victa.Login" />
</jnlp>