Post what is your datasource configuration (deployment) file of datasource (*-ds.xml).
It has to contain definition for two databases or you must have separate datasource
configuration file for each database. Then in your JBoss deployment descriptor file
you're able to define for each EJB which
Here is stack trace: LocalManagedConnectionFactory.createManagedConnection crashes at
line 160.
09:15:50,995 WARN [JBossManagedConnectionPool] Throwable while attempting to get a
new connection:
org.jboss.resource.JBossResourceException: Could not create connection; - nested
throwable: (java.l
I agree it's a problem.
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3845549#3845549
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3845549
---
SF.Net email is spons
Yes, or don't use CMR.
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3845548#3845548
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3845548
---
SF.Net email is sponso
Hi Vishal,
I am unable to deploy the mybank bean in chapter 1...error are..0:57:40,436 ERROR
[URLDeploymentScanner] MBeanException: Exception in MBean operation
'checkIncompleteDeployments()'
Cause: Incomplete Deployment listing:
Packages waiting for a deployer:
Incompletely deployed packag
Hi,
We are using JBoss 3.2.3 and we are trying to use clustering feature.
We are using apache + mod JK2 for load balancing.
We have set up Jboss on 2 windows NT servers in local lan.
We have not configured Jboss for sticky session.
We found some issue while testing session replication,
Case1:
1.
Thax Madu,
Now I have a new problem, when I when i put the new queue in to the farm folder it
gives and error.
MBeans waiting for other MBeans:
ObjectName:
jboss.j2ee:jndiName=local/SimpleJMS2_SimpleWebService,plugin=pool,service=EJB
state: DESTROYED
I Depend On:
Depends On Me:
ObjectName:
j
thanks darranl,
yes, it was the run command i was stuck with. Combination of my stupidity and the
file name 'run.bat' led to confusion.
Thanks for the quick reply
Regards
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3845541#3845541
Reply to the post :
ht
Hi All:
I am a newbeee to Jboss.How do I install a single JSp page in JBoss 3.2.2 ??
Thanks
vhk
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3845538#3845538
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3845538
--
You need to supply a little more information:
jboss version
platform
jdk version?
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3845537#3845537
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3845537
--
your session id string appears garbled. i'm currently having the same problem and i
wonder whether that contributes to broken session replication. Seems to me, the
session id is garbled because jboss (tomcat?) uses incorrect locale. I'm pretty
confident that once you get the session id to appear
found it!
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3845531#3845531
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3845531
---
SF.Net email is sponsored by Shop4t
hi
friend
I find the solution of myself.
In boss-3.2.5\server\default\conf ,u will find the jboss-server.xml
here u will find the tag
deploy/
now change the path in this tag
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3845390#3
update:
ok seems like copying LocalStrings.properties from a tomcat50-service.jar file in
jbossweb-tomcat50.sar and adding it to my .war eliminated "resource not found". note,
that i had to create a org.jboss.web.tomcat.session package in my war and place
LocalStrings there. Please note that pa
Which fix are you referring to?
Ive just looked at the changelog for 3.2.6 RC1 and didnt see anything related.
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3845376#3845376
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&
Could someone please let us know if a new download link is available yet?
Thanks,
Philip
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3845382#3845382
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3845382
--
I found this class in JBoss source.
I'm also using it in my auth.conf file
example2
{
org.jboss.security.auth.spi.DatabaseServerLoginModule required
dsJndiName="java:/DefaultDS"
principalsQuery="Select Password from Principals where PrincipalID =?"
rolesQuery="Select Role 'Roles', RoleGroup 'Role
I heard that JBoss' JAAS is not propagated to Tomcat (and vice-versa), is that true?
If yes, does it mean that if authenticate using JBoss DatabaseServlerLogin for
example, i won't be able to use methods such request.isUserInRole() in any servlets??
View the original post :
http://www.jboss.org
Hi,
I've deployed a simple distributed .war which has only one jsp page. that page prints
out a view counter and session id. whenever this war is deployed at start-up i get the
following message:
Can't find resource org.jboss.web.tomcat.session.LocalStrings [EMAIL PROTECTED]
as the result, th
e.g. tomcar.sar/server.xml use ${jboss.bind.address}
Can I use ${xxx} in a yyy.war/WEB-INF/web.xml?
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3845525#3845525
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3845525
Hi!
Yes, I've got a "workaround" on this.
As you can see, this is an expected behaviour since JBoss 3.2.4:
http://jboss.org/wiki/Wiki.jsp?page=JBossMQHA
On option to make the service "activate" before the servers synchronizes state (wich
takes 1 minute to happen after the master node crashes)
All,
I'm using JBoss 3.2.5 in a highly vanilla configuration. Specifically, Tomcat's got an
HTTP connector on 8080, and I'm *not* using an AJP connector to tunnel requests
through Apache.
When I'm in a servlet and I call request.getServerPort(), though, it returns port 80,
even though I'm acce
Hi folks,
Have you had any resolution on this? We're experiencing the same problem in that our
queues depend on the DestinationManager which apparently only starts up on the master
node.
How are the other nodes in the cluster aware of the various jms-queues if this is the
case?
I'm convinced
Hi,
I have 2 applications running in the same JBoss at the same time. They do not use
DataSources, the connections are made directly by JDBC Connection object. The 2 DB
used by these 2 applications are identical but separated and running in the same DB
Server.
The problem is: when I run the tw
Hi,
I have 2 applications running in the same JBoss at the same time. They do not use
DataSources, the connections are made directly by JDBC Connection object. The 2 DB
used by these 2 applications are identical but separated and running in the same DB
Server.
The problem is: when I run the tw
Have you tried sending the "kill -SIGQUIT " to see if it starts responding again
without taking the process offline? We've seen a similar issue and this seems to at
least restore some functionality.
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3845519#38455
ORDER is reserved as part of ORDER BY so the error is correct behavior according to
JBoss.
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3845483#3845483
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3845483
Hi all!
Can someone please post an example of how the jboss-service.xml file is supposed to
look with SSO enabled in jboss 3.2.5? I've managed to do it with jboss 3.2.3, but
still no luck with 3.2.5 :(
Tia
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=38455
Hi,
suppose i have a simple login page like this one.
|
|
|Name:
|
|Password:
|
|
|
|
I got 2 questions:
- What is j_security_check???
- If i want a better encryption, do i have to use Https
View the original post :
http:/
In composite key class one must have exactly the same names of getters/setters as
defined in EJB using this composite PK class. So if your SomeEJB has getId1 and getId2
methods which are mapped on PK fields, then your SomePK must have exactly the same
getId1 and getId2 methods!
View the origina
Hi, there:
I have an application to use jboss2.4.8, which keeps getting datasource,
dataconnection by calling:
DataSource ds = (DataSource)initialContext.lookup("java:/DefaultDS");
and
con = ds.getConnection();
It seems that whenever I call it, it gives me the log information like:
XAConne
Hi, there:
I have an application to use jboss2.4.8, which keeps getting datasource,
dataconnection by calling:
DataSource ds = (DataSource)initialContext.lookup("java:/DefaultDS");
and
con = ds.getConnection();
It seems that whenever I call it, it gives me the log information like:
XAConnectionI
Thank you for the answer!
The solution is to use BMP instead of CMP. Isn't it?
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3845504#3845504
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3845504
-
Yes, theoretically specifying database mapping is optional in JBoss deployment
descriptor but if you do not specify it, JBoss will take default database mapping from
standardjbosscmp-jdbc.xml and it is Hypersonic SQL mapping. So if you do not use
Hypersonic DB then practically it is not optional
Hi All,
I packaged the hibernate service in a SAR, which is then packaged into a EAR with my
other WARs and such. When deploying the EAR on jboss, it seems ignore the SAR and did
not deploy it. I then found some information about jboss-app.xml, I added it to the
ear. But when I deploy it to j
I did exactly that. I read your article on WIKI and found how to use
. Without this article I wouldn't even know about
DD parameter. (BTW, I tried to do some changes on this article
but encountered difficulties to submit it. WIKI editor cripled my response! Something
is wrong with this WIKI ed
Anyone know if JBoss copies libs anywhere's or caches stuff. I'm making changes to my
webapp and don't see my changes so I'm wondering if things are being kept around
somewheres. I'm running 3.2.3. If so, what's the correct way to clear it out.
Thnxs
View the original post :
http://www.jboss.
No, I don't have synch-on-commit-only set to true.
I'll try to pair down my code to isolate my problem, and submit a bug report for it.
I haven't done this before...when you say "bug report" do you mean the bug list on the
sourceforge site?
View the original post :
http://www.jboss.org/index.h
Hi there! I'm trying to deploy a simple MDB, but I'm getting this error.
Here's my deployment descriptors:
MailCreatorEJB
MailCreator
MailCreator
mailcreator.MailCreatorBean
Container
javax.jms.Queue
QCF
javax.jms.Que
OK. Almost solved. If I explicitly set the user/pwd in the InitialContext, I can use
the datasource. However I thought the purpose of the LoginInitialContext was to use a
specifed JAAS realm on the client? I shouldn't have to set the user/pwd in the
InitialContext, right?
View the original post
Examining 'standardjbosscmp-jdbc.xml', I see numerous jboss-ql function -> SQL
function mappings such as
|
| locate
| locate(?1,?2)
|
|
Is it possible to extend jboss-ql by adding new entries? Such as:
|
| month
Thanks Elias,
I think this is what we're looking for
Scotty
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3845495#3845495
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3845495
---
Hello,
I have a headache after pouring over the 'howto' and other posts in the forums trying
to figure out how to correctly configure our Swing client to pass along login
information to JBoss. I am almost there and need someone's help. I keep getting a
'invalid arguments in call' sql exception
1. Yes
2. Yes, but not "automatically"
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3845489#3845489
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3845489
---
SF.Ne
Howdy,
I'm new to JBOSS, we have a need to implement LDAP authentication in Jboss to secure
an application (Nesstar). We essentially need to modify the main login module
org.jboss.auth.spi.DatabaseServerLoginModule to authenticate the user.
Has anyone done such a herculean task yet, or is there
Hello again,
In my original posting I overlooked the fact that the server doesn't need to remember
the newly generated certificate for the client. It just needs to be able to
authenticate the CA for this certificate, which is the server itself.
Knowing this simplifies everything. The authentica
Hello,
I'm really hoping that someone out there can point me in the right direction on this
one.
Our server was running fine, we were able to start/stop it without trouble. Then I
tried to deploy some new classes which also required an update to jboss-services.xml
(I don't deny that I may have
Hello
Does anyone have any idea why I am getting an error when I hotdeploy to JBoss 3.2.3.
This has not happened before. I start JBoss and no error. Then I hotdeploy application
to JBoss and then, while hotdeployment goes on, Hibernate tries to create a new
connection. And then comes an error t
Hi all,
I am wondering how to use Jboss scheduler service in MDB,I have a task to get
message from MDB clients and process them nightly.How can I achieve
this by using Jboss scheduler?Since the onMessage() is called my JMS container and
perform() is called by jboss MBean server when time o
Hi Vishal,
I am on chapter1 of the tutorial. I am using Eclipse3.0, Lomboz3cr23, Jboss-3.2.5.
Everthing worked fine until deployment of EJBs. But when I get to creation of Test
Client, it gives me 'INvalid Thread Access' error. The log shows the folloeing error:
java.lang.Exception: New line d
We use the Java Wrapper tool for JBoss and some other things without any problems. It
works fine.
Looking at your log file I think you will find your JAVA_HOME and JBOSS_HOME
environment variables have been defined in Control Panel as 'user' rather than system.
The 'user' variables only exist w
Hello,
I am calling a method from a jsp as follows:
| <%
| com.mycompany.MyClass mc = new com.mycompany.MyClass();
| mc.print();
| %>
|
I tried dropping the jar for MyClass into the %jboss_home%\lib directory and I get an
error. Can anyone tell me why? Are classes in this directory
Why are you writing code in the 'sun' package? I have a vague recollection that the
root classloader in Sun's VMs prevents you from loading classes into the 'sun'
package. If this is true it's likely to only be the beginning of your issue...
View the original post :
http://www.jboss.org/index.h
Hi ;
i'm trying to set up a copy of our development environment at work. we are using
jboss3.2.2 and oracle 9i. However instead of Oracle 9i i am using Oracle10G. The
problem i am having is when i submit a call to the database through our login page. i
get an error stating that :
"java.lang.un
Hi,
I'm comparing features between IBM QM and Jboss MQ.
Does Jboss MQ supports:
1. delivery mode "exactly once" (one and only one message will be delivered).
2. automatic transmission to remote server without usage any additional software
thank you
View the original post :
http://www.jboss.org/
Greetings,
I created a read-only ejb Primitive that I pretend to invalidate through the
read-write ejb PrimitiveRW. Both extends Standard CMP 2.x EntityBean with cache
invalidation configuration (the read only extends CMP extended life time but this
configuration extends the other configuration
Either you're not in the %JBOSS_HOME%\bin folder or that folder is not in your PATH.
Try changing directories to %JBOSS_HOME%\bin
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3845465#3845465
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=
Can you try to write a simple JDBC test that executes the same statement using the
same DataSource inside the JBoss and see if it sees the row?
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3845464#3845464
Reply to the post :
http://www.jboss.org/index.html?
"wtff" wrote : yes this is possible.
|
| First of all, if you just deploy ejb-jars by placing them somewhere below the
deploy directory, their classes will be loaded into the same loader repository.
| So lets first start with the simple case of having an ejb which you want to deploy
two t
The tables should be in the same db.
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3845461#3845461
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3845461
---
SF.Net e
Order is a reserved word. Choose something different.
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3845460#3845460
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3845460
---
I can reproduce this by invoking the remove() method on an instance which does not
have the foreign key and the container has synch-on-commit-only set to true. But it's
not your case, right?
If you have a simple testcase, please, open a bug report and attach the testcase.
Thanks.
View the origi
I have a RA accessing an EJB remotely. On first deployment everything works fine, but
when i redeploy the EJB, the RA always throws a ClassCastException when calling the
Home factory.
Seems to be some weird classloading issue.
Also it's the same class bound to jndi, for some reason the ClassLoa
Sorry, I forgot to say that the JBoss version I am using is 3.2.5...
Gianlu
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3845456#3845456
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3845456
--
Hi. I'm new in JBOSS. I have Jboss3.2.3, Eclipse, Lomboz, and Firebird DB, and CMP for
receiving table from database on index.jsp.Everything is ok, but I dont have any
security staff in my project, and there's is not so much time. Can anybody help with
step by step instructions . It can be simp
Read the wiki page on batch-cascade-delete which describes why cascade-delete is the
default.
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3845454#3845454
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3845454
--
Hello,
I am working on a server task that requires me to log into a third party application
via CORBA and register a callback with the third party app. I will then be notified
when events occur on the third party server.
What I was wondering was if this would fit into J2EE engine such as JBoss
I work with JBoss v3.2.3, MySQL v4.0.20d and MySQL Connector/J 3.0.14 (stable) JDBC
driver.
I created one-to-many relationship between CustomerEJB-OrderEJB CMP beans. There is
referential integrity between CUSTOMERS and ORDERS tables also cascading delete
feature is set and it works if I delete
Hi all.
I set up two JBoss instances in cluster, and I have my JMS clients able to connect to
the two instances and to correctly manage the shutdown of one of them. I did this by
using JNDI (by configuring "org.jnp.interfaces.NamingContextFactory" as initial
context factory).
Now I would like
To All
] java.net.MalformedURLException: unknown protocol: eudoxus
09:15:59,697 INFO [STDOUT] at java.net.URL.(URL.java:544)
09:15:59,697 INFO [STDOUT] at java.net.URL.(URL.java:434)
09:15:59,697 INFO [STDOUT] at java.net.URL.(URL.java:383)
I have implemented a new URL protocol eudo
Yes you do need to reference the ear:
http://www.jboss.org/wiki/Wiki.jsp?page=ConfigConnectionFactory
Otherwise how would it know which rar to use if the rar was deployed
at the top level or in a different ear.
This is the same syntax used for resolving ejb-links uniquely.
View the original post
All
We have an EAR (containing an EJB module and a Web module) that deploys on JBoss 3.2.3.
When I try and deploy the same file on JBoss 3.2.5 I get the following exception:
13:28:21,674 INFO [Server] JBoss (MX MicroKernel) [3.2.5 (build: CVSTag=JBoss_3_2_5
date=200406251954)]
13:28:21,674 INF
I'm using java-assist to rewrite code using ExprEditor and NewExpr.replace(). When my
code looks like this:
HashMap h=new HashMap(size);
it has to be converted to
HashMap h=new HashMapWrapper(size,some_extra_params);
The wrapper is not a real wrapper, but just extends the real HashMap.
Everythi
Hi,
I have 2 applications running at the same JBoss. They do not use DataSources, the
connections are made directly by JDBC Connection object. The 2 DB used by these two
applications are identical but separated and running in the same DB Server.
The problem is: when I run the two application
yes this is possible.
First of all, if you just deploy ejb-jars by placing them somewhere below the deploy
directory, their classes will be loaded into the same loader repository.
So lets first start with the simple case of having an ejb which you want to deploy two
times, lets say with differe
Just a few references to the file persistence manager.
Adrian (JBossMQ lead) says that the file persistence manager is not supported anymore
and that it is only there for backward compatibility with 2.4.
http://www.jboss.org/index.html?module=bb&op=viewtopic&t=43492
http://www.jboss.org/index.htm
How would you load balance a normal web app? The client will always have a fixed
host:port.
I don't think this a ws related question, you may want to read up on jboss clustering,
mod_jk, etc.
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3845420#3845420
Rep
I'm using JBoss 3.2.3 (Jetty) and have just enable prepared-statement-caching by
setting the prepared-statement-cache-size in the datasource descriptor. The setting
however appears to have had no effect, and I can see in the debugger that I keep
getting a new instance of a prepared statement.
I
Hi
I access web services like this :
http://machine-name:8080/jboss-net/services/MyEndPoint
what if "machine-name" machine crashed?! How can I get HA in that scenario? can I call
the http without the machine-name ? just as I call ejb without the machine name in
provider-url and achieve HA ?
V
I want to configure muliple deployment environmnts(Multiple JVMs/Containers) for
different developers in JBoss application server. Developers should be able to
configure seperate class paths for their deployments.
Please let me know how to achive this in JBoss.
thanks
Navin
View the original
We are seeing the same behaviour, setting the prepared-statement-cache-size doesn't
seem to have any effect. Is there another setting that needs to be set apart from just
the datasource descriptor?
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3845416#3845416
Go to http://localhost:8080/jmx-console
Click on JNDI View
Click on List
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3845415#3845415
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3845415
Which bit don't you understand, I assume that you know how to copy and rename a folder
using Windows.
To execute the command 'run -c myconfig' you need to open a command prompt and move
the the JBoss bin directory so that you can enter the command.
View the original post :
http://www.jboss.o
Hello,
Can anyone give me a brief explanation of what monitors are for
(monitoring-service.xml). Where does their output go? Can anyone give me a concrete
example of how a monitor would be used?
Thanks in advance,
Julien.
View the original post :
http://www.jboss.org/index.html?module=bb&op=vie
"lac_raz" wrote : but what if I want to control the deployment order of the nodes
(e.g. first deploy to second node and then to the third one)?
Under what circumstances would it be desirable to control the deployment order after
the master comes up?
We're clustering, but we have some problems t
Is it working? When trying to see/hear one of the past educations - what is supposed
to happen after registering. To me nothing happens, well sometime there was an empty
page but nothing more. Using Firefox if that will matter.
/L
View the original post :
http://www.jboss.org/index.html?module
Sure. Here is the full stacktrace. Sorry for cutting it short the first time.
2004-08-17 07:41:29,140 INFO [STDOUT] DEBUG: parameters: 2
| 2004-08-17 07:41:29,156 DEBUG
[org.jboss.ejb.plugins.cmp.jdbc.JDBCFindByPrimaryKeyQuery.Group#findByPrimaryKey]
Executing SQL: SELECT t0_Group.groupKey
Is JDBC persistence more reliable than the file persistence manager or why, in your
opinion, show they prefer JDBC persistence? If you say "The queue depth only includes
messages not yet delivered to JMS consumers" do you think that JBoss behaves right
saying QueueDepth is five (meaning 5 messag
Thanks Nicholas for your Answer. But what do you exactly mean by "Stub"? Yesterdy I
tryed to bind the service itself into JNDI with no success.
Excerpt from MBeans startSingleton():
| Name n = context.getNameParser("").parse("service/mbean/MyService");
| NonSerializableFactory.rebind(n, thi
WSMQ stands for WebSphere MQ (i.e. MQ Series)
Unfortunately the network connection is never broken (there are 2 other sockets open
all the time !!!) and as I mentioned before there are no exceptions in log files.
I noticed that if there are no messages in the queue for a few hours and then a
mess
90 matches
Mail list logo