Hi Dhananjay,
I think tehr eis some problem while you posted the above 2 messaqges
Please check.
Thanks
Gunjan
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3897004#3897004
Reply to the post :
i have finished a app for searching in tomcat ,now i need deploy it in jboss.
so i change the search to search.war.and copy to the path
c:\jboss\server\default\deploy,and put a sybase-ds.xml to the path,which has
been editted and the datasource name is jdbc/hello
then a archive the jdbc driver
i have finished a app for searching in tomcat ,now i need deploy it in jboss.
so i change the search to search.war.and copy to the path
c:\jboss\server\default\deploy,and put a sybase-ds.xml to the path,which has
been editted and the datasource name is jdbc/hello
then a archive the jdbc driver
i have finished a app for searching in tomcat ,now i need deploy it in jboss.
so i change the search to search.war.and copy to the path
c:\jboss\server\default\deploy,and put a sybase-ds.xml to the path,which has
been editted and the datasource name is jdbc/hello
then a archive the jdbc driver
Thanks raja!
If I understand you right you should put one entry for each customer
entity bean in the jboss.xml file with different jndi-names. Is that right?
How do you allocate entity pool instances?
View the original post :
Hi
I have two jboss installations. One is jboss-3.2.3 and the other is jboss-4.0.2.
Due to the requirement of application, i need to move the message within
jboss-4.0.2 queue into jboss-3.2.3's queue. But due to the version is
different, the jbossmq of 3.2.3 canot talk to 4.0.2.
How to solve
[EMAIL PROTECTED] wrote : Okay, all members have a copy of their state. But
what I meant was that only *clients* would have *no* CacheLoader configured, so
their data would not be persisted
Well, I set up the clients with no cacheloader-implementation. The result is
that when the clients start
For an jdbc datasource you have to define an specific Driver in your xml:
datasources
| local-tx-datasource
|
| jndi-nameMySqlDS/jndi-name
|
| connection-urljdbc:mysql://localhost:3306/database/connection-url
| driver-classcom.mysql.jdbc.Driver/driver-class
|
Hi,
thanks very much for your tips. Everything worked fine and I think this is the
best choice ever to handle our problem.
Thanks again
Vincent
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3897030#3897030
Reply to the post :
i have a java:jdbc/hello datasource in jboss ,and it works well in ejb,but
when i use it in a jsp page that includes jstl code sql:query var=masmcInfo
dataSource=java:jdbc/hello ,a exception appearing means the datasource
is invalid
so what'wrong ,could you help me ?thank you !
View
Your class cast exception should be easy to solve. You are setting up a regular
datasource and trying to cast it to a XADataSource. In your mysql-ds.xml you
need to setup a xa datasource.
anonymous wrote :
| xa-datasource
| jndi-nameMySqlDS/jndi-name
|
If you want to manage transactions yourself (not a good idea most times) then
lookup UserTransaction object from JNDI and use that. Dont use the transaction
manager. It cant help you :)
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3897033#3897033
Reply to
Hi Forum,
i have developed an inbound-outbound-RA wich sends me an String to an
EchoServer und recieves the Echo also.
My Sender in the Container is an SLSB an my Receiver is an MDB. For one
direction only everything works fine. But when i try to recieve a String wich
was send by the SLSB the
Well i found these bits...
2005-09-23 15:04:03,300 INFO [org.apache.coyote.http11.Http11Protocol]
Initializing Coyote HTTP/1.1 on port 443
| 2005-09-23 15:04:03,300 INFO [org.jboss.web.localhost.Engine]
CoyoteConnector Coyote can't register jmx for protocol
| 2005-09-23 15:04:03,310 INFO
ahh i just found this bit too
2005-09-23 15:04:41,354 INFO [org.jboss.deployment.MainDeployer] Starting
deployment of package:
file:/C:/JBOSS/jboss-3.2.3/server/default/deploy/jmx-console.war/
| 2005-09-23 15:04:41,635 INFO
[org.jboss.web.tomcat.tc4.EmbeddedTomcatService] deploy,
I have gone through the Jboss AdminGuide 4.0.2 and found all I need especially
in Chapter 7 which is mainly regarding JCA:Connectors on JBOSS. Thanx to the
Jboss team.
-rgds
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3897044#3897044
Reply to the post
Hi Ben,
Reference - JBossCache 1.2.4 beta with Oracle 10g Application Server in a
clustered environment (2 instances managed by a loadbalancer)
I have done the following -
I configure TreeCache as follows -
1. set UseMarshalling to true in the XML configuration file.
2. configure
Hi,
How to create the new portlet window when i click on mode view or help or
custom portlet mode it should should display empid field, deptname field with
search button when i click the search button it should display the result
criteria based on input in child window to the parent portal
1 - Do not cross post.
2 - Can you post the appropriate descriptors, the actual errors you are getting
and appropriate sections of your code. Wrap these in [ code ][ /code ] tags
without the spaces and use the preview button to make sure your post displays
correctly.
With this additional
Thank you for your reply, niwhsa.
It appears that the MysqlXADataSource class was removed from Connector/J
version 3.0 onwards because it didn't work well. Bug id is 1737 and can be
found here: http://bugs.mysql.com/bug.php?id=1737
The bug report says that JBoss provides an XA wrapper for
Hi
I am getting following error in web.xml for follwing lines
error-failed to read schema document1)could not find the document2)the document
could not be read
web-app id=WebApp_ID version=2.4 xmlns=http://java.sun.com/xml/ns/j2ee;
xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
You need to unregister the MBean using
| getServer().unregisterMBean(name);
|
Just destroying the bean will not suffice.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3897070#3897070
Reply to the post :
I have now moved the creation of the Connection into the live-cycle methods of
the SLSB an made the Connection available as an private attribut of the Bean.
... now it runs without an Exception!
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3897085#3897085
Ok? Via the application-client.xml? And how do I use that file. I mean how
can I specify that my client application should use that? My client is a Java
Swing application! And I need to have a handler in order to pass some
attachments along with my Jax-RPC calls.
View the original post
I am deploying it as sar. mycustombean.sar conatins META-INF/jboss-service.xml
(contains the MBean description) and the MBean. I followed the excample from :
http://wiki.jboss.org/wiki/Wiki.jsp?page=ExampleHelloWorldService
P.S. I did correct the Mbean to MBean. So the acception I get now is :
Hello,
I am trying to build and use a JAX-RPC webservice using JBOSS 4.0.3RC1. I
would like the webservice to have the possibility to upload and download files.
I think I have found a way using JAX-RPC handlers. I must add a handler on the
client and on the server side. The server side
I solved the problem by including some classes as part of the sar deployment.
But these classes are actually part of my web application that is deployed as a
war file. Is there any way I can either deploy my MBean as part of this war
file rather than seperate sar OR to include classes from my
Hello,
i've tried to make a remote call from one JBoss instance to another. I guess
this is related to this bug http://jira.jboss.com/jira/browse/JBAS-1442. I'm
using the standard way of setting up the context:
| Properties properties = new Properties();
|
I've read over the Wiki Loggin page tons of times, but I still haven't gotten
it working. I renamed the conf/log4j.xml file to jboss-log4j.xml and editted
the jboss-service.xml file accordingly. Then I added my custom log4j.xml in my
WEB-INF/classes. In my custom log4j file, I put a different
You could start by having a look at: -
http://wiki.jboss.org/wiki/Wiki.jsp?page=SSLSetup
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3897113#3897113
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3897113
Have you placed log4j.jar in your WEB-INF/lib folder?
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3897114#3897114
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3897114
I had tried out with .ear packaging with a .war inside it. That had worked for
me.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3897115#3897115
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3897115
and how can i tell each node to know that the other node is in its cluster and
not by using auto discovery?
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3897122#3897122
Reply to the post :
I fixed my RepositorySelector error using classloader scoping. I still have
log4j in my WEB-INF/lib. When I removed that, the error went away.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3897130#3897130
Reply to the post :
Hi,
I was trying to figure out which bugs are still available in a JBoss AS
delivery (exactly V4.0.2) by the help of the release notes. Unfortunaltely I
had some problems to interpret the issue details that are shown when I follow a
link in the release notes. Maybe some of you is willing to
I created a simple WAR after seeing your reply, and it seems to work without
having to do the encoding conversion. Now I kind of suspect the problem was
caused by Struts, as the application in my first question was built with
Struts. I have sent the application to your email, really appreciate
Commons Logging is not able to instantiate the logger. Is log4j.jar in the lib
folder of your distribution?
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3897149#3897149
Reply to the post :
Hi,
I hope I have posted the question in the right Forum. This is about the problem
with running Embeddable JBoss within Eclipse.
I am trying to run the archive example. It works fine with ant build file you
have provided, but gives problems while running within Eclipse.
NOTE: I am trying to
I am trying to deploy some new Application code into our JBoss application.
Our developers work using JBoss 3.2.5 but the platform onto which it is
deployed is JBoss 3.2.1. We've had no problem with this until now, when we
introduce some Application code that uses
JBoss IDE 1.5 M2
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3897161#3897161
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3897161
---
SF.Net email is sponsored by:
Hallo Anil,
Have you solved this problem, because I have the same ...
best regards,
Marcin
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3897164#3897164
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3897164
Hello,
We use a custom (JAAS) login module, which builds a custom prinicipal. When
logging in as a remote client, everything works fine. The client-side JAAS
login module communicates with the server-side login module, the login is
performed and the prinicipal is authenticated against our own
At work we are running Atlassian Jira and Confluence under the same JBoss 4.0.2
AS instance on Windows 2000 Server, but the heap size in the JVM that each is
(or both are?) running under is set to 64 MB. We want to change this to 128 MB
to give both of them more breathing room (since they run
My apologies everyone. I was trying to run a testCase in Eclipse, but it kept
bombing out on me and thought there was some special way of unit-testing
JBoss security. My assumption was, since the project was using JBoss-IDE, all
the required libraries should have been there.
Poor assumption.
Hi there,
we have a jboss application (JBoss 3.2.6 with a Oracle 9.2) connected to a
database using the jca config.
In case that the database is not reachable, the application hangs for at least
15 minutes, before it reacts normally.
a) What is the reason for this?
b) What can we do to avoid
Hello. If I make changes to login-config.xml I *think* I have to restart the
jboss server in order to pick them up. Is this true? I am talking about JBoss
3.2.3 for myself.
My goal is to make a web app that I can deploy without restarting the server
for each new customer that I have. I
Hi
I'm trying to do some JMS calls in an EJB method. The method is transacted, but
I want the jms calls to be transacted separately.
My code is
con = lookup(JmsXA);
Session session = con.createSession(true, Session.SESSION_TRANSACTED);
//do some stuff
session.commit;
On commit I get the
Upgrade to HSQLDB 1.8, or use MySQL or some other DB for persistence.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3897180#3897180
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3897180
I just have got the same problem using JBossIDE 1.4
Tried to use remote or local interfaces, the problem looks the same.
The context.lookup call returns me a valid (null) object,
but later I can't cast it to my ejb's home interface.
// this is running well
Object oRef =
No CPU overhead, unless you have multiple consumers, and each consumer uses a
thread or two.
On several installs, we use 100+ queues with no problem.
JBossMQ is weak when it comes to large messages and more messages than can fit
within memory. Also, client thread management isn't so hot --
P.S.
Jboss 4.02, JDK 1.4.9
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3897183#3897183
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3897183
---
SF.Net email is
The reason they can't talk is due to the serialization differences, but these
have been fixed in later versions.
Upgrade 3.2.3 to a newer version (3.2.7) with serialization compatibility.
If you can't do a full upgrade, then it's probably a pretty complicated job.
You may be able to create
My problem is related to packaging: see 'classCastException while casting ejb
Home's proxy'.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3897186#3897186
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3897186
As it turns out, setting -Xmx128m (maximum heap size) did help with the Tomcat
instances, but we also set -Xms64m (minimum heap size) and -XX:MaxPermSize=128m
(to help with the numerous classes created by JSP compilation).
Dave
View the original post :
Hi,
Is there a reference which documents that process?
I have been trying all sorts of things and getting into all sorts of problems.
Like my jms configuration is messed up ...
Hibernate creates incorrect slq to generate tables like:
2005-09-26 13:32:37,111 ERROR
I am using JBoss 4.0.2 and JBoss portal 2.0. The question I have if there is
any way to automatically redirect the user to the login page if any page at all
under a portal is trying to be acessed and then, after login, redirect the user
back to the intended page.
Thanks,
Florian
View the
Hi
I have similar error. I tried to obtain UserTransaction from JBoss-3.2.6 while
being in Jboss-4.0.2. I got:
javax.naming.CommunicationException [Root exception is
java.io.InvalidClassException: org.jboss.util.id.GUID; local class
incompatible: stream classdesc serialVersionUID =
That's an honest answer...thanks and have a GREAT evening, morning...whatever
your timezone.
Anthony
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3897205#3897205
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3897205
they will!
It simply took us a lot longer than anticipated to free up some resources to
port these portlets. We are actively working on this effort, so I hope we can
publish some early versions not too far in the future. However, I want to
caution people: We have bigger plans with our
I'm trying to run jboss 4.0.2 from Fedora Core 3 as a daemon using the provided
jboss_init_redhat.sh script. I've also followed the instructions in chapter 4
of startguide.pdf.
When I run jboss from the command line I can launch the HSQL Database Manager
without issue. However, when I start
how far have you performed the integration ? what is integrated actually and
how ?
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3897222#3897222
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3897222
Hi,
I have a webapp whose persistence layer is provided by hibernate. the
sessionfactory's datasource is configured via spring and is configured in a
standard oracle9i -ds.xml file.
in our spring configuration file for the hibernate session factory, i have this
property set:
...
false
...
Hi,
I couldnt configure file based persistence manager. The deployment fails with
ClassNotFoundException for rollinglogged persistence manager. When i searched
in jbossmq.jar, i couldnt find this class. Is file based persistence no longer
supported from jboss4.0 onwards? The version I am using
Hi,
I'm trying to bind a custom MBean into JNDI as described here
http://wiki.jboss.org/wiki/Wiki.jsp?page=JMXMBeanRemoteProxy
it works great in the default JBoss (4.0.3rc2) configuration.
But if I set Isolated to true in the EARDeployer configuration or declare a
custom loader-repository
I am trying to run the hello web services example in chapter 12, however I am
getting the following error message:
MyExceptionError processing WSDL document:
org.xml.sax.SAXException: Fatal Error: URI=http://MMATTHEWS:8080/hello-servlet/H
ello Line=2: Element type meta must be followed by either
We use JAAS, we have added an application-policy in login-config.xml
for our LDAP, and changed the security-domain in jboss-web.xml to
use our LDAP.
Did I answer your questions ?
Thanks
Sandeep
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3897236#3897236
I certainly hope so, but I can't make any commitments at this time.
The nice thing is that portlets aren't tightly coupled to the portal release
cycle (only to some degree), so they might not be ready for the 2.2 release,
but you might get them before the end of the year. But as I said, no
hi friends,
i was developed a web application in jsp and html.it was succesfully deployed
in tomcat and welogic servers but iam new to jboss application server .will plz
tell me the chages that are required to deploy my web application in jboss .i
mean what are the chages required in web.xml
the integration with the mysql based user store will work if the users are
inserted in the database with the same req.getRemoteUser() string.
we have thought about making the user store automatically create a user if the
user succesfully authenticate on a previous login module.
View the
This problem arises because the initial state transfer is set to true. And
during the initial state transfer, there is no way for JBossCache to know which
classloader to use.
Solution is to:
1. Turn off initial state transfer (fetchStateTransfer to false)
2. You will need to specifically get
I checked the web.xml and jbiss-web.xml, but still the same error:
rg.jboss.deployment.DeploymentException: Error during deploy; - nested
throwable: (javax.naming.NamingException: ejb-ref: ejb/Caclulator, no ejb-link
in web.xml and no jndi-name in jboss-web.xml)
Pls help me,
Divya
View the
What about your own classpath? Does it have other logging jar in there?
-Ben
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3897247#3897247
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3897247
To help you speed things up, can you try the demo on a Windows XP first? Then
we can troubleshoot to see why fedora doesn't work.
-Ben
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3897248#3897248
Reply to the post :
The web.xml is a standards based descriptor so should not require any
alterations unless you have referenced any Tomcat or Weblogic specific classes.
After starting the JBoss server if you did not pass any arguments to the run
script you should place the war file in
Hi everyone,
I've read a lot of tutorials and anything goes right!
I am trying to access a Stateful Session Bean from my Action class (Struts).
I am doing this with JNDI:
InitialContext context = new InitialContext();
Log log = (Log)
The API you want to use is activateRegion(String fqn), which 1) fetches state
from another node on the cluster for the subtree rooted at fqn, and 2) enables
marshalling for the subtree. _getState is the internal call one node makes to
another when it needs a partial state transfer.
This call
Once the user is authenticated by our LDAP module, the user in
request.getRemoteUser() is the user who has just logged in. I can see the user
name when I print it.
Will this feature making the user store automatically create a user
be available soon.
Is ther someway I can make it work,
I am getting a msg from org.jboss.mq.security.SecurityManager - No
SecurityMetadata was available for queue - ABC using default security config
where ABC is a queue that I created on Jboss-4.0.2.
Any pointers on why this message is getting displayed ?
Thanks in advance.
View the original
yes, you can help here and I think it is not too much difficult to do.
the best place to do that is in head of cvs (jboss portal 2.2).
The jaas module we use is ModelLoginModule. This login module uses the
UserModule (which is not a jaas login module but a portal service) to find the
user to
Thanks Julien,
I will look it up and will keep you updated.
Thanks,
Sandeep
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3897262#3897262
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3897262
I don't have anything in my classpath.. I have added the following line in
runShellDemo.sh:
echo $CP $ARGS $JAVA_OPTS
and here is what I got:
$ sh runShellDemo.sh
lib\commons-logging.jar;lib\bsh-2.0b4.jar;lib\jboss-aop.jar;lib\jboss-j2ee.jar;l
oops that XML block should read:
lt;property name=hibernateProperties
lt;props
...
lt;prop key=hibernate.connection.autocommitfalse
...
lt;/props
lt;/property
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3897274#3897274
Reply to the post :
JBoss Portal is only guaranteed to run on the JBoss App Server version 4.0.2
and higher.
See: http://www.jboss.com/index.html?module=bbop=viewtopict=69046
Scott Dawson
Unisys
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3897275#3897275
Reply to the post :
Good day,
Problem:
JBOSS based web service using document literal encoding is much more cumbersome
for the client side than my prior Axis 1.2 based web service that utilized
soapenc.
Background:
I am currently migrating development to Java and initially took advantage of
Axis 1.2 for it's
Please forgive the duplicate post. I'm not sure what I could have done to the
previous post, but the forums didn't like something. Because of that, I'm
submitting a link.
My apologies for doing it this way.
Please let me know if this is a bug, and I'll submit it in JIRA. I did not see
any
If the serialization is different between versions, you can't really do what
you describe without changing the underlying bytes in the message, namely
changing the Serialization ID to match.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3897281#3897281
Reply
For your first question, edit the web.xml in
jboss-portal.sar/portal-server.war/WEB-INF. Change the first security
constraint from
url-pattern/auth/*/url-pattern
to
url-pattern/*/url-pattern
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3897283#3897283
Can you try this again with Portal 2.0 Final (instead of 2.0.1 RC1)?
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3897284#3897284
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3897284
hi gatwick thankyou for giving me reply i successfully executed with u r
suggestion.thank you frindi need your help inthe future also
sudheer
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3897286#3897286
Reply to the post :
89 matches
Mail list logo