[JBoss-user] [The Lizzard's corner] - Can we get *just* the slides for webinars

2005-03-07 Thread camel
I wanted to watch the mod_jk webinar but the audio quality is really bad, I can't understand much of it. Can we get just the PDF (or PPT or whatever) slides for download? thanks View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3869101#3869101 Reply to the

[JBoss-user] [Persistence CMP/JBoss] - Re: JBoss 4.0.1 final - I get

2004-12-30 Thread camel
Thanks Scott, this resolves it for me. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3860161#3860161 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3860161 --- The SF.Net

[JBoss-user] [HTTPD, Servlets JSP] - Re: virtual hosts / jboss-web.xml

2004-12-30 Thread camel
Just put one entry in your jboss-web..xml: jboss-web | virtual-hostwww.foobar.com/virtual-host | context-root//context-root | /jboss-web | And then add the [Alias] tag to your [Host] entry in server.xml (under deploy/jbossweb-tomcat50.sar): ... | Host name=www.foobar.com |

[JBoss-user] [Persistence CMP/JBoss] - Re: JBoss 4.0.1 final - I get

2004-12-29 Thread camel
Alex, I'm only accessing the database through hibernate. I'm not even using Hibernate's direct SQL queries -- only HQL, and session.load() calls. Thanks, chris View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3860084#3860084 Reply to the post :

[JBoss-user] [Persistence CMP/JBoss] - JBoss 4.0.1 final - I get Closing a connection for you now

2004-12-28 Thread camel
I just upgraded to JBoss 4.0.1 final from 4.0.0, and now I get Closing a connection for you. Please close them yourself: [EMAIL PROTECTED] errors a lot -- appears to be every time a DB call is made. The app appears to work (it gets the data from the DB ok). I didn't change anything else in

[JBoss-user] [HTTPD, Servlets JSP] - Re: Force static images to be cached in browser

2004-12-14 Thread camel
Instead of a servlet, you can use a Filter, which you can apply to *.gif, for instance. For details, see http://www.onjava.com/pub/a/onjava/2004/03/03/filters.html View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3858483#3858483 Reply to the post :

[JBoss-user] [Installation Configuration] - Re: NullPointerException in PreparedStatementCache.ageOut

2004-12-03 Thread camel
http://www.google.com/search?sourceid=navclientie=UTF-8q=PreparedStatementCache%2EageOut+jboss View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3857410#3857410 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3857410

[JBoss-user] [HTTPD, Servlets JSP] - Re: Servlet Blocking until crtl + c

2004-12-01 Thread camel
If you're running under Windows, make sure you have Quick Edit mode off (don't select console text with the mouse, it blocks the program): click in the top left icon of that window - properties - quick edit mode - uncheck the box Less likely, but if under unix/linux, don't hit control-S in the

[JBoss-user] [HTTPD, Servlets JSP] - Re: Why is JSTL not included?

2004-11-25 Thread camel
My understanding is that JSTL (including the expression language (EL)) is fully supported by Tomcat 5+, which ships with current versions of JBoss. I'm using JSTL and EL under JBoss 3.2.6 and 4.0.0. I did have a problem initially with JBoss (an older version, maybe 3.2.3) finding the JSTL

[JBoss-user] [HTTPD, Servlets JSP] - Re: Why is JSTL not included?

2004-11-25 Thread camel
Actually I just checked, and I DO have jstl.jar and standard.jar in my /WEB-INF/lib/ directory of my war file. I tried removing them and I got an exception javax.servlet.ServletException: org.apache.taglibs.standard.tag.rt.core.IfTag. So it would seem you do need those jar files in the

[JBoss-user] [Persistence CMP/JBoss] - Re: ApplicationDeadlockException

2004-11-16 Thread camel
I had the same problem and found the wiki useful, as well as the discussion in the docs about deadlocks. Wiki: http://www.jboss.org/wiki/Wiki.jsp?page=CMPLocking Docs: http://docs.jboss.org/jbossas/admindevel326/html/ch5.chapter.html#ch5.entitylock.sect I started using the Instance Per

[JBoss-user] [Beginners Corner] - Re: JBoss prefixing table names with X

2004-11-11 Thread camel
sasoj wrote : I spend a whole day debuging a problem that involved a database table called user. Finally, discovered that user is a reserved word (defined in standardjbosscmp-jdbc.xml in conf). Removing the user from that list solved the problem. | | I really don't like how this problem

[JBoss-user] [HTTPD, Servlets JSP] - Re: JSP is generating blank lines at the beginning

2004-09-10 Thread camel
Use a servlet instead, where you can better control the output, or run your jsp tags all together on the same line (no newlines between them): % // code here %jsp:foobar.../ instead of on separate lines like: % // code % jsp:foobar.../ Hmm another idea just popped in to my mind, you may be

[JBoss-user] [Persistence CMP/JBoss] - Re: how to use QL to have a case insensitive String compare?

2004-08-25 Thread camel
I like the UCASE solutions posted here better, but what I'm doing for MySQL has been working: I changed the standardjbosscmp-jdbc.xml file, changing the java.lang.String mapping from a VARCHAR(250) BINARY to just VARCHAR(250), and MySQL does a case-insensitive compare by default I guess. It

