Re: javaagent initialization (premain-method) not triggered by tomcat 7.0.52

2014-04-30 Thread Fredrik
Konstantin Kolinko skrev 2014-04-30 01:17: 2014-04-29 12:28 GMT+04:00 Fredrik : Hello. We're using jamm (https://github.com/jbellis/jamm) a java agent for measuring object memory usage, passing the javaagent argument to tomcat as "-javaagent:../../tomcat/webapps/ROOT/WEB-INF/lib/jamm

Re: javaagent initialization (premain-method) not triggered by tomcat 7.0.52

2014-04-30 Thread Fredrik
Konstantin Kolinko skrev 2014-04-30 01:17: 2014-04-29 12:28 GMT+04:00 Fredrik : Hello. We're using jamm (https://github.com/jbellis/jamm) a java agent for measuring object memory usage, passing the javaagent argument to tomcat as "-javaagent:../../tomcat/webapps/ROOT/WEB-INF/lib/jamm

Re: javaagent initialization (premain-method) not triggered by tomcat 7.0.52

2014-04-30 Thread Fredrik
Konstantin Kolinko skrev 2014-04-30 01:17: 2014-04-29 12:28 GMT+04:00 Fredrik : Hello. We're using jamm (https://github.com/jbellis/jamm) a java agent for measuring object memory usage, passing the javaagent argument to tomcat as "-javaagent:../../tomcat/webapps/ROOT/WEB-INF/lib/jamm

Re: javaagent initialization (premain-method) not triggered by tomcat 7.0.52

2014-04-29 Thread Fredrik
Christopher Schultz skrev 2014-04-29 17:38: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Fredrik, On 4/29/14, 4:28 AM, Fredrik wrote: Hello. We're using jamm (https://github.com/jbellis/jamm) a java agent for measuring object memory usage, passing the javaagent argument to tomc

javaagent initialization (premain-method) not triggered by tomcat 7.0.52

2014-04-29 Thread Fredrik
ading to 7.0.52 the initialization code of the agent (premain-method) isn't called anymore. Any ideas? Regards /Fredrik - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

RE: 404 - Might there be something wrong with my permissions?

2013-11-21 Thread Fredrik Andersson
> read, it looked fine when I send it!My apologies for that!I will start to > investigate your advice right away!Sounds really interesting!I will get back > as soon I got any new info!Best regards and thanks alot again!/Fredrik > > > Date: Thu, 21 Nov 2013 17:10:58 +0400 &

RE: 404 - Might there be something wrong with my permissions?

2013-11-21 Thread Fredrik Andersson
Hello Konstantin!Thanks for your reply!Yes the message got really hard to read, it looked fine when I send it!My apologies for that!I will start to investigate your advice right away!Sounds really interesting!I will get back as soon I got any new info!Best regards and thanks alot again!/Fredrik

404 - Might there be something wrong with my permissions?

2013-11-20 Thread Fredrik Andersson
Hello Tomcat-experts! I have recently bought some space at a webhotel that uses Apache HTTP server as front before a Tomcat 6.0.37.My account at the webhotel is said to support Struts and Hibernate and such technics.At home I have developed a app that uses those technics and of course it runs fi

RE: Blocking threads in Tomcat

2008-07-01 Thread Fredrik Tolf
sly (apparently due to the pipelining of requests, it would seem). When I tried with two wget processes instead, it actually worked as it should. Thanks for the lead, and sorry for the unnecessary commotion! Fredrik Tolf - To

Re: Blocking threads in Tomcat

2008-07-01 Thread Fredrik Tolf
a.lang.Object.wait(Object.java:485) at org.apache.tomcat.util.threads.ThreadPool $ControlRunnable.run(ThreadPool.java:656) - locked <0x95401098> (a org.apache.tomcat.util.threads.ThreadPool $ControlRunnable) at java.lang.Thread.run(Thread.java:619) Except one, which is tryi

Blocking threads in Tomcat

2008-06-30 Thread Fredrik Tolf
for tab 1 will finish at 12:00:20, and the request for tab 2 will finish at 12:00:30. Why is this? Is Tomcat explicitly not handling two requests for the exact same URL in parallel? It is the only explanation I can think of, but I cannot figure out how or why it wo

Re: First JSP page, Can't get Tomcat to show jsp-pages

2008-01-11 Thread Fredrik Bonander
Hi, Thanks for your response! I have no idea what the problem was, but I deleted the entire tomcat library. And installed it again, and ops it works now, I probably messed it up! ..fredrik On Jan 10, 2008, at 10:30 PM, Dmitriy Fitisov wrote: Set a breakpoint in your's servlet init

Re: First JSP page, Can't get Tomcat to show jsp-pages

