Thanks for your help. With the debugging tip you gave me, I was able to
figure it out.
It turns out that the problem was Class B trying to reference class A?
grant codeBase "file:Z:/CDAILY/WEB-INF/classes/-" {
permission java.lang.RuntimePermission "accessDeclaredMembers";
permiss
"Dola Woolfe" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Hi,
>
> This question will reveal how little I know about
> networking or http or something else.
>
> Basically I wrote an applet that sends data to a
> servlet. I do it by forming a url with a query string
> (GET). But t
As far as I can tell, the JSTL actions are supposed to close
the connections that they use. I can't say for sure, because *my* way
of dealing with this is to never access the database directly in a
JSP. :-)
--
Len
On 1/20/06, Alex Turner <[EMAIL PROTECTED]> wrote:
> How do you deal with this when
how to increase limit of Xmx?
i use suse linux enterprise server 9, but i need to increase the limit of Xmx
so it can become more than 1800m?
Thanks
Andri
-
What are the most popular cars? Find out at Yahoo! Autos
Hi Dola
yes you can use POST for an unlimited amount of data but of course you'll
need to set your http headers correctly, specifically the Content-Length header.
-- Original message --
From: Dola Woolfe <[EMAIL PROTECTED]>
> Hi,
>
> This question will reveal
...
I'm trying to write a facade API that will call into whatever
Realm/Authenticator that the user already has configured (though an
abstract/overridden method)... the idea being that no changes to the
user's existing auth config or modules are required, nor that the user
should need to change
For reasons that are difficult to predict or calculate,
some other protection domain (i.e. codeBase) for somebody
in the stack may be missing this permission. I've given
up trying to figure these out after the obvious doesn't
fix it.
Try adding:
-Djava.security.debug=access,failure
to your Tom
Maybe you don't even want a connection pool, rather a simple
non-pooling datasource. If you generate a pool of connections for
each and every database, you may end up with a great many open
connections to your database server that hardly ever get used. I
don't know too much about MySQL, but in m
In a previous life, I worked on a portal-type enterprise application in
which a single deployment supported multiple customers. For each
deployment, there was a master database, and n customer databases, one per
customer. The general mechanism we used there was to put the connection
pool connecti
--- Leon Rosenberg <[EMAIL PROTECTED]>
wrote:
> On 1/20/06, Dola Woolfe <[EMAIL PROTECTED]> wrote:
> > Hi,
> >
> > This question will reveal how little I know about
> > networking or http or something else.
> >
> > Basically I wrote an applet that sends data to a
> > servlet. I do it by forming
Dola Woolfe wrote:
Hi,
This question will reveal how little I know about
networking or http or something else.
Basically I wrote an applet that sends data to a
servlet. I do it by forming a url with a query string
(GET). But this doesn't work when there's too much
data.
What are my options?
I
Pulkit Singhal gmail.com> writes:
>
> > Using RemoteAddrValve as subelement won't work, as will
> >apply to both, any suggestions?
>
> Why not just do:
>
>
>
>
> http://www.mydomain.com/>" .. >
>
>
>
Pulkit,
that option is not possible since both domains are served b
On 1/20/06, Dola Woolfe <[EMAIL PROTECTED]> wrote:
> Hi,
>
> This question will reveal how little I know about
> networking or http or something else.
>
> Basically I wrote an applet that sends data to a
> servlet. I do it by forming a url with a query string
> (GET). But this doesn't work when the
Hi,
This question will reveal how little I know about
networking or http or something else.
Basically I wrote an applet that sends data to a
servlet. I do it by forming a url with a query string
(GET). But this doesn't work when there's too much
data.
What are my options?
Is it possible to use P
I'm trying to get my app to run under the security manager and I'm hitting
some problems.
I have class B, derived from class A, in Jar B in the WEB-INF/lib directory
Class A is in Jar A in the shared/lib directory.
I created an entry in the catalina.policy file:
grant codeBase "file:${catalina
I've got a project where there's a basic interface, with some basic
database access. However, when someone "signs up", then a new MySQL
database will be allocated for them. There's security associated with
it, and the user will have to log in to identify himself.
How can I create a new connect
Just wanted to point out that on #1 below: many real world environments
have web servers in a DMZ and a firewall between their web servers an
app servers. The default assumption should be that AJP connections can
and are frequently broken. Firewalls will do this to you.
I'm curious why tomcat a
I'm trying to get my app to run under the security manager and I'm hitting
some problems.
I have class B, derived from class A, in Jar B in the WEB-INF/lib directory
Class A is in Jar A in the shared/lib directory.
I created an entry in the catalina.policy file:
grant codeBase "file:${catalina
philguillard wrote:
> digest="MD5"/>
>
>
>
> DIGEST
> Protected area
>
You are using DIGEST authentication AND digested passwords. You need
to generate the digest differently in this case. See
http://tomcat.apache.org/tomcat-5.5-doc/realm-howto.html
Mark
Ken Johanson wrote:
> Mark Thomas wrote:
>> Ken Johanson wrote:
>>> I am able to access the current context's org.apache.catalina.Realm
>>> object using Yoav Shapira's Tomcat-Realm example; however, when I call
>>> Realm.authenticate(String user, String pass), the Principal object that
>>> it retur
Paul Singleton wrote:
>Unless you specify the key with (works
>with 5.5.9 and later, dunno about older versions)
>then it seems to pick an arbitrary one (the newest?)
Thank you for your effort to reply me.
I didn't specify the keyAlias. I was using 5.5.12.
I didn't spend time on that. I just del
I'm running Tomcat 5.0.30 and Apache 2.0 (both are running fine and without
errors).
I've connected them using mod_jk2, and I can see that apache is correctly
forwarding URLs specified in the workers2.properties file correctly.
I am now attempting to map a test servlet called "SimpleServlet" t
> Using RemoteAddrValve as subelement won't work, as will
>apply to both, any suggestions?
Why not just do:
http://www.mydomain.com/>" .. >
Ofcourse I'm pretty new to this so you might see some cons to this :)
Cheers,
- Pulkit
On 1/20/06, Patricio Keilty <[EMAIL PROTEC
Hi Pulkit,
Thanks for the suggestions. After MUCH testing and searching, it did turn
out to be the LDAP's configuration and not Tomcat. I verified this by
authenticating to another test LDAP server we had. The original LDAP we
were authenticating to isn't commercial or publicly distributed softw
How do you deal with this when using pure JSTL sql calls using a
connection? How does JSTL sql library release the connection at the
end of a page to ensure that connections don't get leaked? For the
case when I'm using a servlet, I have put in an explicit close() call
on the connection, but some
> From: Scott Purcell [mailto:[EMAIL PROTECTED]
> Subject: reload when class file is updated
>
> I gave you the history above, because maybe having
> different context entries is screwing things up.
Definitely don't want to have the specified in more than one
place; can result in the app being
Hello,
I am working on a webapp that was originally a war file. The war
extracted to abc context.
Some background:
The war file when deflated (automatically) created a
/abct/META-INF/context.xml and inside had the abc context information.
I added reloadable=true like so there inside the M
I am running Tomcat 5.5.12.
I have noticed with lsof that every time a CGI script is executed within
Tomcat, the number of file descriptors used by Tomcat increases by 1. Once in a
while, the number of file descriptors drops to its initial level. However, I am
seeing many instances where the n
Hi,
I've been getting the following mod_jk errors and wondered whether they were
serious or not because the Tomcat I use is running for about 10 minutes then
falls over with a coredump. This has been happening all day.
[Fri Jan 20 17:16:49 2006] [info] jk_ajp_common.c (1225): All endpoints a
> -Original Message-
> From: Alex Turner [mailto:[EMAIL PROTECTED]
> Subject: Re: Connection Pool Woes
>
> It looks like the connection object was not being garbage collected
> promptly (imagine that), and because it wasn't explicitly closed, it
> was just hanging open until garbage co
It looks like the connection object was not being garbage collected
promptly (imagine that), and because it wasn't explicitly closed, it
was just hanging open until garbage collection happened (I'm more used
to python's garbage collector that is a bit more prompt).
Alex
On 1/20/06, Duan, Nick <[E
I found the reason it was failing (but not yet the cure..), just in case others
might hit this
When tomcat was started (through Eclipse), it was running the security
manager (-Djava.security.manager -Djava.security.policy="C:\Program
Files\Apache Software Foundation\Tomcat 5.5\conf\cat
Hello,
Thanks a lot for your answer! I am suprprised that HTTPClient then does
not give an error message!
I will take a look at FileUpload!
Thanks again.
Geir Ove
-Original Message-
From: Markus Schönhaber [mailto:[EMAIL PROTECTED]
Sent: 20. januar 2006 17:33
To: Tomcat Users List
Sub
Geir Ove Skjaervik wrote:
> I am running Tomcat 5.5 locally on my computer under Windows XP Pro. I
> am trying to upload a simple 1 line text file to the server to a
> directory called "uploads" located directly under ROOT.
>
> I am uses the Jakarta HTTPClient and the MultipartFileUploadApp example
Hi,
I need to restrict access to my webapp to some IP adresses on a per-domain name
basis. In our tomcat server we are using an element to serve both
domains from same host as the following config shows:
www-i.mydomain.com
Is it possible to use a RemoteAddrValve for each domai
Hello fellow tomcat users,
I have a problem with how IE works on Win XP SP2. I did not find
anything in the archives so posting it here.
I have a web page with an activex control in it served through a
servlet. the javascript in the webpage interfaces with the activex and
then refreshes the page t
> So, presumably, your app already breaks if a user uses the 'Refresh'
> button on the page, even pre-SP2?
Its a quickly passing intermediate page, that checks for a few things
on the end user pC and sends a report back to the server. Ofcourse the
app breaks if the user uses the 'Refresh' button,
> Having said that, what you suggest below is interesting and I
> will address once I have "hello world" on XP working
"I'll fix the broken configuration after I have it running"? Maybe
not the ideal approach. :-)
Configuration is not broken..as I said it is running on HP...but th
g m wrote:
> This problem is 'windows' (yes, spealt...B:A:D)..related.
probably. :-)
> Same code works on the unix box. Not sure why it be different.
>>"WARNING: A docBase C:\Program Files\Apache Software Foundation\
>>Tomcat 5.5\webapps\DBS3 inside the host appBase ...
Many people have r
> From: Snow white [mailto:[EMAIL PROTECTED]
> We use a
> cookie to maintain the state that determines what is sent to the
> client, and we update the cookie in every response of this URL
> request.
So, presumably, your app already breaks if a user uses the 'Refresh'
button on the page, even pre-
The only way to close db connections is to do within your servlet/jsp
application, i.e. java.sql.Connection.close(). But remember, the sql
connections in the web apps are not the physical connections. The
physical connections are maintained by the db pool and they will remain
open after the conne
> From: Alex Turner [mailto:[EMAIL PROTECTED]
> Subject: Connection Pool Woes
>
> I have a server that is set to maxThreads="5", maxSpareThreads="5",
> and when I use a Simply Data Source, that does not pooling, if I hit
> the page a lot, I get over 30 connections opened, with database
> connecti
As I said before, ojdb14.jar is your best bet and yes it is for JDK1.4 or
JDK1.5. I would not have both JAR files in the same directory. Try
ojdbc14.jar alone and see if it works.
Ritchie
>>> [EMAIL PROTECTED] 20/01/2006 6:06 am >>>
hello,
i was searching Oracle 8i driver for jdk1.5
Hi all,
I am having some problems to import to TomCat one certificate already
installed on IIS. The .PFX file (backup certificate) was created, I exported
it to one .PEM file thru openssl but I can't import it to my keystore
because the error "Public keys in reply and keystore don't match" is
> From: jerome lacoste [mailto:[EMAIL PROTECTED]
> Subject: RELEASE NOTES wording/JNI
>
> Let's call:
> - conditionA code inside the web app
> - conditionB application is reloaded
>
> so that the text says:
>
> if (conditionA AND conditionB)
> then the issue appears
>
> if (!conditio
I am using Tomcat 5.5.12 on RedHat ES 4.
I have a server that is set to maxThreads="5", maxSpareThreads="5",
and when I use a Simply Data Source, that does not pooling, if I hit
the page a lot, I get over 30 connections opened, with database
connections that are not closing quickly at all. If thi
Hi Bernard,
This problem is 'windows' (yes, spealt...B:A:D)..related.
This application needs to run on a HP Unix box but the development is
happening on a XP pc using Eclipse (don't ask...;-)) . It actually works if I
place the exact resource entry I posted in the
"catalina/localhos
Hi,
I use tomcat-5.5.12, a Realm in memory, and decided a DIGEST password
with MD5, i use firefox 1.0.6. I can't pass the authentication. Have
nothing in logs. Any idea for what i missed there or what i should try?
Regards,
Phil
In conf/server.xml :
digest="MD5"/>
In my web.xml :
DIGES
Tim Funk joedog.org> writes:
>
> Actually - it might be more like
> http://issues.apache.org/bugzilla/show_bug.cgi?id=37627
>
> -Tim
Thanks Tim!
--p
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mai
I don't know the answer to your question, but out of curiosity, what
additional services beyond a servlet container (Tomcat) or application
server (JBoss, etc.) are you looking for?
I would guess, to run a java web hosting service, you're going to need
to be pretty Tomcat- or JBoss-knowledgabl
No we don't really change much for JVM params, we use -Xms128m -Xmx512m
for memory on this machine - that's about it.
>>> [EMAIL PROTECTED] 20/01/2006 12:48:57 >>>
@Jonathon:
Do you use any special switches for the JVM? We're using the same
switches
which worked fine for us when running the syst
gupta vidhi wrote:
hello,
i got the following info. from oracle.com : -
Setting Up Your Environment
--- On Windows platforms:
- Add [ORACLE_HOME]\jdbc\lib\classes12.jar to your CLASSPATH if you
use JDK 1.2 or 1.3.
- Add [ORACLE_HOME]\jdbc\lib\ojdbc14.jar to
Since the element is outside of the server.xml file, you don't
need the 'path' attribute. From
http://tomcat.apache.org/tomcat-5.5-doc/config/context.html
"The value of this field [path] must not be set except when statically
defining a Context in server.xml, as it will be inferred from the
filen
It is specified in the servlet spec as all caps WEB-INF. See SRV.9.5 of
servlet spec 2.4 for more info. I don't know where this would be in any
previous servlet spec, but do know it's been this way for a few previous
servlet specs.
--David
Dhaval Patel wrote:
Hello all Tomcat Guys,
Thi
Yes
Le Vendredi 20 Janvier 2006 14:36, Dhaval Patel a écrit :
> Hello all Tomcat Guys,
>
>This is just curiousity.
>
>Why "WEB-INF" folder has to be in capital letters? Is it becuase of J2EE
> specification?
>
> Regards,
> D
>
> __
> Do
The port number should not be necessary in the URL if connecting to the
default web ssl port of 443. Virtually all browsers know 443 is the
default port to use for https protocol connections. Doesn't hurt to
specify the port -- just shouldn't be necessary. It's like having to
spec port 80 fo
"If the above code were placed in a class inside the web application
(i.e. under /WEB-INF/classes or /WEB-INF/lib), and the application
were reloaded, the loadLibrary() call would be attempted a second
time.
To avoid this problem, place classes that load native libraries outside of the
web applica
Hello all Tomcat Guys,
This is just curiousity.
Why "WEB-INF" folder has to be in capital letters? Is it becuase of J2EE
specification?
Regards,
D
__
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://ma
The classpath should not be used in tomcat except where abolutely
necessary. Tomcat has it's own classloader hierarchy to find jar files
and dynamically add them. To that end, the tomcat start-up scripts
explicitly ignore classpath on startup. Put your classes12.jar or
ojdbc14.jar in just on
Thanks Mladen for your suggestions.
But I have to make clear that we just started with a minimum configuration
for the workers.
So we had 3 workers defined using the following config:
worker.worker_1.host=localhost
worker.worker_1.port=8009
worker.worker_1.type=ajp13
worker.worker_2.host=localh
I'm using Tomcat 5.5, JDK 1.5, JDBC 8.1.7.0.0 on 8i on W2K SP4 + RHEL V.4
with zero problems (using classes12.jar)
Tim
-Original Message-
From: gupta vidhi [mailto:[EMAIL PROTECTED]
Sent: Friday, January 20, 2006 6:52 AM
To: Tomcat Users List
Subject: Re: Oracle 8i JDBC Driver for jdk1.5
I don't think oracle has 1.5 specific drivers. ojdbc14 should suit well on 1.5
jvm
Le Vendredi 20 Janvier 2006 12:52, gupta vidhi a écrit :
> i'm using jdk1.5.0.02, Tomcat 4.1.31 & JDBC 8.1.7.0.0 on WIN
> 2000 & Oracle 8i.
>
>
>
> David Delbecq <[EMAIL PROTECTED]> wrote:
On 1/20/06, gupta vidhi <[EMAIL PROTECTED]> wrote:
> hello,
>
> i was searching Oracle 8i driver for jdk1.5, but not getting.i had
> downloaded classes12.jar from oracle.com and saved in my
>
>c:\Program Files\Tomcat\jakarta-tomcat-1.4.31\webapps\ROOT\WEB-INF\lib\
>
> Is this path correct
i'm using jdk1.5.0.02, Tomcat 4.1.31 & JDBC 8.1.7.0.0 on WIN
2000 & Oracle 8i.
David Delbecq <[EMAIL PROTECTED]> wrote:
Did you try using the 1.4 version on 1.5 jvm?
Le Vendredi 20 Janvier 2006 11:23, gupta vidhi a écrit :
> hello,
>
> i got the following info. from ora
Ok, I have tried itit fails ..or maybe I am helping it fail?
Been fighting with it all morning..I followed your email and the
doc...here are my entries/values..any opinions on what else to try?
1. Resource entry values
2. web.xml entry
Sybase Connec
Did you try using the 1.4 version on 1.5 jvm?
Le Vendredi 20 Janvier 2006 11:23, gupta vidhi a écrit :
> hello,
>
> i got the following info. from oracle.com : -
>
> Setting Up Your Environment
> --- On Windows platforms:
> - Add [ORACLE_HOME]\jdbc\lib\classes1
hello,
i got the following info. from oracle.com : -
Setting Up Your Environment
--- On Windows platforms:
- Add [ORACLE_HOME]\jdbc\lib\classes12.jar to your CLASSPATH if you
use JDK 1.2 or 1.3.
- Add [ORACLE_HOME]\jdbc\lib\ojdbc14.jar to your CLASSPATH if you
Jonathon Reeve wrote:
Well I'm glad someone else is getting this, even if you have no idea
either. We wondered if we were missing some configuration from
workers.properties, since the "quick start" section
(http://tomcat.apache.org/connectors-doc/howto/quick.html) on
Tomcat's site gives an exampl
Well I'm glad someone else is getting this, even if you have no idea
either. We wondered if we were missing some configuration from
workers.properties, since the "quick start" section
(http://tomcat.apache.org/connectors-doc/howto/quick.html) on
Tomcat's site gives an example "minimum workers.prope
hello,
i was searching Oracle 8i driver for jdk1.5, but not getting.i had downloaded
classes12.jar from oracle.com and saved in my
c:\Program Files\Tomcat\jakarta-tomcat-1.4.31\webapps\ROOT\WEB-INF\lib\
Is this path correct or i've to store it in my ORACLE_H0ME\jdbc\lib ?
may be
I have read your reply. It is valuable to me. Thanks.
May I suggest this idea:
>> Server certificate:
>> The certificate for the engine with alias "tomcat"
>> The certificate for a specific host
>> The certificate for a specific web-app
>> If a web-app doesn't have a certificate, it
Agreed! Simple no-nonsense description - I shall give it a 'whirl' .
Thanks Len - your on my Xmas list ;-)
"Durfee, Bernard" <[EMAIL PROTECTED]> wrote:
Excellent! That is the exact documentation that should be on the Tomcat
site. It would also be nice to see a quick description of ho
Dear All,
Is it possible to download a complete java web hosting solution, i.e. software
that would let me run a java web hosting service?
Do you know any particular vendor who offers such a solution?
Thanks in advance,
Michał.
> -Original Message-
> From: Chris Abajian [mailto:[EMAIL
73 matches
Mail list logo