[JBoss-user] [Beginners Corner] - Re: Regular expression problem

2004-08-24 Thread camel
ltcmelo wrote : filter-mapping | filter-nameInitializationFilter/filter-name | url-pattern/*[^/login.jsp]/url-pattern | /filter-mapping | ... | What am i doing wrong??? I don't think the servlet spec supports regexes. It just supports the *.jsp and

[JBoss-user] [The Lizzard's corner] - Re: What is the biggest site using JBoss ?

2004-07-24 Thread camel
Michael, Thanks for the follow-ups. Have you gotten your MySQL settings figured out? If so, could you share them? I haven't switched my JMS to use MySQL instead of Hypersonic yet and I'd like to. (Although I'll mention that I haven't had a single JBoss crash, but my site and JMS usage is

[JBoss-user] [Persistence CMP/JBoss] - Re: Serialized CMP goes to org.jboss.invocation.MarshalledVa

2004-07-07 Thread camel
Sorry about the lame message subject CMP, I thought I entered a more descriptive one when I posted. The subject should be something like: Re: Serialized CMP goes to org.jboss.invocation.MarshalledValue -- why? View the original post :

[JBoss-user] [Persistence CMP/JBoss] - CMP

2004-07-06 Thread camel
My goal is to store large amounts of text in a DB column -- as much as, say, 100,000 characters. So I used an Object CMP type and pass in a StringBuffer that just gets serialized. This is working fine, but I noticed that the serialized data type in the DB is

[JBoss-user] [HTTPD, Servlets JSP] - external static directories under 3.2.4

2004-06-25 Thread camel
I'm looking at http://www.jboss.org/wiki/Wiki.jsp?page=ExternalDirectories and trying what it says there to serve static content, and I'm getting a 404 error message: The requested resource (/images/) is not available. I have the following line in my section of server.xml: Context

[JBoss-user] [Installation Configuration] - Re: How do I configure JBoss for fast JSP development?

2004-06-10 Thread camel
There is a way to do what you want, I've seen Scott Stark tell people how to do it, but I don't remember the details (sorry). Search these message forums for messages from him and I think you'll find it. One way, (if you're on unix) is to create a symbolic link, but as I said, I think

[JBoss-user] [Beginners Corner] - Re: where to find the jboss-web_3_2.dtd

2004-05-25 Thread camel
The DTDs are in the docs/dtd directory under your jboss home. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3836158#3836158 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3836158

[JBoss-user] [Installation Configuration] - Re: upgrade production version

2004-05-18 Thread camel
I put some of my jboss configuration files in a config directory in my development projects, and put them in source control with the other source files. When a new JBoss comes out, I merge any differences from the new versions of the config files. I've heard of people using CVS to administer

[JBoss-user] [JBoss Getting Started Documentation] - Re: jboss3.0- http://localhost:8082 gives error after starti

2004-05-17 Thread camel
Try port 8080 instead: http://localhost:8080/ port 8082 was for older versions. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3835132#3835132 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3835132

[JBoss-user] [Beginners Corner] - Re: How do I read a properties file in WEB-INF?

2004-04-14 Thread camel
From your servlet, call getServletContext().getResource(), or getResourceAsStream(), or even getResourcePaths(). To get something from WEB-INF the call would be getServletContext().getResource(/WEB-INF/db.properties); | The leading slash is important, I believe. Also see this article:

[JBoss-user] [JBoss Getting Started Documentation] - Re: Help - how to change port?

2004-04-13 Thread camel
Edit the file jboss-3.2.3/server/default/deploy/jbossweb-tomcat41.sar/META-INF/jboss-service.xml, search for 8080 in that file and you'll find the section you need. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3830299#3830299 Reply to the post :

[JBoss-user] [Beginners Corner] - Re: Looking for small mysql example app

2004-04-10 Thread camel
What are you trying to do in JSP? What is the error message you get from JBoss 3.2.3? JBoss 3.2.3 defaults to Tomcat 4.1, not 5.0. You may need 5.0 to use parts of the JSTL. You can install Tomcat 5.0 in Jboss 3.2.3 by running the ant script in the jboss\docs\examples\tomcat directory.

[JBoss-user] [Beginners Corner] - Re: Looking for small mysql example app

2004-04-09 Thread camel
1. Get the latest MySQL JDBC Connector/J driver from www.mysql.com - 3.0.11 works well. Place the JAR driver file in your jboss/server/default/lib directory. 2. Create a file called mysql-ds.xml (or anything-ds.xml) with the following contents, and drop it in the deploy directory: | ?xml

[JBoss-user] [Installation Configuration] - Re: how do I enable JMX monitoring entity bean locking?

2004-04-07 Thread camel
Maybe you're looking for this: http://www.onjava.com/pub/a/onjava/2003/05/28/jboss_optimization.html?page=2 It's from an article on JBoss optimizations -- the relevant part is Bill Burke's comment at the end of user comments: anonymous wrote : For locking, JBoss has a lock monitor that

[JBoss-user] [Installation Configuration] - Re: Cannot see the applet on web-console

2004-04-04 Thread camel
If you're using Internet Explorer, make sure you have it set to use the Sun JVM for applets instead of the microsoft VM. Go to IE's Tools menu, Internet options, Advanced, and check the checkbox labelled: Use Java 2 1.4 for applet It may be better if the web-console used an HTML object tag

[JBoss-user] [Beginners Corner] - Re: install tomcat 5 to jboss 3.2.3

2004-04-02 Thread camel
Go to your /jboss-3.2.3/docs/examples/tomcat/ directory and you'll find a file called build-tc5-config.xml. Run ant on that file (ant -f build-tc5-config.xml) from that directory and voila, it creates a new config directory called tomcat5. JBoss 3.2.4RC1 comes with tomcat5 by default; you

[JBoss-user] [Installation Configuration] - Re: Installing and configuring Connector/J driver for JBOSS

2004-03-31 Thread camel
I've been using MySQL Connector/J 3.0.11 with JBoss 3.2.3 and 3.2.4RC1 with no problems. I am using Java 1.4.2, however, not 1.3.x. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3828322#3828322 Reply to the post :

[JBoss-user] [Performance Tuning] - Re: Performance Tuning Guidelines - ECPERF

2004-03-30 Thread camel
Bill Burke wrote an article on optimizing JBoss for the SPECjAppServer2002 benchmark test: http://jboss.org/jbossBlog/blog/bburke/?permalink=Optimizing+JBoss%3A+Experiences+with+SPECj2002.html. It's a good read. View the original post :

[JBoss-user] [Performance Tuning] - Re: Performance Tuning Guidelines - ECPERF

2004-03-30 Thread camel
Bill Burke wrote an article on optimizing JBoss for the SPECjAppServer2002 benchmark test: http://jboss.org/jbossBlog/blog/bburke/?permalink=Optimizing+JBoss%3A+Experiences+with+SPECj2002.html. It's a good read. View the original post :

[JBoss-user] [Persistence CMP/JBoss] - Re: 3.2.4RC1 CMP creating table 'Xuser' instead of 'user' --

2004-03-28 Thread camel
Joachim, thanks! I'll probably rename my table to avoid problems in the future. a href=http://www.jboss.org/index.html?module=bbop=viewtopicp=3827783#3827783;View the original post/a a href=http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3827783Reply to the post/a

[JBoss-user] [Persistence CMP/JBoss] - 3.2.4RC1 CMP creating table 'Xuser' instead of 'user' -- why

2004-03-27 Thread camel
I'm deploying some CMP entity beans on jboss 3.2.4RC1, and for one of my tables it keeps creating and then using the table 'Xuser' instead of 'user'. I've been deploying the same beans under previous versions (3.2.1, 3.2.2, 3.2.3) with no problem. Once it creates the table, it seems to work

[JBoss-user] [EJB/JBoss] - Re: a program in jboss that listens on a port

2004-03-17 Thread camel
You could impmenent this as a jboss service. What is your program going to do? If it's going to be your basic request/response server (even with long-lived connections), you may be able to implement it as a servlet. Not an HttpServlet, but just a custom servlet (i.e., it implements the

[JBoss-user] [Installation Configuration] - Re: Log4j as a JNDI service

2004-03-17 Thread camel
appzworm wrote : | 2. Also is it possible to configure application-specific logging for individual applications without touching the global conf/log4j.xml file? | You can accomplish this by using a separate classloader repository for that app, or in the case of a webapp, configuring it to

[JBoss-user] [EJB/JBoss] - Re: a program in jboss that listens on a port

2004-03-17 Thread camel
Comin your way. a href=http://www.jboss.org/index.html?module=bbop=viewtopicp=3826255#3826255;View the original post/a a href=http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3826255Reply to the post/a --- This SF.Net email

[JBoss-user] [Security JAAS/JBoss] - Re: Logout

2004-03-09 Thread camel
See http://jakarta.apache.org/tomcat/tomcat-4.0-doc/realm-howto.html (at the bottom): The example application shipped with Tomcat 4 includes an area that is protected by a security constraint, utilizing form-based login. To access it, point your browser at

[JBoss-user] [Performance Tuning] - Re: Monitoring Thread CPU usage

2004-03-08 Thread camel
Just a guess, but -- it looks like the Coyote connector may be doing a lot of logging. I've seen it log pretty verbosely to the console before (like a full hex dump of every byte POSTed!). Perhaps it's logging every byte of your uploaded file? Check for big log files and try setting your

[JBoss-user] [Installation Configuration] - Re: Native thread creation and Stack Overflow Exceptions: So

2004-03-03 Thread camel
1024K stack? Isn't that a bit large? I think the default stack size is around 64K or 96K, depending on your JVM version. I think that setting is the stack size per-thread (someone correct me if I'm wrong!). See the volano report http://www.volano.com/report/. Here's an excerpt: anonymous

[JBoss-user] [J2EE Design Patterns] - Re: Big problem with EJBs of Web Tier

2004-02-04 Thread camel
View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3820256#3820256 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3820256 Would it help if you made your POST operation idempotent? (i.e., doing it more than once has no more