Hi,
We are using Jboss 3.2.5 On Solaris 2.8 with 16Gb RAM
While we are setting Java option as
JAVA_OPTS: -server -Djboss.server.exitonshutdown=true
-Djboss.server.blockingshutdown=true -Xss128k -Xms3072m -Xmx4000m
-XX:+UseConcMarkSweepGC -XX:MaxPermSize=128m -XX:SurvivorRatio=8
for these days i have been using new version jboss eclipse1.6 to build
applications, and i try a very small example, which is from
http://www.jboss.com/products/seam/SeamHBTools.html, but i make a little bit
change, i make database nothing like demo. imake two table lectureid, course.
there is
Hi,
I want to use JBOSS with Oracle 10g. What all configuration needs to be done
for using Datasource of JBOSS for this?
I'll really appreciate if the info. can be provided immediately as I am in
urgent need of it.
Thanks in advance.
View the original post :
Hi,
have a short look in the docs/examples/jca there is a oracle-ds.xml. The XA
document is for a twophase commit connection, the other for a normal.
Then change the Databasename in JBOSS/server/default/conf/standardjboss-cmp.xml
from DefaultDS to your DS Name in the oracle...-ds.xml.
Or
Then you'll have to use the 64bit JDK.
For solaris the 64bit JDK enhances the 32bit JDK with some files.
To use it, add -d64 to the java options.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3944994#3944994
Reply to the post :
I have just installed JBOSS 4.0.4 GA with EJB 3.0. I get HTTP Status 404
when I try to access the Web-Console. I searched my JBOSS directories and I
can't find a web-console.war. Is this a mistake or has Web-Console been
obfuscated?
View the original post :
Hi,
Iam using jboss 3.2.3. version. Iam using jdk1.3.
But whenever iam starting my jboss server it is giving error message as shown
below.
===
.
JBoss Bootstrap Environment
.
JBOSS_HOME:
This looks like an interesting setup. Why not describing it in a wiki page? :)
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3944477#3944477
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3944477
I have exactly the same problem.
It is very annoying that you cannot have your web application at some place on
your harddirk where you have checked out from cvs/svn and have the appserver at
a different place.
We have a given filestructure, our exploded directories do NOT have a .war
ending
I am having the same problem. I am administering about 100 jboss application
servers and I notice that every other day a server goes down without a reason.
I think this is a severe bug... especially when you want to use JB in a HA
system.
I will try to open a case, let's see what happen.
View
Hi,
Does JBOSS support Oracle 10g? If yes, then what all configuration needs to be
done for using Datasource of JBOSS?
I'll really appreciate if the info. can be provided immediately as I am in
urgent need of it.
Thanks in advance.
View the original post :
Hello,
I am new to linux and I have installed Jboss and I am trying to deploy a ejb
jar file in the deploy directory. It does get copied into the deploy directory
by Netbeans but it is not picked up by the jboss deployer. I suspect this is a
permission problem but I don't undestand because the
Something is explictily shutting down the server based on the log message.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3944564#3944564
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3944564
Its not required by the spec to support such deployments. We have a long
standing feature request for this that I have upped the priority on for the
next release:
http://jira.jboss.com/jira/browse/JBAS-1486
View the original post :
thanks for the quick reply.
We have patched just one line in EARDeployer.java and AbstractWebContainer.java
and it seems to work.
EARDeployer: starting from line 247 (4.0.4src), this will give the possibility
to add directories outside the EAR-package:
| if (di.isDirectory)
| {
|
Hi,
this post is pretty old, but a solution for it took quite a lot of time.
If you want to use jaxb 2.0 in jboss-4.0.4RC2-20061505 see
http://www.jboss.org/wiki/Wiki.jsp?page=ClassLoadingConfiguration
META-INF/jboss-app.xml :
jboss-app
| loader-repository
|
I had another workaround. In conf/jboss-service.xml file there is a classpath
config line.
A just added my jar files as first element:
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3944615#3944615
Reply to the post :
Sorry worngly posted previous messages. So my jboss-service.xml is looks
following:
classpath codebase=${jboss.server.lib.url:lib}
archives=jaxb-api.jar,jaxb-impl.jar/
|classpath codebase=${jboss.server.lib.url:lib} archives=*/
|
View the original post :
I always put my jar file inside an ear file and copy the ear file to the deploy
directory.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3944649#3944649
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3944649
how can i hide the directory structure from being viewed. I have sensitive
files like for example a sha1 javascript file which strictly I don't want
people to download and view.
pls help needed..i would greatly appreciate.
ruzinjol
View the original post :
Hello everyone,
I just downloaded JBOSS AS 4.0.3. and JBOSS Portal 2.2.1, I use Win XP SP2.
I strictly followed the instructions of the manuals / User-Guides of both apps.
I really followed step by step. I did it two times, but it doesn't work!
In the User-Guide it says: Using your browser,
Hi, I have a .war file which calls an ejb .jar on the same server. That ejb
also exposes some web services. I'd like to have the .war file be accessible
on one port, say 80, and the web services on another, say 8080, so that I can
block access to one or the another in a firewall.
Is that
i've read you're supposed to use yum to do all your installations.
what is the best way to install the latest version of the jboss app server on
fedora core 5?
thanks for any tips.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3944796#3944796
Reply to the
Hi All
I have a Swing based applet that accesses a remote JBoss 4.1.0-sp1 server over
the EJBInvokerServlet. The applet is lunched out of a struts based web
application.
My problem is when a change the session timeout of the web application it does
not affect the applet user. E.g. the user
Hi,
I am not quite sure if this is the correct place to share this but everywhere
else is more incorrect.
I was digging in the jar files that are coming with JBoss 404 GA. I found
something strange that I think that may cause problems.
Javax.xml.namespace.QName class can be found in two
Thank you for your reply Dimitris.
I already tried that but this gives the same result. I tried to experiment
further reading the wiki`s about the classloading issues but unfortunatly
wihtout any result. I don`t understand why JBoss uses an own implementation of
the javax.xml.bind package. Am
Dear JaiKiran,
I am sending my code that will create a jar file from the directory bin.
Please copy my java file and test how it is creating a jar file. Please modify
the package name. This program will create a jar file. If you create a jar file
using jar -cvf command, the contents wil be same
Question for Jboss users:
We have Jboss running an application that uses Hibernate. Every so often under
load the app server restarts automaticly. We have determined that this is due
to the following line in the end of the jboss Run.bat:
IF ERRORLEVEL 10 GOTO RESTART
It appears that Jboss
Further info :
Jboss version is 4.0.2
JVM is build 1.4.2_08-b03
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3944177#3944177
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3944177
Hello all,
My team uses JBoss AP 4.0.3SP1 as the server that hosts our application. While
I was configuring log4j I came accross that problem:
When I add the following command line property:
-Dlog4j.configuration=%JBOSS_SERVER_CONFIG_URL%/%PRODUCT%/log4j.xml
I get the following exception
Dear All:
I have one sar package which includes EJB3 jar and war.
I put it under JBossHome/server/default/deploy ,then i start up JBoss,war
package will be deploied successfully,but EJB3 jar package not deploied(All
EJB3 beans not bound to JNDI names).
Then i tried to first start up
make a directory deploy/deploy.last/
put your .sar in there
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3944197#3944197
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3944197
Better ask in the WebServices user forum
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3944198#3944198
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3944198
---
Using
Great thanks!My problem has been resolved now.
But i am confusing that whether deploy/deploy.last is particularly reserved
for JBoss?It seems no special hint for usage about this directory in JBoss
official document .
Best Regards!
kingofhawks
View the original post :
jboss4 does not support this as its a j2ee1.4 based server. jboss5 will be the
javaee5 server.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3944211#3944211
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3944211
Is there no one that know how to avoid these errors and warnings?
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3944226#3944226
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3944226
I am deploying an application to Jboss and I need to get it up today :-s We
are converting from WebSphere to Jboss and have problems with one application.
Imagine that. The app builds fine in jboss-ide and I get a war which I deploy
to Jboss but on startup when jboss goes to deploy the app I
I got it. There was an unecessary jar in the lib dir that was causing problems.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3944263#3944263
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3944263
We have it running here with JB4.0.2 and SVN - subversion - for providing the
versioned configs.
For the emergency fallback there is always a local checkout, the svn working
copy, in the local filesystem.
2ct
bax
View the original post :
me, too. I loaded from jboss-4.0.4.GA-installer.jar and selected ejb3.
Vince Streif
Percipenz Technologies, Inc.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3944303#3944303
Reply to the post :
Its been requested.
http://jira.jboss.com/jira/browse/JBINSTALL-42
Installer issues should be reported here:
http://jira.jboss.com/jira/browse/JBINSTALL
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3944309#3944309
Reply to the post :
We are using JavaService as recommended by
http://wiki.jboss.org/wiki/Wiki.jsp?page=RunJBossAsAServiceOnWindows. However
with that solution when you start the service from the Services control panel
the service seems to start up pretty quickly. In the background however jboss
is still
Hi, I would like to know how to expose a WSDL defining a web service in JBoss
4.0.4. In previous version, when we deployed the web service, there was an URL
that we can call to have the WSDL (for example:
localhost:8080/hello/HelloService?wsdl).
In Jboss 4.0.4, I see a WSDL file created and
Sorry, my bad! There was an error in the url-pattern that led to an error on
the server side.
Sorry.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3944369#3944369
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3944369
JBINSTALL-42 is now resolved. See comments in JIRA for the workaround.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3944371#3944371
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3944371
hi
i created a very simple WAR with one servlet. The WAR runs perfectly on my
Jboss 4.0.4.CR2 and also without any problems on a tomcat 5.5.17.
unfortunately, it throws a NoClassDefFoundError: javax/servlet/http/HttpServlet
exception on my 4.0.4.GA installation.
i used the wizzard to create
hi
i resolved the problem: the WAR works fine with the ZIP distribution of the
4.0.4.GA. it seems, that the installer seems to be the problem.
may be it's a feature, but for me it was not clear, that when installtion JBoss
using the installer, it would not be possible to use servlets
I had no problem deploying your test servlet to the server created by installer
(4.0.4ga ejb3 option).
Check if you have server\default\lib\javax.servlet.jar.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3944409#3944409
Reply to the post :
hi alex
thanx for your test. i redid the whole thing for myself. here are my findings:
first: you're right. it works.
my problem was a missconfiguration within the jboss plugin which launches the
server out of eclipse.
i must admit being a little embarrassed now. alex: a big, big thank you
I want to used a exploded deployment for a webmodule, and the exploded
directory (web-uri) is outside of jboss, is this possible?
If tested it on Oracle OC4J and Bea Weblogic, and this works. Is this not
standard?
application.xml:
| module
| ejbcatalogserver.jar/ejb
| /module
I'm going to ask and answer my own question because this took me a while to
deal with and it might help someone else.
When upgrading from 4.0.3SP1 to 4.0.4GA, and when using Oracle instead of HSQL,
it looks like the example oracle-jdbc3-service.xml is no longer supplied, and
the 4.0.3SP1
I am presently working on a project which needs dynamic addition of files to
the web application. The web application streams video. I use JBuilder2005
which automatically deploys the application on JBoss by changing the deployment
descriptors as needed.
When deploying I see that the war file
To solve this problem you need to correct your jboss/bin/run.sh :
before:
-Djava.endorsed.dirs=$JBOSS_ENDORSED_DIRS \
| -classpath $JBOSS_CLASSPATH \
| org.jboss.Main $@
|
after:
| -Djava.endorsed.dirs=$JBOSS_ENDORSED_DIRS \
| -classpath $JBOSS_CLASSPATH \
|
Hi everyone,
I try to upgrade our JBoss 4.0.3SP1 to JBoss 4.0.4GA. In our application we
make use of JAXB. In JBoss 4.0.3SP1 I added the JAXB JWSDP 1.6 libraries to the
default/deploy/lib directory and everything worked fine.
However, if I follow the same procedure for JBoss 4.0.4GA (putting
What is this jar file? Is it part of some .war or .ear file? Where is this jar
file placed? Also, execute the following command on the command prompt, on both
the jars(the one which you created manually and the one created
programatically) to see the contents of the same. You can even post the
Thanks Jaikiran,
I am going to have a look at that.
Julien.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3943866#3943866
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3943866
According to the spec, the application.xml is optional. when i exclude it from
my ear file i get the following exception.
org.jboss.deployment.DeploymentException: No META-INF/application.xml found
at org.jboss.deployment.EARDeployer.init(EARDeployer.java:133)
at
Hi,
I am using two jboss servers at web tier for load-balancing.
I have one requirement of timeout facility in my application ie. if the user
stays idle on certain web page, then after 30 mins, system should ask user to
relogin again. And after relogin, the user must be taken to the same page
Hey gang,
I have this exact problem too. I have two ear's that are isolated with by
unique loader-repository elements in thier respective jboss-app.xmls. If a
class of ear 1 want's to call a ejb bean of ear 2, I get
NoClassDefFoundException. So I created a jar file with ear1's bean
only the .jar (installer) distro contains ejb3 previews.
You can actually try 4.0.4.GA now :)
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3943508#3943508
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3943508
Hi,
In the mean time I didn`t find a solution for this problem. I already tried
with:
| server
|!-- EAR deployer, remove if you are not using ear deployments --
|mbean code=org.jboss.deployment.EARDeployer
| name=jboss.j2ee:service=EARDeployer
| attribute
Since it introduces a single point of failure, in practice netboot is not used
in most deployments. For some time now, it's not very well supported, either.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3943777#3943777
Reply to the post :
Hi,
I am getting the following errors when trying to deploy a webapp with
jboss4.04cr2.
An example of an error is:
ERROR [MainDeployer] Could not create deployment: file:/C:/Program
Files/jboss-4.0.4.CR2/server/default/deploy/jboss-aop.deployer/
org.jboss.deployment.DeploymentException:
add file jboss-web.xml to WEB-INF,
and file content :
?xml version=1.0 encoding=UTF-8?
!DOCTYPE jboss-web PUBLIC
-//JBoss//DTD Web Application 2.4//EN
http://www.jboss.org/j2ee/dtd/jboss-web_4_0.dtd;
jboss-web
context-root//context-root
/jboss-web
View the original post :
ictx = new InitialContext();
home =
(EmployeeEntityHome)ictx.lookup(EmployeeEntityBean);
remote =
(EmployeeEntity)home.findByPrimaryKey(new
Long(EmployeeMaster.EmployeeReferenceNo));
Hello,
Is there a way of forcing a rollover of server logs with jboss without waiting
every day or every hour. (with the jmx console for example).
Cheers,
Julien.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3943853#3943853
Reply to the post :
Instead of copying myapp.war file to the deploy directory, create a myapp.war
directory, place the war file contents (index.jsp, WEB-INF/web.xml, etc.) into
that directory, and move that directory to the deploy directory.
Then, when you have new video content, copy it to the appropriate
I have been reading the EE 5 spec and from what i understand, you should be
able to create a lib directory within an ear and all of your ejbs can use jars
in the lib directory without needing to add them to the classpath in the
manifest of my ejb3 jars.
I tried doing that and i get many class
Dear Techies,
I am facing a very peculiar problem. I have a irectory named bin , this
directory contains several compiled java classes with their packages , META-INF
directory contains ejb.jar and jboss.xml file etc. I am creating a jar file
from this bin directory programmatically using
Maybe, put the overriding library inside your scoped .ear
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3943981#3943981
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3943981
i updated the /default/deploy/ejb.deployer/Meta-inf/persistence.xml file based
on the release notes for 4.0.4.cr2 but it doesn't change the setting. my ejb3
app works great on 4.0.4.rc1 and shows flush=enabled but now after upgrade it
won't write to the db (flush) and my server startup output
Hi,
I am having a problem deploying JBoss Portal 2.2.1 into AS 4.04.GA. I have
upgraded the ehcache jar file in the portal to version 1.2 (I grabbed it from
Hibernate 3.2 CR2). I am using the 'all' configuration. I am using the
embedded Hypersonic DB. The errors I am getting are:
*
Dear Sir,
I am really very happy to get a response from uour side. For your
acknowledgement, I am not getting any eroor or exception in this regard. The
jar file is created successfully but jboss is unable to deploy it.
Piku
View the original post :
org.jboss.system.ServiceConfigurator has a bug that prevents two scoped
dependent services deploy correctly. The bug is reproducible by running ant
in top level directory of the archive attached to the case. The only required
external setting is the JBOSS_HOME environment variable, that should
[EMAIL PROTECTED] wrote :
| ServiceConfigurator tries to create an example.Dependency dynamic proxy
instance using the current thread context class loader, which is associated
with the top level loader repository.
That's not true. It uses the deployment's classloader (the SAR's UCL)
passed
You obviously didn't read the instructions about avoid duplication. :-)
http://wiki.jboss.org/wiki/Wiki.jsp?page=HelpBugReport
Especially since this was fixed 5 months ago:
http://jira.jboss.org/jira/browse/JBAS-1709
View the original post :
So it was fixed in 4.0.4.RC1. However, I need this to work for 4.0.3SP1 and all
other supported 4.0 production versions. For those, ServiceConfigurator behaves
as I described it.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3944043#3944043
Reply to the post
[EMAIL PROTECTED] wrote : So it was fixed in 4.0.4.RC1. However, I need this
to work for 4.0.3SP1 and all other supported 4.0 production versions. For
those, ServiceConfigurator behaves as I described it.
Then you'll have to create a patch.
View the original post :
Yep. I didn't think otherwise :)
I just wanted to validate the problem in the first place, and the problem was
validated :)
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3944047#3944047
Reply to the post :
I have never tried creating a jar programatically, but if you post the
exception that you are seeing then may be i (or someone else here) will be able
to help you.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3943834#3943834
Reply to the post :
This might help:
http://logging.apache.org/log4j/docs/api/org/apache/log4j/varia/ExternallyRolledFileAppender.html
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3943858#3943858
Reply to the post :
I understand. Although, couldn't you in threory load balance between multiple
netboot servers? For example, have two netboot servers load balanced behind a
virtual IP address? This is what we were hoping to do here, so if there is a
way to get netboot working, I would like to try. We have
Thanks it worked fine.
I am really grateful
Thanks Peter
ruzinjol
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3944070#3944070
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3944070
Is it still possible to package DB and LDAP configuration information in your
web app and have JBoss use that upon application deployment? Or is the only
way to do this by adding (in my case) oracle-ds.xml to the server's deployment
directory, and adding a policy to the login-config.xml?
Hi,
How do we specify 'table-name' other than ejb-name for Entity EJB 1.1? I tried
adding it in jaws.xml descriptor with table-name tag, but it seems jboss
server does not use that.
Is it necessary to write jbosscmp-jdbc.xml descriptor for EJB1.1 in Jboss 4.0?
Thanks
ajay
View the original
I'm trying to get JBoss 4.0.4 GA to start using netboot. I've read the
adminguide.pdf, and it references ant Ant build script
src/main/org/jboss/netboot/build-netboot.xml that doesn't seem to exist. The
admin guide doesn't go into detail on how to get netboot to work. It does say
the the
I get the following error when trying to use Java Web Start on Linux (FC 4):
Unable to load resource:
http://osdn.dl.sourceforge.net/sourceforge/jboss/jboss-4.0.4.CR2-installer.jar
Any suggestions?
View the original post :
The installation instructions state, EJB 3.0 RC6 already comes with JBoss
4.0.4CR2. RC6 has been tested with 4.0.3SP1 only. Not thoroughly either, so
your best bet is to upgrade to 4.0.4CR2.
However if you download jboss-4.0.4.CR2.zip, EJB 3.0 is not there.
Any suggestions?
View the original
Hi,
I am so close, yet so far to get the latest production release of JBoss up and
running on a fresh install of Suse 10.
I installed Java 1.5 with the JAVA_HOME set properly.
When I start the server it scrolls many stack traces all starting with the
error:
java.net.SocketException: bad
We´ve running locally a jBPM Server to Test the New Version. The installation
Package was jbpm-starters-kit-3.1.1.
The Server is running with a MySQL Database.
Every thing is running fine, but if i try to Deploy any Process i get some
errors like these:
=
Caused by:
Already tried all versions up to 4.03SP1
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3943313#3943313
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3943313
---
Using
According to the documentation the standard Jboss list of ports is 1098, 1099,
, 4445, 8009, 8080 and 8083, I am using this list except I have replaced
8080 with 18080.
When I try and run my Java application which is using http messaging it
attempts to use port 80 which is blocked by a
Are your versions compatible ? I had the same error when I tried using mod_jk
with Apache 2.2, switched to 2.0 and all was fine.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3942819#3942819
Reply to the post :
I have a problem with JBoss 404 RC1 in that every now and again it shuts itself
down. There seems to be no real pattern to this. Sometimes it runs for a day,
sometimes a week.
I am running a Seam app on it and a couple of other smaller webapps which have
no enterprise features.
In the log I
I know this doesn't answer you questions but JK2 is deprecated and the current
version is 1.2.15.
Don't ask me why.
Keith
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3942828#3942828
Reply to the post :
Thanks. I will try to switch to Apache 2.0 to see if the error is still there.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3942833#3942833
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3942833
It works now. I chose to build the mod_jk source from the Apache archives:
http://archive.apache.org/dist/jakarta/tomcat-connectors/jk/source/
So I didn't have to downgrade Apache. Thanks!
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3942878#3942878
Reply to
What's the recipe for creating a JNDI binding from a servlet? Obviously I know
the JNDI APIs. However, a new InitialContext() call does not find the local
JNDI tree. I'd like to be able to do exactly this:
final InitialContext c = new InitialContext();
| c.rebind(someName, thingToBind);
The following works for me:
Hashtable env = new Hashtable();
| env.put(Context.INITIAL_CONTEXT_FACTORY,
| org.jnp.interfaces.NamingContextFactory);
| env.put(Context.PROVIDER_URL, localhost:1099);
| Context ctx = new InitialContext(env);
I do agree with your comment that the
Thanks, Peter; I know I can get away with that. You can actually get away with
quite a bit less:
| final InitialContext ic = new InitialContext(new Hashtable() { {
this.put(Context.PROVIDER_URL, localhost); } });
|
...if everything has been set up for the defaults.
It looks like the
501 - 600 of 3860 matches
Mail list logo