Meir Yan

Ranch Hand
+ Follow
since Apr 27, 2006
Cows and Likes
Total received
In last 30 days
Total given
Total received
Received in last 30 days
Total given
Given in last 30 days
Forums and Threads
Scavenger Hunt
(keep public parts private until JForum day)
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt
Moderation Tools

Recent posts by Meir Yan

hey thanks for the replay ,
well the ""Project does not exist" ignore it i just wanted to print screen with.
when i do : netstat -lnp it gives me single 8111 port opend
2 years ago
I try to remote debug Tomcat web app which are running in linux
i started the tomcat with:

in the

and then i start tomcat with :

when i do netstat -a | grep 8111 i get :

In windows , im using eclipse Version: Mars.1 (4.5.1)
i configured the remote debug

pressed debug , and i see the connection established both in server
and in windows eclipse like this :

and in Linux server when i do netstat -a | grep 8111
i see :

from my experience when the sources are not the same eclipse throw some error massage. and in this case no error has Thrown.
the code are the same in both sides
i set allot of break points in eclipse , the source are the same
but no breakpoints are stooping ... is it a bug ?

2 years ago
thanks for the fast reply
so if i can't rename the main war file, i just need to rename the context.xml to console.xml
great i will try it
5 years ago
in simple words if i like to serve in this url : http://xx.xx.xx.xx:8888/console/ws/WsEndpoint
and my webapp called MyAppGW what shell i do ?
5 years ago
i did what you say and created the file under META-INF/context.xml
looks like this :

when tomcat starts it creates me the dirctory under conf\Catalina\localhost\
called : MyAppGW.xml with the context.xml content.
the problem is when i try to invoke the method to the old url , it failed and gives me :

5 years ago
Can you please tell me how should this configuration look like , in for example i want to create file under : META-INF/context.xml?
just simple create context.xml file and put this: init :
<Context docBase="MyAppGW" path="/console" reloadable="true" /> ?
5 years ago
Thanks for the replay , but no . my war is MyAppGW.war .
it creates me and i dont know why another directory called "console"
i dont have any console.war .
and i dont know why could be because i configured in the server.xml
5 years ago
in my tomcat i need to create url to access that is different from my web app name so according to the web info i found , in server.xml in tomcat i added :

where MyAppGW is the directory of my web app then in MyAppGW web.xml i added :

so when i give to external client the url http://xx.xx.xx.xx:8888/console/ws/WsEndpoint it connects to my web app. every thing is working fine and great except that when i look in my tomcat webapps i see 2 directors is this normal ?:

the console is the same as the MyAppGW. i suspect this give me problems with other frameworks in my web app like log4j not Rolling and creating duplication of log files .
5 years ago
Hi and thanks for the reply , well from what i see your configuration is like my . except i dont need time based rolling only size of file based rolling
and this configuration used to work before very well i dont know why in this tomcat web app it acting like this .
also the logging doesn't give me much info
5 years ago
i have in my tomcat web application log4j that is configured like this :

configured 100kb just to get quick test results , any way it seams like log4j roll the log only once and each time he detects that he need to make roll it just changes the previous file name and keep outputting to the main log file , i set log4j debug mode and the output it gives me looks like this :

as you can see it renaming me the myapp_gw.log.8 to myapp_gw.log.9 but doesn't keep the myapp_gw.log.8 ,
i need it to keep as i configured history of 15 files . what i need wrong here ?
5 years ago
i thing the answer is just " the client have to have the wsdl"
ok i found about the -wslocation parameter
6 years ago
well the only indecation in the client stubs is in :

in the stub
what im doing wrong
6 years ago
i forget the last sentence in the question ,
The error as you see that it tryes to read the wsdl file from which i compiled the stubs.
why , i dont need the wsdl after i already have the stubs , don't i ?
6 years ago
i have client wsdl , from it i generated java stubs like this:

now in the client i want to be able to set dynamic endpoint urls, after reading few post here i did it like this:

but when it come to real invocation of the client im getting this exception:

any idea why ?
6 years ago
im building JAXWS client , one of the methods get XMLGregorianCalendar . now i need to format this data 2011-11-06T14:34:16.679+02:00 to be set into XMLGregorianCalendar. how can it be done .
the date is taken from sniffing other clients that connecting to the WS server .
6 years ago