You can try with jcifs (http://jcifs.samba.org/).
It should allow you to access a remote share using a different user context,
though I'd reccommend using a dedicated account for this kind of job.
Hope it helps,
b.
nitin403 wrote:
Juha Laiho wrote:
nitin403 wrote:
I have create a
Thanks for your help.
I will try JCIFS.
Your are correct about using a dedicated account.
But on the tomcat server which I am deploying the servlet, has other
servlets and It is not feasible for me to change its access rights.
Once again thanks a lot.
br1 wrote:
You can try with jcifs
Hi all,
I just got my JAAS example working on Tomcat 6.0. To accomplish that I
created a directory in webapps called myjaas, placed my jsp file, and
jaas.config file in that directory, and placed my jar-file in
myjaas\WEB-INF\lib. Next I added the placement of my jaas.config to the
'Java
I am trying to get Tomcat going on a windows machine. There are
running and woking installations of
Java 2 Standard Edition Development Kit version 2, update 6, with JRE
and Java Web Start
Apache 2.0.58
Tomcat seems to install fine; I have created and checked the paths of
the system variables
Chris,
To answer your question, Chris, I do a post to j_security_check. Actually,
my login link really just does a GET for a secured resource and Tomcat
serves up a standard j_security_check form. I only post j_username and
j_password, so don't expect max size to be a problem. I was not able
Thank you very much for replying. The tomcat version is 5.5 and Java version
is 1.5.0_14 and platform is Windows XP.
The class is located in webapps/axis/WEB-INF/classes/WebService.class
Thanking you,
Faisal
David Smith-2 wrote:
Hi Faisal.
Could you post a few very important additional
I've also found the TcpDump tool available from Microsoft's website
extremely helpful in looking at this stuff.
I would say it should be safe to stop the instance of java.exe holding
on to 8005, but you should try to be sure it's not used for anything.
Various third party software companies
Thanks David,
I have used this form of the url as well but with the same
result.
Thanks any way,
Faisal
David Smith-2 wrote:
I mean the path to cib.expserver.plugin.basics.ExpressServer, which your
tomcat is complaining about not being able to find.
Anyway... taking a
I mean the path to cib.expserver.plugin.basics.ExpressServer, which your
tomcat is complaining about not being able to find.
Anyway... taking a closer look at the code you posted, I think the URI
you are using won't work
file:/c:Tud/Server/program/bin should probably be more like
David Smith wrote:
I mean the path to cib.expserver.plugin.basics.ExpressServer, which your
tomcat is complaining about not being able to find.
Anyway... taking a closer look at the code you posted, I think the URI
you are using won't work
file:/c:Tud/Server/program/bin should probably be
I wonder if the OP means the shutdown password? That's in server.xml,
and the only consequence of changing it that I know of is that your
shutdown script needs to be kept in sync. with this or it won't work.
--
Mark H. Wood, Lead System Programmer [EMAIL PROTECTED]
Typically when a software
Hello,
I have an application that needs to use server side includes (SSI ).
The jsp server side includes work well from the ROOT application, but I
am unable to use the jsp from another context as a server side include.
I searched the archives and found other folks with this issue, but no
Try using:
URLClassLoader pluginClassLoader =
new URLClassLoader(pluginURLs,
Thread.currentThread().getContextClassLoader());
-Tim
Faisal wrote:
Hello,
I can execute the following java code in a standalone application very well
but when i put the same code in a web service and deploy it on
netstat -a | grep 8005
Sverige Altid
Martin-
- Original Message -
From: Ljuba Veselinova [EMAIL PROTECTED]
To: Tomcat Users List users@tomcat.apache.org
Sent: Friday, December 14, 2007 7:18 AM
Subject: Re: Tomcat does not stay on as a windows service
Apache is running but it uses port
I'm guessing you mean switch OFF.
Apart from chucking the connector config from the XML, not really.
One kludge: you could try and make the connector port a property,
Connector port='${foo}' ..
And on startup with JAVA_OPTS='-Dfoo=-1' and ignore the exception which
gets thrown by tomcat. (I
Hi Faisal.
Could you post a few very important additional details?
Tomcat version
Platform
Tomcat relative path to the class/jar you're having trouble with.
--David
Faisal wrote:
Hello,
I can execute the following java code in a standalone application very well
but when i put the same code
Hello,
I can execute the following java code in a standalone application very well
but when i put the same code in a web service and deploy it on the Tomcat
5.5 then it gives error:
exception classNotFoundException: can not find the class
cib.expserver.plugin.basics.ExpressServer
Some one
I found info about netstat in the windows help files. I apologize for
this simple question. I'm looking at the results produced by netstat
and tasklist right now.
It looks like java is listening to port 8005; there appear to be two
instances of java.exe running and each one of them is listening
Ljuba Veselinova wrote:
Apache is running but it uses port 80. As far as I can tell (via the
Task manager panel) there are no other instances of tomcat running on
the machine. How do I check what's running specifically on port 8005?
If you're using XP or better
netstat -ano
will show you
Hello All,
I'm looking for a method how I can switch of a configured connector.
Do you know any system property or other possibility for it ?
Thanks:
Robert
Apache is running but it uses port 80. As far as I can tell (via the
Task manager panel) there are no other instances of tomcat running on
the machine. How do I check what's running specifically on port 8005?
Thanks a lot for answering!
Ljuba
On Dec 14, 2007 12:37 PM, dirk ooms [EMAIL
there is another process that already uses port 8005. check whether there are
other servers (apache?) or instances of tomcat running on your machine.
dirk
On Friday 14 December 2007 12:31, Ljuba Veselinova wrote:
I am trying to get Tomcat going on a windows machine. There are
running and
I have tried to kill java.exe that's listening to port 8005 several
times now without success. How do I assign other ports to either
java.exe or tomcat?
Thanks,
Ljuba
On Dec 14, 2007 2:48 PM, David Smith [EMAIL PROTECTED] wrote:
I've also found the TcpDump tool available from Microsoft's
From: Bill Clarke-Fields [mailto:[EMAIL PROTECTED]
Subject: Tomcat Process Memory Leak?
Any ideas about what could be causing this? I realize it
could be an application-related leak
Not just could be, it almost definitely is, since this behavior isn't
seen normally.
but in that case
Thanks for the reply Per...
Tomcat and IIS are running on the same machine, with no external load
balancer or firewall between IIS and Tomcat.
When the connection is lost, IIS displays either service is unavailable or
a 503 error message.
I only have maxThreads=400, because I didn't think it
Hi All,
I am looking for some help. We are running into what appears to be a memory
leak situation. The Java heap usage looks fine, but the overall Tomcat
process memory usage continuously goes up and up, until it reaches the
Windows 2GB per process limit, at which point it crashes.
Using the
I don't think that's the best solution. The java.exe which is bound to
8005 is probably your tomcat service
started but not active. From previous emails I assume you are running
under Windows.
Here's a suggestion (you may have tried this)
1. Go to the windows services manager and make sure
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Steve,
Steve Mitchell wrote:
I saw a connection already closed message from one of my DAOs and I
found a SQLExceptions from MOD_JK.
mod_jk shouldn't be throwing any exceptions. I think you mean that the
database driver is doing that.
It looks
Travis Haagen wrote:
Hello,
I've got IIS 6.0 linked with Tomcat 5.5.25 (with JDK 1.5.0_14-b03 and
AJP dll) via the ISAPI connector (JK 1.2.25) on Windows 2003 Server,
and during high traffic periods, the connection between IIS and
Tomcat is being severed. This has been occurring in the
Dan wrote:
Hi,
I notice that this issue has been marked fixed, but the comments on there
indicate that the bug isnt actually fixed, and that the problem remains.
Indeed, looking in the source of 5.5.25 it does not seem to contain the code
in the patch in this issue.
The actual patch
Any ideas about what could be causing this? I realize it could be an
application-related leak, but in that case wouldn't we see it running out
of
heap?
Server-side application leaks are really hard to figure out, because they
usually only happen in a high-traffic production environment and
Thank you Alan and Markus!
I followed the instructions of both you and I kept getting info (via
netstat) about a java.exe listening on port 8005 on localhost. I went
and uninstalled both Tomcat and java; made sure all references to them
are gone from the system variables and also deleted their
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf
Of Ljuba Veselinova
Subject: Re: Tomcat does not stay on as a windows service
However, after all this, I am still getting info about two instances
of java.exe listening on several ports, one of which is 8005.
You have one or more
I've proposed a patch for this behavior
http://svn.apache.org/viewvc?view=revrevision=604274
http://svn.apache.org/viewvc/tomcat/tc6.0.x/trunk/STATUS.txt?r1=604274r2=604273pathrev=604274
Filip
Filip Hanik - Dev Lists wrote:
that's correct, that's how it works.
I'll go over the specs to see if
I've proposed a patch for this behavior
http://svn.apache.org/viewvc?view=revrevision=604274
http://svn.apache.org/viewvc/tomcat/tc6.0.x/trunk/STATUS.txt?r1=604274r2=604273pathrev=604274
Filip
Filip Hanik - Dev Lists wrote:
hi Chris, Paul Dumais just posted the same issue. I've been bit by it
Travis
take a look at this excerpt from Tomcat committer Mladen Turk..
Just like Apache Web server for Windows, Microsoft IIS maintains a separate
child process and thread pool for serving concurrent client connections. For
non server products like Windows 2000 Professional or Windows XP the
I want to create a webapp that just lists the content of a directory -
but I don't want to turn on directory listing globally.
I've seen lots of people say it can be done, just do but I've yet
to find a working example. Can someone tell me what I'm missing here?
I have a file:
There is a typo in the below.
This
tomcat/server/webapps/billing/WEB-INF/web.xml
Should have been
tomcat/server/webapps/foo/WEB-INF/web.xml
So thats not the problem.
Dan
On Dec 14, 2007 3:10 PM, Dan Armbrust [EMAIL PROTECTED] wrote:
I want to create a webapp that just lists the content of
From: Dan Armbrust [mailto:[EMAIL PROTECTED]
Subject: directory listings per webapp
Context path=/foo docBase=/dir/foo debug=0 privileged=false
/Context
Broken record: take out the path attribute; it's not allowed (but it's
not this problem).
servlet-mapping
Looks like you have an invalid / missing server.xml file.
Dan
On Dec 12, 2007 3:35 AM, marsulein [EMAIL PROTECTED] wrote:
System configuration is as follow:
OS : Windows 2003 Server
Tomcat: 4.1.36
JSDK: 1.4.2.13
Attached are the error logs generated by tomcat.
From: Dan Armbrust [mailto:[EMAIL PROTECTED]
Subject: Re: directory listings per webapp
I made those two changes - but I still don't get any directory listing
What do you get?
Did you restart Tomcat (or insure that the webapp was otherwise
redeployed)?
What version of Tomcat are you using?
I made those two changes - but I still don't get any directory listing
(I can get a file if I name it specifically - so I know that that
context is working)
Is my path correct for the web.xml file? Or am I missing something else?
Thanks,
Dan
On Dec 14, 2007 3:17 PM, Caldarale, Charles R
Probably not. You specified a docBase of /dir/foo for the foo webapp,
but appear to have been editing webapps/foo/WEB-INF/web.xml, which is
not where you've told Tomcat the app is deployed. It's extremely bad
practice to have a directory under the Host appBase that's the same as
one for an
From: Dan Armbrust [mailto:[EMAIL PROTECTED]
Subject: Re: directory listings per webapp
Thanks a lot. I'll see if I can get access to
http://wiki.apache.org/tomcat/FAQ/Miscellaneous and update the answer
to this question - since the current answer is pretty poor.
In what way? It
I will be out of the office starting 12/14/2007 and will not return until
01/02/2008.
I will respond to your message when I return, but can be reached at 952 836
4385.
On Dec 14, 2007 4:17 PM, Caldarale, Charles R
[EMAIL PROTECTED] wrote:
From: Dan Armbrust [mailto:[EMAIL PROTECTED]
Subject: Re: directory listings per webapp
Thanks a lot. I'll see if I can get access to
http://wiki.apache.org/tomcat/FAQ/Miscellaneous and update the answer
to this
My Tomcat directory is c:\Tomcat6\apache-tomcat-6.0.14. I tried starting
startup.bat but got the error:
The CATALINA_HOME environment variable is not defined correctly This
environment variable is needed to run this program
My CATALINA_HOME environment variable is set to
Mark Thomas [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Dan wrote:
Hi,
I notice that this issue has been marked fixed, but the comments on there
indicate that the bug isnt actually fixed, and that the problem remains.
Indeed, looking in the source of 5.5.25 it does not seem
Hello
I am trying to trace database connection leak from my application installed
in Tomcat 6.0. I have set up the connection with logAbandoned=true. But
I do not see log trace. How do I enable this log trace.
Regards
Sam
--
View this message in context:
49 matches
Mail list logo