2008-01-10 Thread Fredrik Bonander
Any idea which jar i might be? In the my web-app I have only the test.jsp and WEB-INF/web.xml. ..fredrik On Jan 10, 2008, at 5:34 PM, Propes, Barry L wrote: sounds like you're either missing a jar file or have it in the wrong location. -Original Message- From: Fredrik Bon

First JSP page, Can't get Tomcat to show jsp-pages

2008-01-10 Thread Fredrik Bonander
rary/Frameworks/JavaVM.framework/Versions/ CurrentJDK/Home Please help, any hints, link are most welcome! ..fredik -- Cloud Nine Fredrik Bonander Frontend Developer - the infinite power of the creative mind - Linnégatan 89 E Box 10304 100 55 Stockholm Sweden Tel: +46 (0) 8 - 663 44 00 Mail: [EMAIL PRO

Re: SSO ID in the first request

2007-03-14 Thread Fredrik Tolf
ok at webservices. Thanks for the tip, but I think any SSO hack would be far easier to implement and maintain than starting to use web services. Fredrik Tolf - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe

SSO ID in the first request

2007-03-13 Thread Fredrik Tolf
t, so that it exists when the client comes back. 3. Use reflection somehow to fetch the SSOID cookie from the SSO valve. I don't think this is possible, though, thanks to Tomcat's protection against reflection from webapps.

Wrong charset (is UTF-8 should be ISO 8859-1)

2007-01-04 Thread Sköldheimer Fredrik
n running the page on tomcat but ISO 8859-1 when running it on a apache http server? Fredrik Sköldheimer IT-konsult Telefon: Växel: Direkt: E-post: +46 36 32 65 64 +46 36 32 40 00 265 64 [EMAIL PROTECTED] IT-centrum Box 1024 551 11 Jönköping

how do I restrict access to folder?

2006-12-12 Thread Sköldheimer Fredrik
s the other xhtml files but you should not be able to reach them directly. Ex. - index.xhtml -- [templates] someTemplate.xhtml In witch I want to restrict access to all files in the [templates] folder. How do I accomplish this? /Fr

Re: Tomcat configuration error

2006-06-19 Thread Fredrik Andersson
configure tomcat like I want it to. Anyways, thanks a bunch for your help and patience. Really appriciated =) Den 6/17/2006, skrev "Fredrik Andersson" <[EMAIL PROTECTED]>: >ok, thanks a bunch :) > >Sadly I'm away over the weekend and can´t test the configuration j

Re: Tomcat configuration error

2006-06-17 Thread Fredrik Andersson
anywhere on the file system, for example /tmp/SCM > and put SCM.xml inside TC_HOME/conf/appserver/RM2/ > and inside SCM.xml do > The app will get deployed once as "/" > >Filip > > >Fredrik Andersson wrote: >> ok, the application I want to launch is SM

Re: Tomcat configuration error

2006-06-16 Thread Fredrik Andersson
ps) >so which one is the webapp, RM2 directory, or the SCM directory? > >They key to your problem though, is probably the >instead of > >Filip > > >Fredrik Andersson wrote: >> ok, and my R2M.xml configuration file should reside inside of >> $CATALINA_HOME/a

Re: Tomcat configuration error

2006-06-16 Thread Fredrik Andersson
debug="0"/> > > > >docBase="SMC" >reloadable="true" >debug="0"/> > >I changed three things >1. Host.appBase >2. Context.path >3. Context.docBase > >Filip > > &g

Re: Tomcat configuration error

2006-06-16 Thread Fredrik Andersson
/appserve/R2M/SMC.xml and it holds Did I set this up wrong? Den 6/16/2006, skrev "Filip Hanik - Dev Lists" <[EMAIL PROTECTED]>: >Fredrik Andersson wrote: >> Hi all >> >> Ok so heres the deal. I want my tomcat installation (5.5.17) to load >> pages f

Tomcat configuration error

2006-06-16 Thread Fredrik Andersson
Hi all Ok so heres the deal. I want my tomcat installation (5.5.17) to load pages from /var/www/webapps/R2M/SMC I´m also running a virtual host setup so I edit my server.xml file and point the appBase for the directory to /var/www/webapps and then I have the context part of the configuration insi

Re: replace tomcat Status report

2006-06-14 Thread Fredrik Andersson
Hi there I belive you should be able to edit you web.xml with info to overwrite the default error pages. Never done it myself but it´s a hint. =) Good luck Den 6/14/2006, skrev "Dean Hiller" <[EMAIL PROTECTED]>: >I guess I should add that my partner did add this stuff to our >ROOT.war(we delete

Fwd: Re: Tomcat only shows blank pages

2006-06-14 Thread Fredrik Andersson
file is not fund) or some problems with Java (I did get jsp files to show up and then rebooted my system and now I only get blank pages) Thanks for youre help --- Ursprungligt meddelande --- Datum: 6/14/2006 Från: "Fredrik Andersson" <[EMAIL PROTECTED]> Ämne: Re: Tomcat only s

