I use :
http://www.eapps.com
And also used
http://www.spinweb.net
both have different offers ranging to Virtual Private Servers to Dedicated
ones.
they also have both great expertise and support.
Note that eapps.com is an official; JBoss partner, thus providing full
support of Tomcat.
Hopes thi
Hello,
I had the same question in my mind some time ago. I have a web application
which creates a timer in a context listener init(), which wakes up in 30seconds
or so, and destroys the timer in context listener destroy(). It should complete
its processing before server stops, so I did some ex
When i try to delete a record my tomcat gives following error
error:
java.lang.IllegalStateException
my code fo delete is
<%
if(del!=null) {
System.out.println("in delete");
if(Item_con == null ) {
throw new Exception() ;
FYI, I did a little research... the 2.4 DTD states the affinity of the
element as ?, so you are allowed at most a single auth
method. So, while you can of course configure as many constraints as
you want, they all must share the same method, one per context. This
means that, in answer to my
I have confirmed this error on a clean XP install (completely virgin,
nothing but up to date patches installed) with clean JDK 1.5_06 setup.
The installer ID'ed the JRE correctly and tray applet is running.
This problem is repeatable on many various XP installs, real and
virtual, dev and non-dev.
> From: erha [mailto:[EMAIL PROTECTED]
> Subject: Re: tomcat examples
>
> I have the same problem here.
No, you have a completely different problem.
> And below is the error from the log file for my case. Anybody
> body know what is wrong ?
>
> java.lang.ClassFormatError: Extra bytes at the e
> From: Konstantin L Kouptsov [mailto:[EMAIL PROTECTED]
> Subject: Re: tomcat examples
>
> Thanks for the answer. As far as the second part is
> concerned, I found that I needed to stick path="/foo" reloadable="true" docBase="C:\bar"
> workDir="C:\bar\work" /> in the
> $CATALINA_HOME/conf/serv
I have the same problem here. Have you managed to solved your problem ?
Rudy
--
View this message in context:
http://www.nabble.com/Tomcat-5.5.16---Error-configuring-application-listener-of-class-listeners.ContextListener-t1292922.html#a3487618
Sent from the Tomcat - User forum at Nabble.com.
I have the same problem here.
And below is the error from the log file for my case. Anybody body know what
is wrong ?
Mar 20, 2006 12:29:31 AM org.apache.catalina.core.StandardContext
listenerStart
SEVERE: Error configuring application listener of class
listeners.ContextListener
java.lang.ClassF
Thanks for the answer. As far as the second part is concerned, I found
that I needed to stick docBase="C:\bar" workDir="C:\bar\work" /> in the
$CATALINA_HOME/conf/server.xml file, and it works.
As far as examples are concented, I have installed everything, so the
examples with all the files a
Yeah, well, UserDatabase didn't really attract many followers :). It's a
nice concept, with a really s*cky implementation (esp. how it works with
/admin :). At one point, there was an attempt at a JDBC UserDatabase, but
it fizzled.
Short story: You're not missing anything. UserDatabase is c
> From: Konstantin L Kouptsov [mailto:[EMAIL PROTECTED]
> Subject: tomcat examples
> However, when I try to access "JSP examples" or "servlet
> examples" in the left panel menu, I get a 404 page
Sounds like something in your installation failed to complete, or
perhaps you've got a file permissi
> From: Vikram [mailto:[EMAIL PROTECTED]
> Subject: Clean Install - examples do not work
>
> In tar file that I downloaded from Apache site has the
> truncated file name.
There's nothing wrong with the tar file - use a real (GNU-compatible)
tar utility. If you'd looked at the README you would
Indeed it is!
Frank W. Zammetti wrote:
String myString = "ABCDEFG";
int myInt = (int)myString.charAt(1);
Even simpler than VB :)
Frank
David Kerber wrote:
To be more specific than my last message, my ultimate goal is to be
able to do something like:
String myString = "ABCDEFG"
Integer
On 3/17/06, Mark Lowe <[EMAIL PROTECTED]> wrote:
> Thats the 2.3 and 2.4 specs btw.. the 2.2 doesn't have section 12.5
> and the authentication section is section 11..
>
> Anyhow without getting into all that cellar dwelling, i dont think
> that there's a restriction on the amount of securit contra
Hi again,
> There's some good, in-depth discussion in the archives. It
> needs some updating, but:
> http://www.distributopia.com/servlet_stuff/background_threads.html
>
> is also reasonably informative.
Thanks a lot for mentioning this article - wow i think i could have
caused troubles on my
Hello,
I am trying to learn using tomcat and writing servlets. After I
installed Tomcat 5.5.16 for windows and pointed my browser to
localhost:8080, I can see the tomcat page. However, when I try to access
"JSP examples" or "servlet examples" in the left panel menu, I get a 404
page (The req
Hello List... my first attempt at i18n is failing.
I've converted MS smart quotes to utf 2019 symbol (right single quote) in my VIM
editor after setting encoding to UTF-8. The quote displays ok in vim but in the
browser it displays badly ( in firefox - a+circumflex, and IE -
a+circumflex+garbag
String myString = "ABCDEFG";
int myInt = (int)myString.charAt(1);
Even simpler than VB :)
Frank
David Kerber wrote:
To be more specific than my last message, my ultimate goal is to be able
to do something like:
String myString = "ABCDEFG"
Integer myInt = myString.whateverMethod( myString.su
--- Richard Mixon <[EMAIL PROTECTED]> wrote:
> Dola,
>
> For the last couple of years I have used the Sysdeo
> plugin with good
> success.
>
> But since December the all-in-one bundle of Eclipse
> with the Eclipse Web
> Tools Project has been available. This is a
> completely integrated build th
> Integer myInt = myString.asc( myString.substring( 1, 2 )) // would
> return 66 if the asc() method existed
int b = (int)myString.charAt(1);
or, in 1.5
int b = (int)(myString.substring(1,2).charAt(0)));
?
in java you don't need asc, since each char can be assign to an
integer an vice versa
L
Hi Everybody,
I got working container JAAS authentication (area protected by url set in
web.xml), I also know how to authenticate against JAAS. But what I cannot sort
out is how to programatically force container to authenticate (from login
dialog), i.e., how to get principal to the session/htt
Hi,
I'm trying to configure Tomcat (5.5) with a DataSource realm the "proper"
way. Configuring a DataSourceRealm directly is fine
http://tomcat.apache.org/tomcat-5.5-doc/manager-howto.html#List%20Available%20Security%20Roles>.
But also to conform with the sample server.xml given at install, w
To be more specific than my last message, my ultimate goal is to be able
to do something like:
String myString = "ABCDEFG"
Integer myInt = myString.whateverMethod( myString.substring( 1, 2 ))
// should return 66
I can do this by going through a byte[], but was looking for a more
straight f
Not a char, a String (or more specifically, a specific character
extracted from a String).
Nic Daniau wrote:
Hum... I am missing something or you just want to cast a char to a byte/int
in Java?
char x = 'B'; // or "Bravo".charAt(0) if you start with a string
byte y = (byte) x;
System.out.pr
Hum... I am missing something or you just want to cast a char to a byte/int
in Java?
char x = 'B'; // or "Bravo".charAt(0) if you start with a string
byte y = (byte) x;
System.out.println("y=" + y); // should give you 66
and vice-versa:
char z = (char) y;
System.out.println("z=" + z); // should
I've never used char types; I'm so used to using Strings I don't even
think of it. Thanks!
Frank W. Zammetti wrote:
The first 127 characters of Unicode are in fact ASCII (might be the
first 255, I'm not sure, but the first 127 for sure). In other words,
it you do:
int i = (int)'A';
will
Thanks!
Artur Rataj wrote:
char is a numeric type. You might try this code as an example:
char c = 32;
c += '@';
if(c > 31) System.out.println(c + " = " + (int)c);
The exception is it adds to strings as a character, thus the cast is needed.
Regards,
Artur
-
Hi, All,
I want to start tomcat by program, but I also need a JNDI data source.
Could anyone tell me how to config a Tomcat JNDI data source by program,
or any method let the data source configuration file work?
Minilin
Hi All,
May be experts do not need the examples running but they seem to be broken
for a long time as evidenced by several posts on the web. I could not get an
answer as what is the fix.
In tar file that I downloaded from Apache site has the truncated file name.
$ tar tvf jakarta-tomcat-5.0.28.t
The first 127 characters of Unicode are in fact ASCII (might be the
first 255, I'm not sure, but the first 127 for sure). In other words,
it you do:
int i = (int)'A';
will result in i=65, the ASCII value for A. char is a numeric type
remember, so you don't really have to cast to int, I just
char is a numeric type. You might try this code as an example:
char c = 32;
c += '@';
if(c > 31) System.out.println(c + " = " + (int)c);
The exception is it adds to strings as a character, thus the cast is needed.
Regards,
Artur
--
I know "Ascii value" isn't quite the correct term, but it's the only one
I could come up with.
What Im trying to come up with is the simplest way of coming up with the
numeric value associated with a given character, and to go back the
other direction as well. In VB, these are the ASC() and c
You can also try using the TimerTask, as follows:
In the context.xml create a bean as follows:
The TimerBean can be very simple. I typically have an init(),
destroy(), and setters for the parameters (setParam1, setParam2).
The Bean needs to create a Timer and can be used to invoke a
Tim
Never really done this myself, but there is something about host aliases in
the docs for 5.5:
http://tomcat.apache.org/tomcat-5.5-doc/config/host.html#Host%20Name%20Aliases
Does this help?
Nic
On 19/03/06, Matt Anderson <[EMAIL PROTECTED]> wrote:
>
> Hi All,
>
> I was configuring the virtual host
35 matches
Mail list logo