Error Running jar file on Linux Server
Hi,
I recently wrote a small program to be run together when apache is being start up on the server. When the bin/startup.sh is executed, my program will be run together
exec java -classpath ./ZipLogs.jar com.btsoft.magic.zip.ZipFile
I included this command in the startup.sh but the following error came up when I run it:
Exception in thread "main" java.lang.NoClassDefFoundError: com/btsoft/magic/zip/ZipFile
I placed the jar file in the same directory as the startup.sh.
But when I run it directly on the console:
java -classpath ./ZipLogs.jar com.btsoft.magic.zip.ZipFile
its fine..
Can anyone help me with this problem?
Thanks
williammandrake wrote:
I placed the jar file in the same directory as the startup.sh.That would suggest to me that your directory is wrong. I suggest you start by printing out cwd.
Could also be a permissions problem as well.
Similar Messages
-
Running .jar files in linux on double click
Hi,
i needed a solution to run the jar files on double click in linux system.Necessity is mainly because when i run the jar file by java -jar myapp.jar in terminal it works fine .Iam running my app continuosly in system tray(a server kind).But if i close the terminal my app exits.
How to resolve this ?I am taking a SWAG.....it sounds like your problem is how to run a java app without a terminal window. So as I recall, there is some way in Linux to enter a command and have it execute in a new process. I don't recall the syntax but maybe putting a '&' character in the command line? Anyway, you should be able to use the method and use "javaw" instead of "java" to launch your app. You should be able to do this in a batch file too. Something like, javaw -jar yourjar.jar &
-
Problem running jar files of java in Linux
I cannot run jar files in java/jdk1.3.1_01/demo in Readhat Linux 6.2
The command is :--
[root@localhost Notepad]# java -jar Notepad.jar
java.lang.NoClassDefFoundError: javax/swing/JPanel
at java.lang.Class.forName(Class.java:33)
at kaffe.jar.ExecJarName.main(ExecJarName.java:58)
at kaffe.jar.ExecJar.main(ExecJar.java:61)
[root@localhost Notepad]#
My ~/profile setting is :---
PATH="$PATH:/usr/X11R6/bin:/usr/java/jdk1.3.1_01/bin:/usr/java/jdk1.3.1_01/jre/bin:/usr/java/jre/lib"
export JAVA_HOME=/usr/java/jdk1.3.1_01
export NPX_PLUGIN_PATH=/usr/java/jdk1.3.1_01/jre/plugin/i386/ns4[root@localhost Notepad]# java -jar Notepad.jar
java.lang.NoClassDefFoundError: javax/swing/JPanel
at java.lang.Class.forName(Class.java:33)
at
at
at kaffe.jar.ExecJarName.main(ExecJarName.java:58)
at kaffe.jar.ExecJar.main(ExecJar.java:61)
[root@localhost Notepad]#
My ~/profile setting is :---
PATH="$PATH:/usr/X11R6/bin:/usr/java/jdk1.3.1_01/bin:/u
r/java/jdk1.3.1_01/jre/bin:/usr/java/jre/lib"
export JAVA_HOME=/usr/java/jdk1.3.1_01
export
NPX_PLUGIN_PATH=/usr/java/jdk1.3.1_01/jre/plugin/i386/n
4Add the line:
export CLASSPATH=.:$JAVA_HOME/jre/lib/rt.jar
Then, run the command "source ~/.profile" and then the jar file should be able to run.
Bhav -
Error messege when run jar file
when i run jar file of my project give me that error(Fatel exception occured.program will exist)
what is the reason of that error"can't get that path". Sounds like requisite classes aren't on the classpath.
Please paste the ENTIRE error message that it's producing into your next reply. You have probably forgotten to include necessary classes - perhaps a JDBC driver - in your JAR file. -
I'm using WLS 5.1 SP8 on NT 4.0 and trying to setup a cluster. The cluster
starts fine except when I try to deploy a session bean that is marked as
clustered. I get an error about reading a jar file
(D:/weblogic/mycluster/server196/tmp_deployments/ejbjar1559.jar) that WLS
created when the server started. Every server is getting this error and I
tried setting up the same paths (D:\weblogic) but it doesn't matter. Any
ideas?
Wed Jan 24 15:04:10 EST 2001:<I> <WebLogicServer> WebLogic Server started
java.util.zip.ZipException: error in opening zip file
at java.util.zip.ZipFile.open(Native Method)
at java.util.zip.ZipFile.<init>(ZipFile.java:69)
at java.util.zip.ZipFile.<init>(ZipFile.java:84)
at
weblogic.boot.ServerClassLoader.deploy(ServerClassLoader.java:141)
at
weblogic.cluster.AnnotatedServiceOffer.expandClassPath(AnnotatedServiceOffer
.java:74)
at
weblogic.cluster.AnnotatedServiceOffer.readObject(AnnotatedServiceOffer.java
, Compiled Code)
at
weblogic.common.internal.WLObjectInputStreamBase.readPublicSerializable(WLOb
jectInputStreamBase.java, Compiled
Code)
at
weblogic.common.internal.WLObjectInputStreamBase.readLeftover(WLObjectInputS
treamBase.java, Compiled Code)
at
weblogic.common.internal.WLObjectInputStreamBase.readObjectBody(WLObjectInpu
tStreamBase.java, Compiled Code)
at
weblogic.common.internal.WLObjectInputStreamBase.readObject(WLObjectInputStr
eamBase.java, Compiled Code)
at
weblogic.common.internal.WLObjectInputStreamBase.readObjectWL(WLObjectInputS
treamBase.java, Compiled Code)
at
weblogic.common.internal.WLObjectInputStreamBase.readArrayList(WLObjectInput
StreamBase.java, Compiled Code)
at weblogic.cluster.StateDump.readObject(StateDump.java:59)
at
weblogic.common.internal.WLObjectInputStreamBase.readPublicSerializable(WLOb
jectInputStreamBase.java, Compiled
Code)
at
weblogic.common.internal.WLObjectInputStreamBase.readLeftover(WLObjectInputS
treamBase.java, Compiled Code)
at
weblogic.common.internal.WLObjectInputStreamBase.readObjectBody(WLObjectInpu
tStreamBase.java, Compiled Code)
at
weblogic.common.internal.WLObjectInputStreamBase.readObject(WLObjectInputStr
eamBase.java, Compiled Code)
at
weblogic.common.internal.WLObjectInputStreamBase.readObjectWL(WLObjectInputS
treamBase.java, Compiled Code)
at weblogic.cluster.TMSocket.execute(TMSocket.java, Compiled Code)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java, Compiled
Code)
Wed Jan 24 15:04:19 EST 2001:<E> <MulticastSocket> Multicast socket receive
error: java.lang.RuntimeException: I/O error
opening JAR file from
file:/D:/weblogic/mycluster/server196/tmp_deployments/ejbjar1559.jar
From previous posts I see this is a known bug. Is there a fix yet? btw, how
did a bug of this magnitude
get past QA. :(
Elan Halfin <[email protected]> wrote in message
news:[email protected]...
> I'm using WLS 5.1 SP8 on NT 4.0 and trying to setup a cluster. The cluster
> starts fine except when I try to deploy a session bean that is marked as
> clustered. I get an error about reading a jar file
> (D:/weblogic/mycluster/server196/tmp_deployments/ejbjar1559.jar) that WLS
> created when the server started. Every server is getting this error and I
> tried setting up the same paths (D:\weblogic) but it doesn't matter. Any
> ideas?
>
> Wed Jan 24 15:04:10 EST 2001:<I> <WebLogicServer> WebLogic Server started
> java.util.zip.ZipException: error in opening zip file
> at java.util.zip.ZipFile.open(Native Method)
> at java.util.zip.ZipFile.<init>(ZipFile.java:69)
> at java.util.zip.ZipFile.<init>(ZipFile.java:84)
> at
> weblogic.boot.ServerClassLoader.deploy(ServerClassLoader.java:141)
> at
>
weblogic.cluster.AnnotatedServiceOffer.expandClassPath(AnnotatedServiceOffer
> .java:74)
> at
>
weblogic.cluster.AnnotatedServiceOffer.readObject(AnnotatedServiceOffer.java
> , Compiled Code)
> at
>
weblogic.common.internal.WLObjectInputStreamBase.readPublicSerializable(WLOb
> jectInputStreamBase.java, Compiled
>
> Code)
> at
>
weblogic.common.internal.WLObjectInputStreamBase.readLeftover(WLObjectInputS
> treamBase.java, Compiled Code)
> at
>
weblogic.common.internal.WLObjectInputStreamBase.readObjectBody(WLObjectInpu
> tStreamBase.java, Compiled Code)
> at
>
weblogic.common.internal.WLObjectInputStreamBase.readObject(WLObjectInputStr
> eamBase.java, Compiled Code)
> at
>
weblogic.common.internal.WLObjectInputStreamBase.readObjectWL(WLObjectInputS
> treamBase.java, Compiled Code)
> at
>
weblogic.common.internal.WLObjectInputStreamBase.readArrayList(WLObjectInput
> StreamBase.java, Compiled Code)
> at weblogic.cluster.StateDump.readObject(StateDump.java:59)
> at
>
weblogic.common.internal.WLObjectInputStreamBase.readPublicSerializable(WLOb
> jectInputStreamBase.java, Compiled
>
> Code)
> at
>
weblogic.common.internal.WLObjectInputStreamBase.readLeftover(WLObjectInputS
> treamBase.java, Compiled Code)
> at
>
weblogic.common.internal.WLObjectInputStreamBase.readObjectBody(WLObjectInpu
> tStreamBase.java, Compiled Code)
> at
>
weblogic.common.internal.WLObjectInputStreamBase.readObject(WLObjectInputStr
> eamBase.java, Compiled Code)
> at
>
weblogic.common.internal.WLObjectInputStreamBase.readObjectWL(WLObjectInputS
> treamBase.java, Compiled Code)
> at weblogic.cluster.TMSocket.execute(TMSocket.java, Compiled Code)
> at weblogic.kernel.ExecuteThread.run(ExecuteThread.java, Compiled
> Code)
> Wed Jan 24 15:04:19 EST 2001:<E> <MulticastSocket> Multicast socket
receive
> error: java.lang.RuntimeException: I/O error
>
> opening JAR file from
> file:/D:/weblogic/mycluster/server196/tmp_deployments/ejbjar1559.jar
>
>
-
Hi,
I need some help.
Product=weblogic5.1.0
Revision=(Release Level)=
Problem Description=
I am doing cluster of weblogic server, I have no problem to set up the
cluster and to run servlet and EJB examples.
However, on my command line for startcluster I got a lot of message as
followed:
Fri Aug 18 11:31:44 EDT 2000:<E> <MulticastSocket> Multicast socket receive
error: java.lang.RuntimeException: I/O error opening JAR file from
file:/D:/weblogic/mycluster/server86/tmp_deployments/ejbjar-17327.jar
java.util.zip.ZipException: error in opening zip file
at java.util.zip.ZipFile.open(Native Method)
at java.util.zip.ZipFile.<init>(ZipFile.java, Compiled Code)
at java.util.zip.ZipFile.<init>(ZipFile.java, Compiled Code)
at weblogic.boot.ServerClassLoader.deploy(ServerClassLoader.java,
Compiled Code)
at
weblogic.cluster.AnnotatedServiceOffer.expandClassPath(AnnotatedServiceOffer
.java, Compiled Code)
at
weblogic.cluster.AnnotatedServiceOffer.readObject(AnnotatedServiceOffer.java
, Compiled Code)
at
weblogic.common.internal.WLObjectInputStreamBase.readPublicSerializable(WLOb
jectInputStreamBase.java, Compiled Co
de)
at
weblogic.common.internal.WLObjectInputStreamBase.readLeftover(WLObjectInputS
treamBase.java, Compiled Code)
at
weblogic.common.internal.WLObjectInputStreamBase.readObjectBody(WLObjectInpu
tStreamBase.java, Compiled Code)
at
weblogic.common.internal.WLObjectInputStreamBase.readObject(WLObjectInputStr
eamBase.java, Compiled Code)
at
weblogic.common.internal.WLObjectInputStreamBase.readObjectWL(WLObjectInputS
treamBase.java, Compiled Code)
at
weblogic.common.internal.WLObjectInputStreamBase.readArrayList(WLObjectInput
StreamBase.java, Compiled Code)
at weblogic.cluster.StateDump.readObject(StateDump.java, Compiled
Code)
at
weblogic.common.internal.WLObjectInputStreamBase.readPublicSerializable(WLOb
jectInputStreamBase.java, Compiled Co
de)
at
weblogic.common.internal.WLObjectInputStreamBase.readLeftover(WLObjectInputS
treamBase.java, Compiled Code)
at
weblogic.common.internal.WLObjectInputStreamBase.readObjectBody(WLObjectInpu
tStreamBase.java, Compiled Code)
at
weblogic.common.internal.WLObjectInputStreamBase.readObject(WLObjectInputStr
eamBase.java, Compiled Code)
at
weblogic.common.internal.WLObjectInputStreamBase.readObjectWL(WLObjectInputS
treamBase.java, Compiled Code)
at weblogic.cluster.TMSocket.execute(TMSocket.java, Compiled Code)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java, Compiled
Code)
The message freshed about every 20 seconds.
Another question, I used a iplanet web server as a proxy server with a
cluster of two weblogic servers pluged in, although I set
weblogic.properties to round-robin, however, when I run a fibonacci servlet,
it does not do the round-robin. It always go to one machine for a lot of
times. Any idea?
Thank you for your help.
Tom
May i presume that your cluster is configured on a shared file system?.
I have seen this problem only if you cluster is configured on different machines
and if the directory structure is not identical.
let us know..
Kumar
Cameron Purdy wrote:
> First, update to SP4 (or SP5 if it is out now). Second, follow the cluster
> instructions on setting up deployments for a cluster. The only
> implementation that I have used is the single shared location that all the
> servers load from.
>
> --
>
> Cameron Purdy
> http://www.tangosol.com
>
> "Tom Gan" <[email protected]> wrote in message
> news:[email protected]...
> > Hi,
> > I need some help.
> >
> > Product=weblogic5.1.0
> > Revision=(Release Level)=
> > Problem Description=
> > I am doing cluster of weblogic server, I have no problem to set up the
> > cluster and to run servlet and EJB examples.
> > However, on my command line for startcluster I got a lot of message as
> > followed:
> > Fri Aug 18 11:31:44 EDT 2000:<E> <MulticastSocket> Multicast socket
> receive
> > error: java.lang.RuntimeException: I/O error opening JAR file from
> > file:/D:/weblogic/mycluster/server86/tmp_deployments/ejbjar-17327.jar
> > java.util.zip.ZipException: error in opening zip file
> > at java.util.zip.ZipFile.open(Native Method)
> > at java.util.zip.ZipFile.<init>(ZipFile.java, Compiled Code)
> > at java.util.zip.ZipFile.<init>(ZipFile.java, Compiled Code)
> > at weblogic.boot.ServerClassLoader.deploy(ServerClassLoader.java,
> > Compiled Code)
> > at
> >
> weblogic.cluster.AnnotatedServiceOffer.expandClassPath(AnnotatedServiceOffer
> > .java, Compiled Code)
> > at
> >
> weblogic.cluster.AnnotatedServiceOffer.readObject(AnnotatedServiceOffer.java
> > , Compiled Code)
> > at
> >
> weblogic.common.internal.WLObjectInputStreamBase.readPublicSerializable(WLOb
> > jectInputStreamBase.java, Compiled Co
> > de)
> > at
> >
> weblogic.common.internal.WLObjectInputStreamBase.readLeftover(WLObjectInputS
> > treamBase.java, Compiled Code)
> > at
> >
> weblogic.common.internal.WLObjectInputStreamBase.readObjectBody(WLObjectInpu
> > tStreamBase.java, Compiled Code)
> > at
> >
> weblogic.common.internal.WLObjectInputStreamBase.readObject(WLObjectInputStr
> > eamBase.java, Compiled Code)
> > at
> >
> weblogic.common.internal.WLObjectInputStreamBase.readObjectWL(WLObjectInputS
> > treamBase.java, Compiled Code)
> > at
> >
> weblogic.common.internal.WLObjectInputStreamBase.readArrayList(WLObjectInput
> > StreamBase.java, Compiled Code)
> > at weblogic.cluster.StateDump.readObject(StateDump.java, Compiled
> > Code)
> > at
> >
> weblogic.common.internal.WLObjectInputStreamBase.readPublicSerializable(WLOb
> > jectInputStreamBase.java, Compiled Co
> > de)
> > at
> >
> weblogic.common.internal.WLObjectInputStreamBase.readLeftover(WLObjectInputS
> > treamBase.java, Compiled Code)
> > at
> >
> weblogic.common.internal.WLObjectInputStreamBase.readObjectBody(WLObjectInpu
> > tStreamBase.java, Compiled Code)
> > at
> >
> weblogic.common.internal.WLObjectInputStreamBase.readObject(WLObjectInputStr
> > eamBase.java, Compiled Code)
> > at
> >
> weblogic.common.internal.WLObjectInputStreamBase.readObjectWL(WLObjectInputS
> > treamBase.java, Compiled Code)
> > at weblogic.cluster.TMSocket.execute(TMSocket.java, Compiled Code)
> > at weblogic.kernel.ExecuteThread.run(ExecuteThread.java, Compiled
> > Code)
> >
> > The message freshed about every 20 seconds.
> >
> > Another question, I used a iplanet web server as a proxy server with a
> > cluster of two weblogic servers pluged in, although I set
> > weblogic.properties to round-robin, however, when I run a fibonacci
> servlet,
> > it does not do the round-robin. It always go to one machine for a lot of
> > times. Any idea?
> > Thank you for your help.
> > Tom
> >
> >
> >
-
Java.lang.RuntimeException : I/O error opening JAR file
Hi,
Cluster configuration : 2 NT boxes WLS5.1(SP6). On one m/c weblogic
is installed on drive C:\ and on another m/c weblogic is installed on drive D:\.
i.e. all jars are at two place m/c 1 : c:\weblogic\myserver\*.jar
m/c 2 : d:\weblogic \myserver\*.jar
When servers startup successfully, error is coming :
on the console of m/c 1 :
java.lang.RuntimeException : I/O error opening JAR file from
file:/d:/weblogic/myserver/eb_arn.jar
on the console of m/c 2 :
java.lang.RuntimeException : I/O error opening JAR file from
file:/c:/weblogic/myserver/eb_arn.jar
When both the weblgoic servers are installed on two machines and
on same drive(c:\), this error is not coming.
i.e. all jars are at two place m/c 1 : c:\weblogic\myserver\*.jar
m/c 2 : c:\weblogic \myserver\*.jar
Regards,
Jitendra Kumar.
Jitendra,
This looks like a bug. Please approach support.
- Prasad
Jitendra Kumar wrote:
> Hi,
>
> I'm deploying as per server property, because all servers have got their own myserver
> directory and jars under that.
> primary key class is not a problem at all, because that file is anyway under serverclasses directory.
>
> The problem starts when two weblogic servers on two m/c are installed on different drive(one on 'C:\' dirve
> and another on 'D:\' drive or a unix machine in cluster).
>
> Regards,
> Jitendra Kumar.
>
> Prasad Peddada <[email protected]> wrote:
> >Are you sure that the the primary key class is there in the jar file.
> >
> >Are you deploying as per cluster property? Deploy on all the servers as per server property.
> >
> >
> >- Prasad
> >
> >Jitendra Kumar wrote:
> >
> >> Hi,
> >>
> >> I don't have any problem in deploying beans and all servers have their local jar files.
> >> Today I started solaris server in cluster and that also giving the same error message in console.
> >> Now 2NT and One Solaris m/c running in cluster.
> >>
> >> error message on NT console is :
> >> **************************************************
> >> Sat Nov 04 15:43:14 GMT+05:30 2000:<E> <MulticastSocket> Multicast socket receive error: java.lang.R
> >> untimeException: I/O error opening JAR file from file:/mazaa/weblogic/weblogic/myserver/voter.jar
> >> <ServerClassLoader><W>: com.cot.eis.vl.eb_voter.VoterPK in not in archive java.util.zip.ZipFile@b902
> >> 66be
> >> java.util.zip.ZipException: error in opening zip file
> >> at java.util.zip.ZipFile.open(Native Method)
> >> at java.util.zip.ZipFile.<init>(ZipFile.java, Compiled Code)
> >> at java.util.zip.ZipFile.<init>(ZipFile.java, Compiled Code)
> >> at weblogic.boot.ServerClassLoader.deploy(ServerClassLoader.java, Compiled Code)
> >> at weblogic.cluster.AnnotatedServiceOffer.expandClassPath(AnnotatedServiceOffer.java, Compil
> >> ed Code)
> >> at weblogic.cluster.AnnotatedServiceOffer.readObject(AnnotatedServiceOffer.java, Compiled Co
> >> de)
> >> at weblogic.common.internal.WLObjectInputStreamBase.readPublicSerializable(WLObjectInputStre
> >> amBase.java, Compiled Code)
> >> at weblogic.common.internal.WLObjectInputStreamBase.readLeftover(WLObjectInputStreamBase.jav
> >> a, Compiled Code)
> >> at weblogic.common.internal.WLObjectInputStreamBase.readObjectBody(WLObjectInputStreamBase.j
> >> ava, Compiled Code)
> >> at weblogic.common.internal.WLObjectInputStreamBase.readObject(WLObjectInputStreamBase.java,
> >> Compiled Code)
> >> at weblogic.common.internal.WLObjectInputStreamBase.readObjectWL(WLObjectInputStreamBase.jav
> >> a, Compiled Code)
> >> at weblogic.common.internal.WLObjectInputStreamBase.readArrayList(WLObjectInputStreamBase.ja
> >> va, Compiled Code)
> >> at weblogic.cluster.StateDump.readObject(StateDump.java, Compiled Code)
> >> at weblogic.common.internal.WLObjectInputStreamBase.readPublicSerializable(WLObjectInputStre
> >> amBase.java, Compiled Code)
> >> at weblogic.common.internal.WLObjectInputStreamBase.readLeftover(WLObjectInputStreamBase.jav
> >> a, Compiled Code)
> >> at weblogic.common.internal.WLObjectInputStreamBase.readObjectBody(WLObjectInputStreamBase.j
> >> ava, Compiled Code)
> >> at weblogic.common.internal.WLObjectInputStreamBase.readObject(WLObjectInputStreamBase.java,
> >> Compiled Code)
> >> at weblogic.common.internal.WLObjectInputStreamBase.readObjectWL(WLObjectInputStreamBase.jav
> >> a, Compiled Code)
> >> at weblogic.cluster.TMSocket.execute(TMSocket.java, Compiled Code)
> >> at weblogic.kernel.ExecuteThread.run(ExecuteThread.java, Compiled Code)
> >> Sat Nov 04 15:54:24 GMT+05:30 2000:<E> <MulticastSocket> Multicast socket receive error: java.lang.R
> >> untimeException: I/O error opening JAR file from file:/mazaa/weblogic/weblogic/myserver/voter.jar
> >>
> >> error message on Solaris console is :
> >> ******************************************
> >> java.util.zip.ZipException: error in opening zip file
> >> at java.util.zip.ZipFile.open(Native Method)
> >> at java.util.zip.ZipFile.open(Compiled Code)
> >> at java.util.zip.ZipFile.<init>(Compiled Code)
> >> at java.util.zip.ZipFile.<init>(Compiled Code)
> >> at weblogic.boot.ServerClassLoader.deploy(Compiled Code)
> >> at weblogic.cluster.AnnotatedServiceOffer.expandClassPath(Compiled Code)
> >> at weblogic.cluster.AnnotatedServiceOffer.readObject(Compiled Code)
> >> at weblogic.common.internal.WLObjectInputStreamBase.readPublicSerializab
> >> le(Compiled Code)
> >> at weblogic.common.internal.WLObjectInputStreamBase.readLeftover(Compile
> >> d Code)
> >> at weblogic.common.internal.WLObjectInputStreamBase.readObjectBody(Compi
> >> led Code)
> >> at weblogic.common.internal.WLObjectInputStreamBase.readObject(Compiled
> >> Code)
> >> at weblogic.common.internal.WLObjectInputStreamBase.readObjectWL(Compile
> >> d Code)
> >> at weblogic.common.internal.WLObjectInputStreamBase.readArrayList(Compil
> >> ed Code)
> >> at weblogic.cluster.StateDump.readObject(Compiled Code)
> >> at weblogic.common.internal.WLObjectInputStreamBase.readPublicSerializab
> >> le(Compiled Code)
> >> at weblogic.common.internal.WLObjectInputStreamBase.readLeftover(Compile
> >> d Code)
> >> at weblogic.common.internal.WLObjectInputStreamBase.readObjectBody(Compi
> >> led Code)
> >> at weblogic.common.internal.WLObjectInputStreamBase.readObject(Compiled
> >> Code)
> >> at weblogic.common.internal.WLObjectInputStreamBase.readObjectWL(Compile
> >> d Code)
> >> at weblogic.cluster.TMSocket.execute(Compiled Code)
> >> at weblogic.kernel.ExecuteThread.run(Compiled Code)
> >> Sat Nov 04 15:55:09 GMT+00:00 2000:<E> <MulticastSocket> Multicast socket receiv
> >> e error: java.lang.RuntimeException: I/O error opening JAR file from file:/C:/we
> >> blogic/myserver/eb_arn.jar
> >>
> >> Regards,
> >> Jitendra Kumar
> >>
> >> Prasad Peddada <[email protected]> wrote:
> >> >Do you trouble deploying the app also.
> >> >
> >> >- Prasad
> >> >
> >> >Jitendra Kumar wrote:
> >> >
> >> >> Hi,
> >> >>
> >> >> Cluster configuration : 2 NT boxes WLS5.1(SP6). On one m/c weblogic
> >> >> is installed on drive C:\ and on another m/c weblogic is installed on drive D:\.
> >> >> i.e. all jars are at two place m/c 1 : c:\weblogic\myserver\*.jar
> >> >> m/c 2 : d:\weblogic \myserver\*.jar
> >> >> When servers startup successfully, error is coming :
> >> >>
> >> >> on the console of m/c 1 :
> >> >> java.lang.RuntimeException : I/O error opening JAR file from
> >> >> file:/d:/weblogic/myserver/eb_arn.jar
> >> >>
> >> >> on the console of m/c 2 :
> >> >> java.lang.RuntimeException : I/O error opening JAR file from
> >> >> file:/c:/weblogic/myserver/eb_arn.jar
> >> >>
> >> >> When both the weblgoic servers are installed on two machines and
> >> >> on same drive(c:\), this error is not coming.
> >> >> i.e. all jars are at two place m/c 1 : c:\weblogic\myserver\*.jar
> >> >> m/c 2 : c:\weblogic \myserver\*.jar
> >> >>
> >> >> Regards,
> >> >> Jitendra Kumar.
> >> >
> >
> >--
> >Cheers
> >
> >- Prasad
> >
> >
-
How to run jar file created with higher version on lower version ?
Hi,
I downloaded a jar file and trying to run it on Linux machine with Java version 1.4...
I got error that jar file complied with 1.5 version.
Is there any way to run it on 1.4 version. I don't want to upgrade Java version of my linux :)
Regards,
AjayEJP wrote:
On the contrary, the 'reality' is that it is better, and probably easier, once you analyse and present the comparative costs and risks correctly, to get the mandate lifted than to back-port code to platform levels for which it was not designed.The main blockade (judging by my observations) for actually doing it is that this is not a simple code change, which is what programmers really, really, really want to keep it within their comfort zone. All of a sudden you're tasked with software upgrades and the demands that it brings, such as testing to make sure everything still works properly and getting grumpy system's administrators to actually go do it.
I wouldn't be surprised that there are people out there that would rather back port a library than to take the initiative to get Java upgraded :/ -
Any documentation on running report 10g in linux server
Dear Gurus,
We are converting 6i reports to 10g reports. I need some documentation on how to run 10g reports in Linux Server! In windows environment working fine but need to test in Linux side! Pleas help thanks!Hi!
I have some questions about CopyApp utility. I am trying to Copy TestApp to Prod application. Those applications are on different Planning servers. Sql databases are on the same sql server. Olap applications cubes are on different essbase servers.
Is this syntax correct: (I think I can run this on Planning production server, or should I use Planning test server or does it matter when I use properties file???)
CopyApp /S:TestApp /T:ProdApp /P:\\D:\Hyperion\Planning\bin\Copyapp.properties
In the Copyapp properties file (using Sql):
Is this correct syntax (referring to syntax above, left out usernames and passwords etc)
App_JDBC_CATALOG=TestApp
App_JDBC_DRIVER=hyperion.jdbc.sqlserver.SQLServerDriver
App_JDBC_URL=jdbc:hyperion:sqlserver://XXX
App_JDBC_USERNAME=
App_JDBC_PASSWORD=
App_JDBC_DATABASE_TYPE=SQL
App_OLAP_SERVER= essbase server1
App_OLAP_USERNAME=
App_OLAP_PASSWORD=
App_OLAP_APPNAME=TestApp
App1_JDBC_CATALOG=Prodapp
App1_JDBC_DRIVER=hyperion.jdbc.sqlserver.SQLServerDriver
App1_JDBC_URL=jdbc:hyperion:sqlserver://XXX
App1_JDBC_USERNAME=
App1_JDBC_PASSWORD=
App1_JDBC_DATABASE_TYPE=SQL
App1_OLAP_SERVER= essbase server2
App1_OLAP_USERNAME=
App1_OLAP_PASSWORD=
App1_OLAP_APPNAME=ProdApp
Should I change something to make this work?
kind regards, user 637777
Edited by: user637777 on 3.10.2008 4:27 -
How to automount jAR file in Linux!
hello,
I am create JAR file. I want to put this JAR file in CD and if an user in linux platform can ablet to locate this JAR file in /usr/bin/myjar folder and open through java -jar jarFile.jar cmd using shell script. Is it possible to uto mount and auto run that JAR file in Linux.
How can find whether JRE is already installed in a system or not.Hi,
Is the Linux your client Platcform? If you want to execute something in the client, you need to use Webutil.
You can use something like,
You can use Client_Host from webutil to invoke an editor (say gedit for linux).
HTH.
Regards,
Arun -
Console not display when run jar file
i run jar file with command javaw -jar test.jar or double click on jar file, it's console app, it just run well but console not display, can i made console display and when i close console, it's stop jar file too?
thanksi got it, javaw = no console window, i tried java command and i got error: can not access jar file?
-
How to add a Jar file to J2EE Server Component Library ?
Hello,
My objective:
=====================================================
To add a 3rd party jar file to be a runtime jar file to J2EE Server Component
Library project.
I have created a J2EE Server Component Library project.
I have built the J2EE Server Component Library project to get the provider.xml file and place the provider.xml under the J2EE Server Component Library project's server folder.
Here is my problem:
=====================================================
I can't open the provider.xml with SAP's special editor for the provider.xml.
The special SAP editor doesn't exist for me.
Here is my question:
=====================================================
Q1) Do I copy/paste my JAR_X file where <jar_0> is located? (Below is the
J2EE Server Component Library SDA structure.)
Q2) If you were to update the provider.xml with notepad, what would you
type in provider.xml for JAR_X?
Q3) Is there anything else that I need to do?
Thanks,
Steve
J2EE Server Component Library SDA structure.
======================================
|-META-INF_
| |-manifest.mf
| |-sap_manifest.mf
| |-SearchRules.xml
| |-<SDA>.xml
| |...
|-<jar_0>
|- ...
|-<jar_N>
|-dispatcher_
| |-provider.xml
| |-properties
| |-runtime.properties
| |-persistent__
| | |-<persistent_files(2)>
| |-descriptors_
| |-<descriptor_files(3)>
|-server_____
| |-provider.xml
| |-properties
| |-runtime.properties
| |-persistent__
| | |-<persistent_files>
| |-descriptors_
| |-<descriptor_files>
|-os_libs____
|-<char set>__
|-<platform>__
|-<jvm bitlength>__
|-<native lib files>Thank you for all your solution...
my provider.xml was missing the <!DOCTYPE> tag for me to use the SAP LibraryDD Editor
Thanks again,
Steve
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE provider-descriptor SYSTEM "library.provider.dtd">
<provider-descriptor>
<display-name>
Your_Lib_Name
</display-name>
<component-name>
Your_Lib_Name
</component-name>
<major-version>6</major-version>
<minor-version>40</minor-version>
<micro-version>0</micro-version>
<provider-name>
sap.com
</provider-name>
<references>
<reference
provider-name="sap.com"
strength="weak"
type="library">Your_Lib_Name</reference>
</references>
<jars>
<jar-name>my_jar.jar</jar-name>
</jars>
</provider-descriptor> -
Connection refused Error while writing file to FTP server.
Hi All,
We got below error while writing file to FTP server. Any one have any idea on this?
sABCS_1.0_8e88588d4fb54ebd2ac7ef66c8421d52.tmp/writeEncryptedFile.wsdl [ Put_ptt::Put(opaque) ] - Could not invoke operation 'Put' against the 'FTP Adapter' due to:
ORABPEL-11429
Error sending file to FTP Server.
Unable to send file to server. [Caused by: Connection refused]
Please ensure 1. Specified remote output Dir has write permission 2. Output filename has not exceeded the max chararters allowed by the OS and 3. Remote File System has enough space.Hmmm ...
Same issue as your post from three months' earlier?
Re: Error while putting file in sftp location. -
Hi,
, to start a jar file in Linux from a file.. how can i do that?... like a .*bat file in windows, or a script file in unix...
Thanks verry much, and sorry my english, (i'm form .UY :) )java -jar yourJar.jar should work for you. You could create an executable shell script to perform this or setup a file association to execute the file using java -jar whenever you bonk on it.
-
I received Multicast socket receive error when I tried to restart the weblogic cluster in our pre-prod box.
The error message I received lkie this:
Multicast socket receive error: java.lang.RuntimeException: I/O error opening JAR file from file:/vol01/sites/vinlkup/site/versionc/local_classes/VIN/DeliveryTypeLookupEJB.jar
Yuping,
What release of WLS w/ service pack are you using? Make sure, if you are using a non-shared file system, to have the same absolute paths to your application on your file systems.
yuping xu wrote:
> I received Multicast socket receive error when I tried to restart the weblogic cluster in our pre-prod box.
> The error message I received lkie this:
> Multicast socket receive error: java.lang.RuntimeException: I/O error opening JAR file from file:/vol01/sites/vinlkup/site/versionc/local_classes/VIN/DeliveryTypeLookupEJB.jar
Maybe you are looking for
-
EFI/refind boot- how to get kernel vmlinuz in /boot/efi/EFI/arch?
I have a MacBook Pro Retina (10,2) running arch. It EFI boots using rEFInd, booting from /boot/efi/EFI/arch. This problem has been happening since I first installed the system in July - when I use pacman to update to the latest kernel, the mkinitcpio
-
Unable to restore backed up files after recovery
I had to do a system recovery, and in the process backed up my files. After recovery, I updated Microsoft and HP files, installed Norton 360, Office 2007, Outlook, and Nikon photo software. I then tried to restore my backed up files. Every time a
-
Iphone 4 sending messages from my email not phone number
Yesterday when texting some of my friends they did not know who I was , I then found out my email address was showing up not my phone number. What is going on with this? My phone is up to date and this seems to only happen when I message people with
-
New IPad resets itself in mid-call using FaceTime???
Using my New IPad, 16gb, wi-fi only this morning, doing FaceTime, in the middle of the call, the screen went blank, and the iPad appeared to completely reset itself; that is, the screen went completely blank and after a few seconds, the apple logo c
-
SATA Cable -- How Do I Get the One I Need?
I'm in need of Part 697736-001, a SATA 3 Cable, 330MM, JS+. The links on the HP website (Contact Reseller) are dead ends. I've tried and a supply company has tried to find the right cable. Hey HP, help me out here!