Re: Tomcat only shows blank pages

2006-06-14 Thread Fredrik Andersson
Appreciates the help Den 6/14/2006, skrev "Mark Thomas" <[EMAIL PROTECTED]>: >Fredrik Andersson wrote: >> Hi all >> >> I´m trying ot set up an RHEL 4.3 server station with Apache ontop of >> Tomcat using the mod_jk connector. >> >> When Apache

Tomcat only shows blank pages

2006-06-14 Thread Fredrik Andersson
Hi all I´m trying ot set up an RHEL 4.3 server station with Apache ontop of Tomcat using the mod_jk connector. When Apache forwards pages to Tomcat all I get is empty white pages. I have no idea what is up with that and no clue on how to solve it. Any help on this would be great. Thanks =)

RE: session trakking in jsp or in Bean

2006-01-12 Thread Fredrik Rubensson
attributes. If you have users that log in and out you probably should set some user identifying info in the session and a filter to makes sure that the user is logged in for certain requests. Regards, Fredrik - To unsubscribe, e-

RE: java.lang.Class.getResourceAsStream() throws ClassCastException

2006-01-11 Thread Fredrik Rubensson
sions, platform and so on. Regards, Fredrik The stack trace -- java.lang.reflect.InvocationTargetException at sun.reflect.NativeConstructorAccessorImpl.newInstance0 (Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance (NativeConstructorAcces

RE: error Ljavax/servlet/http/HttpServletRequest

2006-01-11 Thread Fredrik Rubensson
OO and its use in Java.) Anyway, this means that there is no method in your class com.MyBean called getMessage that returns an instance of javax.servlet.http.HttpServletRequest. It would be interesting to know why you are passing around the HttpServletRequest in this

RE: Concept for modeling hierarchical data

2006-01-10 Thread Fredrik Rubensson
ends on what you will be using this tree of data for, how will you access it and what technology will be used? Will it be read-only or both reads and writes? Volumes? Number of users? If data is to be updated by several users I think youl should definitely use a

RE: Tomcat 5.5.x and java 1.4.x

2006-01-10 Thread Fredrik Rubensson
7;t quoted out of > context: I know the details. And just maybe there may be class files in the jar files? Fredrik - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Avoid duplication of database settings

2006-01-10 Thread Fredrik Rubensson
access the database directly (for performance reasons). I have some SQL scripts that need the database info so I use filtering anyway both as a way to have the configuration values in one place and as a way to easily build for different environments. Regards, Fredrik

RE: [SPAM] - Re: Avoid duplication of database settings - Number of numbers in MIME From exceeds maximum threshold

2006-01-10 Thread Fredrik Rubensson
scripts that need the database info so I use filtering anyway both as a way to have the configuration values in one place and as a way to easily build for different environments. Regards, Fredrik - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: Tomcat IIS-redirector help

2006-01-09 Thread Fredrik Rubensson
level. That's the way I have done it. Maybe it doesn't work if you add it directly on the website itself? Fredrik - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: Tomcat IIS-redirector help

2006-01-09 Thread Fredrik Rubensson
at. - The only part that isn't documented is the one you just managed to do regarding the "Web Services Extensions". All the details is in the official documentation for JK. Follow the link and good luck with the tweaking. Regards, Fredrik Rubensson

RE: JasperException: No tag "xhtml" defined in tag library associated with uri "urn:jsptagdir:/WEB-INF/tags

2006-01-09 Thread Fredrik Rubensson
e of the taglib. The exception misses "tags" while you are downloading "xtags". May be one of those silly things... Hope this helped, Fredrik Rubensson - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: jsp cannont find my bean class

2006-01-09 Thread Fredrik Rubensson
ccess it with http://localhost:8080/mygoodapp/jsppage.jsp assuming that you have a default installation of tomcat. Regards, Fredrik Rubensson - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: [SPAM] - Avoid duplication of database settings - Number of numbers in MIME From exceeds maximum threshold

2006-01-09 Thread Fredrik Rubensson
need on file I guess.) If you are using Maven there is some more support for filtering although the ant task still needs to be called explicilty. Regards, Fredrik Rubensson - To unsubscribe, e-mail: [EMAIL PROTECTED] For

IIS connector (JK-1.2.15) fails to call Tomcat - returns 404

2006-01-03 Thread Fredrik Rubensson
ch ajp13w -> /vbc [Tue Jan 03 08:24:15 2006] [1444:3060] [debug] jk_isapi_plugin.c (845): check if [/vbc] is points to the web-inf directory [Tue Jan 03 08:24:15 2006] [1444:3060] [debug] jk_isapi_plugin.c (863): [/vbc] is a servlet url - should redirect to ajp13w Any help would be highly appreicated. Regards, Fredrik Rubensson - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]