for me it was classloader issues
My app had 3 jboss jars in it which caused the classloader to not know where
TransactionFactory (i think) was. Investigate classloader issues with your
app or make a very simple app, like 1 jsp and see if you can get your
datasource to bind.
-good luck
Yes, there were two problems. I had to put this in my datasource:
use-java-contextfalse/use-java-context
It was correctly bound to java:/TransactionManager.
But I couldn't look it up because I had some Jboss jars bundled in with my
application. When I removed those it worked. There was
I'm getting the exact same error only I'm using an XA-datasource. Im using SQL
Server 2005. Any ideas?
One Data Source, the other is configured same just different DB instance.
| datasources
| xa-datasource
| jndi-namejdbc/myronepjndi/jndi-name
|
Mtedone1, I don't have an answer for you, but can you post your xml regarding
JTA, I cannot get JTA working right on 4.2.0. Specifically I cannot seem to
lookup TransactionManager from JNDI. I can get UserTransaction from JNDI, but
when I do, the expected Transactional behavior simply doesn't
I did what you said and it appears to be bound in the java: namespace.
java: Namespace
+- TransactionManager (class:
com.arjuna.ats.jbossatx.jta.TransactionManagerDelegate)
But when I do a lookup under java:/TransactionManager or just TransactionManger
or java:TransactionManger. I get:
As it turns out, i cannot find anything in the local java: namespace.
Im using springframework' JndiObjectFactoryBean. What am I doing wrong?
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4059253#4059253
Reply to the post :
With BOTH AS4.0.5.GA and AS4.2.0GA, I'm trying to lookup TransactionManager in
JNDI at various locations and it is throwing a Name Not Bound exception every
time. I can find UserTransaction w/o any problems.
java:/TransactionManager -- Not found
java:TransactionManager -- Not found.
Can
I'm using 4.0.5GA and got the same issue. I'm also trying it on 4.2.0.GA and
same issue.
Is it bound under a different name or is it using MBean only. Any idea how to
reference an Mbean with spring?
I've been stuck on this for days.
View the original post :
I'm having the exact same problem, and have not found jta.jar anywhere. I
noticed in the web-console that under J2EE Resources, there is an entity called
TransactionManager, but i can view no properties on it. Should i be able to?
In general, does anyone have a good idea how to solve the
I'm converting my site from apache mod SLL to jboss. I;m using a thawte ssl
certificate. They said i could convert my current cert to pkcs12 by following
this step.
I have a portal w/ multiple portlets that talk to my database. I'm using
hibernate 3.2, jboss app server/portal server bundle.
Each page of the portal has between 3 and 7 portlets that each make a call to
my single business object which gets 1 hibernate session from the factory PER
METHOD and
I'm not sure what XML file i have to edit to change the default portal's pages
and portlet arrangement. I have to set up the portal including many portal
pages and custom portlets on quite a few different machines and i dont want to
have to login and spend an hour settingup the whole portal in
I have a problem that is causing multiple form submissions in a my portlet.
When you first load my portlet page you are displayed a form that you must fill
out and submit. When you click the submit button, it obviously submits the
form. But the next time you load that portal page, it
Yeah I had just figured out that ActionURLs and RenderURLs are quite different.
And I did read the spec, though I can't say its my friend yet, we just met.
Thanks for the help either way, much appreciated.
View the original post :
ANyone have any ideas?
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3990998#3990998
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3990998
___
jboss-user mailing list
Would it be possible to update the login jboss portal login via the update
profile screen? If so how?
Thanks
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3990530#3990530
Reply to the post :
About the bad password. Its because the portal encrypts them before they hit
the DB. Cut and paste the password from the db table and it will work. I have
yet to figure out how to have JAAS do this by itself but I hope to figure that
out before the end of the day.
Any tips from anyone on
When you access the portal and get the properties file errors, that seems like
you didnt tell the portal to use DBLoginModule. I had to specifally not put my
login-config.xml in the portlets war. But rather in the
portals/conf/login-config.xml. I had the same error as u until i did that.
I have a jaas login module. Its DatabaseLoginModule thats authenticating not
only my portal but also some supporting webapps.
Works like a charm. Problem is, im using the jboss portal database for my
userbase and role management. Those passwords are encrypted. I have to supply
the
Ok, but remember im using jaas. So is there a param that I can use to decrypt
the MD5 in my login-config?
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3987911#3987911
Reply to the post :
No fields medal for me. haha. I meant .. encrypt on the way down, which i was
able to do , not decrypt on the way up.. my mistake.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3987931#3987931
Reply to the post :
By the way, this is my login-config.xml and hashAlgorithm doesnt work. But
Programmatically converting string to MD5 does. Any ideas?
| application-policy name=portal
| authentication
| login-module code =
org.jboss.security.auth.spi.DatabaseServerLoginModule flag =
HEX was the trick. Thank you.
Now.. for my next fields medal
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3987954#3987954
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3987954
for the encryption issue. this thread solves it. just add 2 elements to
login-config.xml and your done.
http://www.jboss.com/index.html?module=bbop=viewtopicp=3987954#3987954
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3987955#3987955
Reply to the post :
Thanvi -- Im happy to help. Everythign I used came with the portal and is part
of the jaas spec so you dont need to download anything
Im using jboss bundled portal and app server. App server v 4.0.4GA and portal
2.4.
Before you start you need to figure out how you are going to authenticate.
Lastnight windoz updated my machine. Jboss was workign perfectly last night..
now.. many many errors related to JNDI .. snippet pasted below. Im at a stand
still can anyone help?
| =
|
| JBoss Bootstrap
That wasnt the problem. But good tip. Some process was holding that port but
it had been for weeks, and Jboss still ran fine. The JNDI problem was because
for some reason windows update of MSXML 4.0 Security Update released on
November 14th, hijacked the jboss's ability to read any service
Ive gotten SSO to work for jboss portal and a supporting webapp on the same
virtual host. But my login routine not only needs to authenticate the user
against jboss portals user database, but also pull some information from a
supporting database and work with it.
My problem is that I created
Maybe I wasnt so clear. I want to be able to programmatically call my login
SSO routine and if it passes, set some other non SSO objects in the session.
What is the best way to do this?
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3986254#3986254
Reply to
Ok I got a little farther. Hopefully someone can help now that i've added more
details. My goal is to set up DB Authentication.
I get the ugly login box popping up as you'd expect but at first it was
throwing this exception, missing a few user and role properties files, which I
added and
Thanks Kosmi. Your post didnt come through, but i got it by viewing source.
Now i get a new message, basically saying the password is wrong. however.. Its
not.
Does jaas authentication mandate some kind of standard encryption in stored DB
passwords? Im 100% sure that my User/ pass combo
Kosmi,
Thanks for the help. I think, as it turns out, the error described:
13:58:50,015 ERROR [UsersRolesLoginModule]
was due to my login-config.xml being deployed in my application war WAS NOT
CORRECT. I had to remove that file and place the application-policy
definition inside of the
I got it working, the problem ended up being the sql i was using for the roles
Query. My database (the jboss portal) db. Doesn't have a schema that directly
matches the way the query has to be shaped.
By looking at the source of DatabaseServerLoginModule.java I was able to figure
out what it
jcollins. I feel your pain in that most of the docs im reading on SSO are
specific to EJB set ups. I don't think I can offer you any help in your
problem, but i do get the distinct feeling that you are farther along in fixing
your problem than I am in mine and hopefully you, or someone paying
Heres my situation. On jboss portal 2.4 bundled. I have deployed a webapp
(outside of portal), and I have a portal app, with a bunch of portlets.
My users will enter the system throught he webapp, login to a separate data
source and then gain access to the portal.
I want to be able to
Thanks. Gonna read up some docs on how to do that. Anyone else have info,
since im doing this the first time, is appreciated.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3984950#3984950
Reply to the post :
Please excuse the noobish questions as I beat this topic to death.
I put in the valve listener in tomcat and thats fine. But where im stuck is
how do I now syncronize the different apps on my virt host? SHouldnt there be
some changes im making to the code of each that says 'use the valve'
Read up on jaas a little bit. Unfortunately im getting confused. Ashamed to
say I need a serious hand holding here. I found a pretty easy to follow read
on Federated SSO http://labs.jboss.com/portal/jboo/?prjlist=false but that
appears to be a separate download and not included with the
In case anyone had the same issue, It was because both portlets were in
different wars. Putting them in the same war fixed it. Whats wierd though is
that when they were in separate wars, the session ID across both was identical.
However niether portlet could read eachothers attributes.
View
Think you could help me hunt that setting down? I have a new problem where i
have a non portal webapp that has to be deoployed as a different war. It has
to read both my portlets session vars and visa versa.
Im reading TONS of contradictory posts saying that it can be done with the
servlet
Update: The session ID accross both portlets is identical. They are in
separate war files - does that make a difference? Any answers appreciated, I'm
stuck here.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3982179#3982179
Reply to the post :
Im using the following code setting a simple string in the portlet session's
APPLICATION scope in portlet A. Reading it with portlet B. and its always
returning null in portlet B. I'm missing something simple can anyone clue me
in?
Portlet A -- works just fine
java.util.Date zDate = new
Can you supply more code, specifically what your importing. It looks like
fragmentCache is specific to jboss and that may work but i was hoping for a non
platform specific fix. I was hoping it was something in the 168 spec that i
was messing up? Does anyone have any idea?
View the original
My problem: I am trying to get transactions working with hibernate 3 and jboss
4.0.4.
I deployed my har file and it worked. I can get a currentSession() from JNDI,
but I cannot get a transaction to work. It throughs Unable to locate current
JTA transaction exception.
I'm not using EJBs,
I seemed to get around it with the following code.
But does anyone know if im on the right track here? Is openSession() worse than
getCurrentSession()?
Session hsession = null;
| try {
|
| InitialContext ctx = new InitialContext();
|
It turned out rather easy. I followed this chapter and it worked first try.
http://docs.jboss.org/jbossas/jboss4guide/r5/html/ch13.html
thanks for the help everyone.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3979650#3979650
Reply to the post :
I agree. I've tried setting the expiration-cache value to 0 explicitly in
portlet.xml and programatically in doView, each time it doesnt set.
I'm stuck on this cause i need a work around for my situation..
first time a form submits - processAction is called then doView. doView checks
for
expiration-cache0/expiration-cache has no effect. Any ideas?
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3979382#3979382
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3979382
Were you able to figure this out? Im having the same problem.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3979428#3979428
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3979428
That explained Mbeans. But im still unclear, I think at a high level how it
all fits together. I need to understand how both web apps and portlets can
share a datasource, preferably through a hibernate session.
I've got my datasource set up and Im sure i can make calls on it through both a
on 2.4 bundled , I deployed the simple JSP Portlet and it worked fine. It asks
you to fill in a value in a field and hit enter, the portlet sees if that value
exists and echos it back out to you if so.
When you reload the entire page, i expected the portlets' form to be displayed
not the
I have a project where I have to create a portal along with a non-portal web
app to allow different users to read and write to my secondary data set.
Portlets will need to interact with this data as well as componants (jsps and
servlets outside of the portal container. I would like to know if
Thanks for the reply. I'm a jboss noob, sorry. Can you point me to some docs
or explain some of the grittier details. Like what do i jar up .. where do i
put it, stuff like that?
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3978898#3978898
Reply to the
53 matches
Mail list logo