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
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
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
|
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 :
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
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 :
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
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
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
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
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
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
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
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
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
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
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 :
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
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
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
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
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
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
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:
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 :
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.
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
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
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
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
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 :
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 :
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 :
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
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
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
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
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
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
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
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
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
42 matches
Mail list logo