Hi,
Try deleting the contents under the folder work and tmp. This may help but not
sure ;-)
Sriram.P
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3887630#3887630
Reply to the post :
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3887630
Scott,
thanks for following up. I don't really get the message, though. Yes,
j_security_check is a special alias used by the system. Using it from HTML
forms is common practice. So what's wrong with redirecting from a JSP?
View the original post :
This might be an indication that a JMS user hasn't specified user/pwd
credentials (e.g. simply calling getTopicConnection() instead of
getTopicConnection(user,pwd)). Try to identify the causing consumer/producer
and check if he's providing propper credentials.
Regards
Ulf
View the original
Is there a way how can I instantiate portlets from another portal?
I have created new WAR file containing portlet-instances.xml as well as
refproj-portal.xml. I wanted to instatiate ContentPortlet (defined in default
portal - portal-core.war) with different URI property, therefore I wrote this
My Database server is not stable,and I must restart it sometimes .
Every time I restart it,my web application on JBoss cannot work.
I checked the code,when the ejb's create() method is called ,it throws
Exception :
javax.ejb.CreateException: Error checking if entity
anonymous wrote :
| I know genman, schrouf and darranl drop in regularly as well.
|
| They are more tolerant of lazy users...
|
No, we don't like lazy users either... but maybe it just reminds us of our own
'dumb' questions while struggling to get started :-)
View the original post
Guaranteed message delivery for queues just requires sending
[bold]persistent[/bold] messages. As simple as that :-)
Regards
Ulf
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3887640#3887640
Reply to the post :
Make sure that both beans ( the session bean and the entity bean) declare that
a transaction is required. Then all of the 'internal' CMP entity bean
operations should run in the same transaction of the 'outer' session bean. The
container will create a transaction before invokation of your
Even if a version upgrade always requires some work I would strongly recommend
an upgrade to a JBoss version 3.2.6 as there is a connection pool leak in
earlier JBoss versions under heavy load.
Regards
Ulf
View the original post :
I strongly advise you to use 'Service Locator Pattern' by using Singleton
Pattern. If you had done this methodolgy, you could have make the module more
efficiency.
---
reference docs
I think that it's concerned at the MDB in duplicate.
I recommend that you certain whether the Bean is Binded
For example, You can check whether the thread prosess is running or aborted as
the sample code below
--
...
if(
Sorry I maybe guess wrong; I understood it in error;
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3887657#3887657
Reply to the post :
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3887657
Yes it makes sense for the EntityManager to throw the exception after a flush
executes. However it appears that in this situation an exception is not being
thrown by the EntityManager.
Question : Is this a bug ? If it is, how do I flag it to the powers that be ?
Jonathan
View the original
Hi everyone,
I've a question about progressnotification.
I have a standalone java client app which should invoke an long running
calculation on an enterprise java bean. The calculation is realy heavy work
which will take maybe hours. While work is in progress I want to show some kind
of
Don't dig up old posts and just add a ME TOO style comment at the end.
Start a new thread showing YOUR code samples and the exceptions YOU are getting.
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3887671#3887671
Reply to the post :
I have a Problem concerning clustering ejbs. Searching did not lead me to a
result so I am asking in this Forum:
I was using the installer and chose the all config in the installer to
install the AS.
Now I am trying to experiment a little bit with clustered beans and immediately
had a problem
Hi, I'm beginner in a JBoss technology , I tried to install a Jboss 3.2.6
version but i 've this error
java.lang.NoSuchMethodError
at org.jboss.Main.boot(Main.java:98)
at org.jboss.Main$1.run(Main.java:399)
at java.lang.Thread.run(Unknown Source)
Why?
I tried 3.2.2
I checked what you wanted me to and confirm that the TreeCache is up and
running.
Here is what I get on the stdout (Sorry for the huge log)
|
===
| .
| JBoss Bootstrap Environment
| .
| JBOSS_HOME:
Hi,
Does anybody knows a method to log failed login attempts in JBoss using SRP
protocol (Secure Remote Password)?
Something like the Login Module described in
http://www.quepublishing.com/articles/article.asp?p=389111 (Building a Custom
JBoss Login Module)
would be perfect.
View the
Hi,
I have an error and I don't know what to do. I wrote a clienr to test my web
service, but at the line :
System.out.println(output: + (String)call.invoke(argum));
I have an error:
Retrieving document at 'http://debug/testws/Test?wsdl'.
AxisFault
faultCode:
Hi, I have JWSDP 1.6 and everything works fine. I generated mapping file and
WSDL file wuth this command:
C:\Sun\jwsdp-1.6\jaxrpc\bin\wscompile -classpath E:\cod\oceaninfo\build\classes
-gen:server -f:rpcliteral -f:searchschema -mapping mapping.xml config.xml
Good luck,
Kristina
View the
I kept investigating the problem and found the difference betweeen the machine
where Clustered SSO works for me and the one where it doesn't. Moreover, I
found the root of described the problem!
Apparently some time ago I wanted to be able to reach jboss JVM via sun's
jconsole, therefore I
I have been told that you can override the number of retires on a MDB. I cannot
however find any documentation on how this is accomplished. Any help would be
appreciated.
Thanks in advance!
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3887695#3887695
Reply
Hi,
Managed to get my JAAS+Tomcat SSO working with the BASIC authentication method.
Everything's working. My question is how to retrieve the userid from the
container?
Thanks. Any help is appreciated.
View the original post :
HttpServletRequest.getUserPrincipal
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3887697#3887697
Reply to the post :
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3887697
---
SF.Net email
This can be configured within your queue/topic descriptor
| ?xml version=1.0 encoding=UTF-8 ?
| server
| mbean code=org.jboss.mq.server.jmx.Queue
| name=jboss.mq.destination:service=Queue,name=MessengerService
|
| depends
Thanks schrouf!!
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3887699#3887699
Reply to the post :
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3887699
---
SF.Net email is sponsored by:
Thanks Thomas. That did it.
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3887701#3887701
Reply to the post :
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3887701
---
SF.Net email is
Hi! i'm new in Jboss Portal, i wan't to know
how to make a portlet invisible to anonymous users.
thanks for any answer
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3887702#3887702
Reply to the post :
Hello,
I'm currently trying to migrate a webapp from weblogic8.1 to JBoss, and I'm
meeting a problem I hadn't with WLS.
My webapp has a security-constraint section with auth-constraint. I'm using
Form authentication with DB Realm. My problem is that I can log in my webapp,
but I get a 403
Beware of the fact that all the subdirectories under deploy the META-INF and
WEB-INF directories are UPPERCASE
I've a HP-UX machine exporting some samba directories and I've found that if I
copy a directory tree (like the http-invoker.sar) all the META-INF and WEB-INF
directories are
Hi,
Am using jboss 4.0.2 and trying to create a snapshot view of a jmx
attribute so that I get relevant details when I click the snapshot link in the
applet tree of jboss web-console. Presently the link is numb for my
installation. I explored in the jboss-service.xml(inside default/conf
Hi,
While running Jboss I am getting an error Starting failed
jboss.mq:service=PersistenceManager
javax.management.AttributeNotFoundException: not found: BindName
Please see the error log below
Starting failed jboss.mq:service=PersistenceManager
javax.management.AttributeNotFoundException: not
There is the source of the problem if anyone is interested:
Class files along with ...hbm.xml files have to be JARed, insted of expanded
within the .HAR file.
A similar bug has been known but this one must be new.
View the original post :
Hello,
I tried to deploy the EJB3Trail.ear and my own ear archive as well but I get
always the same error message:
15:56:34,185 ERROR [URLDeploymentScanner] Incomplete Deployment listing:
--- Packages waiting for a deployer ---
[EMAIL PROTECTED] {
I modified only login-config.xml by replacing existing application-policy with
name=jbossmq to:
application-policy name = jbossmq
login-module code =
org.jboss.security.auth.spi.UsersRolesLoginModule
flag = required
module-option
Hello: I want to create the Jboss ejb descriptors from within Jdeveloper
10.1.2, I see that Jdev can create descriptors for Orion weblogic and OC4j.
When using the CPM Entity Beans Wizard Jdev asks for the persistence Manager
but Jboss is not among them how can I add it?
Can somebody give me
iit wrote :
| I guess you are wrong, Adrian. You might check the examples for the JCA 1.5
spec, section 12.7:
|
I am not wrong, since the examples are non-normative.
I guess we will have kludge our way around it, not because of the examples,
but because of the standard properties mentioned
Hi, I have exactly the same problem as you, anybody how help us??
Thanks in advance.
JAEC
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3887734#3887734
Reply to the post :
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3887734
We have an application that makes remote EJB calls to a WebLogic 8.1 server.
The wlclient.jar for WebLogic is contained in the ear and is referenced through
the class path entry in the manifest file for the EJB jar. This application
works perfectly in WebSphere 5.1, but when we try to deploy
I have been playing around with EJB on 4.0.1SP1 and just moved to 4.0.3rc1. I
added the persistance.xml in place of the hibernate.properties. I have a very
simple test with one Entity and one stateless Session. Everything is running
in a single VM. No changes to default configuration were
tcherel wrote : This is definitely the way to make it work to get the custom
principal in the session code, but I did not think that this was also working
for the web container.
| Which JBoss version are you using?
|
| Thomas
I'm using JBoss AS 4.0.2
View the original post :
[EMAIL PROTECTED] wrote : You could read the wiki on DII clients.
|
| http://wiki.jboss.org/wiki/Wiki.jsp?page=WSClientDII
Thomas
I am struggling with this same issue; I think that full source of the classes
that are excerpted in the Wiki page would go a long way to helping. (to provide
Thanks for the reply. When I try with localhost it works perfectly. I
intentionally put in bocalhost, because I want to capture the exception. There
is no machine called bocal host and my debug log shows the naming exception
being thrown - but not from my code even though I am catching it.
Hello All!
I am a newbie and would like to know where to down load this zip file. Please
help!
Thanks
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3887741#3887741
Reply to the post :
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3887741
Hi,
gcj in the target of symbolic link java in your $PATH .
you have to install new jdk and update symbolics link in /usr/bin, like:
ln -s /usr/java/jdk/bin/java /usr/bin
best regards.
cedric
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3887745#3887745
I have been having some trouble with the HA JNDI configuration. I did get it to
work, but I am hoping to find a better way to do what I need. I believe I am
missing something pretty basic and simple, but I have failed miserably to find
any documented hints in this regard. Hence, this post.
My
Well I'm working on this small test app:
Basically I have a secured SessionBean I'd like to call.
Now I have my Servlet setup to
have
lc = new LoginContext(d,new UsernamePasswordHandler(u,p.toCharArray()));
after that I do something like:
TestUtil.getLocalHome().create();
I get a
Ohh forgot: I'm using 4.0.2+jbas-1875-patch
kindest regards,
Moritz Angermann
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3887750#3887750
Reply to the post :
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3887750
OK, Im an idiot. I had some jars in my classpath that were contaminating
classpath (older jta stuff). However, I am stull getting errors. I can now do
a lookup and get a $Proxy object that appears (looking at the debugger) to
proxy the PersonSession class but I get a classCastException when
I think there was a problem with how TreeCacheSSOClusterManager was finding the
JMX server -- I'm expecting your command line switch caused another JMX server
to start and TreeCacheSSOClusterManager was finding that (sorry -- at work now
and can't confirm).
Last night I committed a patch to
I am seeing a similar problem. If you get an answer, please let me know at
[EMAIL PROTECTED] If I find out, Ill post the answer here.
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3887753#3887753
Reply to the post :
The -Dcom.sun.management.jmxremote does cause a second MBeanServer to be
created so unless you are querying the for the jboss specific one you may be
getting the jdk platform MBeanServer which will have no jboss mbeans registered.
View the original post :
This ClassCastException problem was expained in
http://www.jboss.com/index.html?module=bbop=viewtopict=66651
You cannot have the interface classes in the webapp classpath. However, I am
trying to run the whole thing in one VM under eclipse so I had to play around
with separate trees for the
See http://www.jboss.com/index.html?module=bbop=viewtopict=67287 for my
solution. Instead of packaging an EAR, I got it all running out of eclipse
using 2 source (and build) paths. This keeps the interfaces out of the
web-inf/classes path.
View the original post :
Curious question can a queue be created and placed in branch other than queue
or in a sub branch of queue? For example if I had a destination named
TestQueue, could the queue be created under customqueue/TestQueue or
queue/jms/TestQueue?
Thanks.
View the original post :
I wanted to follow up with more information
The test case I am running is inside a main function. Does this mean it is
truly running in its own JVM? If so, that would explain my errors. I still
would appreciate some feedback.
J.D.
View the original post :
Okay, I wondered if that was intentional or just a typo. :)
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3887773#3887773
Reply to the post :
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3887773
Hello folks,
I solved the problem by myself.
The ear deployer is missing what means that the EARDeployer MBean is not
registered so you can deploy no ear archives.
There should be an ear-deployer.xml file in the deploy folder. Not sure if it
is a bug or deliberate.
Thanks to the JBoss
There are tons of threads on this subject in the forum.
If you are doing you own JAAS login in your servlet code, you will need to make
sure that ClientLoginModule is part of the JAAS configuration you are using
(domain according to your code below) for the propagation to happen.
But you also
When running wscompile and going from Java to WSDL, is there any wscompile
support for recognizing/utilizing existing schemas when generating artifacts,
without creating everything from scratch?
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3887776#3887776
Hi,
We have two clustered JBoss instances in cluster configuration containing
clustered SLSBs. Web applications deployed in a third JBoss instance access
these clustered SLSBs. I was testing failover by stopping the current active
clustered instance and each time testing the functionality of
Thanks for the answer Tomas.
Well I tried to look it all up running google queries all over the place...
hmm...
What I wanted was:
#1 login
#2 call methods
#3 logout
so the natural way seemd to use the JAAS login when the user arrivs and logging
him out once he goes.
The thing i wanted to
Hi ,
I done rewritecondition and rewriterule in APAche[httpd.conf] and Tomacat.
Presently i am using JBoss.How Can I use Rewriterule in Jboss.
Thanks
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3887786#3887786
Reply to the post :
Basically, your servlet is a client to your EJBs.
With JBoss, if a client is doing an explicit JAAS login, the established
security context is propagated to the backend EJBs only if you have the JBoss
ClientLoginModule as part of your JAAS configuration.
I am assuming that you edited the
How do I create an Interceptor?
Where do I configure an interceptor?
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3887788#3887788
Reply to the post :
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3887788
we have 2 kinds of interceptors so far in jboss portal, server scoped and
component scoped.
in 2.0 both of them use the same based interface, in 2.2 they have each a
specific subclass.
you create your own by inheriting the base class of interface and you specify
them in an xml file in conf
I've read many postings suggesting JBoss 4 has a full distributed transaction
manager which I take to mean a TM that provides for transactions that span
multiple JVMs.
The JBoss 4.x documentation does not support this. It makes reference only to
the fast in-memory TM that does not propagate
That you Very much.
I'm writing a blog system (just for fun and learning).
So I'll have my dispatch servlet wich will do all requests. that need
autorithation.
and care for login only in case the required actions need auth.
Btw: is there a way I can ship my login-config with my ear? or do I have
If you keep having this probelm, you can open up a Jira issue under
JBossAS/clustering component. Please attach your test case as well.
Thanks,
-Bem
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3887797#3887797
Reply to the post :
For the login config, take a look at
http://wiki.jboss.org/wiki/Wiki.jsp?page=DynamicLoginConfig.
The JBossSX Wiki pages are actually a good JBoss security resource for
documentation.
Not sure I understand the second question. I am not Entity bean expert but Iw
ill be surprised that you can
Ask yourself, how many of those links are from the actual JBoss site?
And while you are at it, ask yourself what the JBoss site actually says:
http://www.jboss.org/wiki/Wiki.jsp?page=JBossJTS
You can be J2EE certified without supporting JTS.
EJB-2.1 Section 19.6.2:
Interoperability The
First of, let me say sorry if I botch any of the terminology here.
I'm having a problem relating to permissions of the JBOSS_HOME and subsequent
subdirectories. Previously, the entire JBOSS_HOME was owned by user foo:foo
and that was the user that ran JBoss. I've since changed this and only
How did you install JBoss? Did you use the installer or did you just unzip a
distribution?
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3887802#3887802
Reply to the post :
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3887802
jcorbin4607 wrote :
| The test case I am running is inside a main function. Does this mean it is
truly running in its own JVM?
It depends on how the main method is being called.
Also how is the InitialContext obtained?
View the original post :
Thanks for the quick reply. Having a definitive answer means more than you know.
The postings regarding tyrex seem to suggest that it was included/recommended
at some point in JBoss's history but was subsequently removed/deprecated.
The postings regarding JOTM seem to suggest that it is the
Does your web application cache the interfaces that are being used or do you
perform the lookups each time?
As part of your testing did you make sure at least one of the nodes was up all
the time so when each node is started it can join the original cluster or at
some points were all of the
I am creating a web service to send alert messages by email and after following
the documentation I found at
http://docs.jboss.org/jbossas/jboss4guide/r3/html/ch12.html I am still getting
an error as follows:
anonymous wrote : java.lang.Exception: The OperationDesc for sendAlert was not
Tyrex is broken and does not do transaction recovery.
Even the original coder said NOT to use it in production.
Although you can still find the code in the cvs archive, I doubt it even
compiles.
JOTM is based upon HOWL of which most people I've spoken to have a low opinion.
I know of posts
If we go for it, I'll be sure to post the results--good, bad, or inconclusive.
Thank you very much both for the reply and for the application server.
Gregg
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3887810#3887810
Reply to the post :
Build .har, and deployed.
This is my hbm.xml file.
?xml version=1.0 encoding=UTF-8?
!DOCTYPE hibernate-mapping PUBLIC =//Hinernate Mapping DTD 3.0//EN
http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd;
hibernate-mapping package=com.ssi.listener.bean
Gregg_Saffell wrote : I need distributed transaction
It is very seldom you actually need DTM (rather than just XA).
It usually points to bad design and nearly always leads to poor performance.
Besides being a pain to manage.
The only reason we are implementing JTS for JBoss is because people
Can you post your deployment descriptors wrapped with [ code ][ / code ] tags
without the spaces and use the preview button.
Can you also execute the command 'jar -tf harname.har' and post the output here.
What messages are displayed when you deploy the har?
View the original post :
That it only points to bad design has been posted before and isn't true. We
have a distributed application that requires a record to be stored both locally
and at a remote site. The redundant storage of the record allows both sites to
do their thing even when they can't communicate. Should the
Here is what I see when I deploy the .har file:
15:34:51,203 INFO [Hibernate] Using JDBC batch size : null
15:34:51,203 INFO [Configuration] Searching for mapping documents in jar:
listenerHAR.har
15:34:51,203 INFO [Configuration] processing extends queue
15:34:51,203 INFO [Configuration]
Turns out the problem was a switch issue. What made this especially hard to
figure out is that org.jgroups.demos.ViewDemo shows the machines clustering
correctly. Fortunately, org.jgroups.tests.McastReceiverTest and
org.jgroups.tests.McastSenderTest failed, which led me to investigate the
Gregg_Saffell wrote : That it only points to bad design has been posted
before and isn't true. We have a distributed application that requires a
record to be stored both locally and at a remote site. The redundant storage of
the record allows both sites to do their thing even when they can't
I'll take that as a no.
Have a nice day.
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3887820#3887820
Reply to the post :
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3887820
---
SF.Net
Thanks again Tomas. And sorry to bug you once more :/
well I now got the DynamicLoginConfig setup and my login-confix.xml too.
login-config.xml
?xml version='1.0'?
| !DOCTYPE policy PUBLIC
| -//JBoss//DTD JBOSS Security Config 3.0//EN
|
WH! It worked!
wow. that was tough ;)
thanks a ton Tomas.
was my mistake a spelling error in the jboss.xml
kindest regards,
Moritz Angermann
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3887824#3887824
Reply to the post :
But I found that there are three files for interceptors.
./core/src/resources/portal-core-sar/conf/jboss-container.xml
./core/src/resources/portal-core-sar/conf/standardjboss-page.xml
./core/src/resources/portal-core-sar/conf/standardjboss-portlet.xml
Does it mean both standardjboss-page.xml and
I find the following documentation is one of them that you read it and you
could not test it -- useless:
http://docs.jboss.org/ejb3/tutorial/stateless/stateless.html
My question is that:
1): the Calculator class refer @Stateless from javax.ejb.Stateless. I checked
jboss-j2ee.jar, there is no
I was able to reproduce the problem by setting the
-Dcom.sun.management.jmxremote parameter, and confirmed that the patch I
committed last night fixes the problem (by finding the JMX server by calling
MBeanServerLocator.locateJBoss() instead of just locate()). So, this issue is
fixed in CVS.
Thanks Ulf.
I will upgrade to JBoss 3.2.7
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3887849#3887849
Reply to the post :
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3887849
---
SF.Net
Thanks Ulf.
I will upgrade to JBoss 3.2.7
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3887851#3887851
Reply to the post :
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3887851
---
SF.Net
95 matches
Mail list logo