Themuppeteer
Programmer
Hello Guys,
I have a J2ee application client that wants to connect over the internet to
my application server (jboss), now I have changed the protocol to http and on localhost it works, but my first test over the internet gives me the following error:
java -Djava.naming.provider.url=jnp://xx.xx.xxx.xxx:8080 -Djava.naming.factory.initial=org.jnp.int
erfaces.NamingContextFactory -Djava.security.policy=file:rmi.policy -jar MoehahaEXE.jar
('Het systeem kan het opgegeven bestand niet vinden' = 'the system can not find the specified file'.)
log4j:ERROR Could not read configuration file from URL [jar:file:/C:/myclient/MoehahaEXE.jar!/log4j.prop
erties].
java.util.zip.ZipException: Het systeem kan het opgegeven bestand niet vinden
at java.util.zip.ZipFile.open(Native Method)
at java.util.zip.ZipFile.<init>(Unknown Source)
at java.util.jar.JarFile.<init>(Unknown Source)
at java.util.jar.JarFile.<init>(Unknown Source)
at sun.net. Source)
at sun.net. Source)
at sun.net. Source)
at sun.net. Source)
at sun.net. Source)
....
and log4j.properties is in my jar file.
I didn't ask for it, it is just put in there by JBuilderX.
I just want this to work with or without logging.
Just deleting the log4j.properties files only generates other errors...
any thoughts ?
thnx
Greetz,
NOSPAM_themuppeteer@hotmail.com (for mails, remove the NOSPAM_)
"Those who say they understand chess, understand nothing"
-- Robert HUBNER
I have a J2ee application client that wants to connect over the internet to
my application server (jboss), now I have changed the protocol to http and on localhost it works, but my first test over the internet gives me the following error:
java -Djava.naming.provider.url=jnp://xx.xx.xxx.xxx:8080 -Djava.naming.factory.initial=org.jnp.int
erfaces.NamingContextFactory -Djava.security.policy=file:rmi.policy -jar MoehahaEXE.jar
('Het systeem kan het opgegeven bestand niet vinden' = 'the system can not find the specified file'.)
log4j:ERROR Could not read configuration file from URL [jar:file:/C:/myclient/MoehahaEXE.jar!/log4j.prop
erties].
java.util.zip.ZipException: Het systeem kan het opgegeven bestand niet vinden
at java.util.zip.ZipFile.open(Native Method)
at java.util.zip.ZipFile.<init>(Unknown Source)
at java.util.jar.JarFile.<init>(Unknown Source)
at java.util.jar.JarFile.<init>(Unknown Source)
at sun.net. Source)
at sun.net. Source)
at sun.net. Source)
at sun.net. Source)
at sun.net. Source)
....
and log4j.properties is in my jar file.
I didn't ask for it, it is just put in there by JBuilderX.
I just want this to work with or without logging.
Just deleting the log4j.properties files only generates other errors...
any thoughts ?
thnx
Greetz,
NOSPAM_themuppeteer@hotmail.com (for mails, remove the NOSPAM_)
"Those who say they understand chess, understand nothing"
-- Robert HUBNER