[jboss-user] [JNDI/Naming/Network] - Re: TransactionManager not bound

2007-11-17 Thread bmcgovern
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

[jboss-user] [JNDI/Naming/Network] - Re: Why is TransactionManager not Bound in JNDI

2007-08-21 Thread bmcgovern
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

[jboss-user] [JBoss Seam] - Re: Problems using multiple datasources

2007-07-10 Thread bmcgovern
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 |

[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: Multiple persistence units (one JTA one RESOURCE_LOCAL)

2007-06-30 Thread bmcgovern
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

[jboss-user] [JNDI/Naming/Network] - Re: Why is TransactionManager not Bound in JNDI

2007-06-29 Thread bmcgovern
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:

[jboss-user] [JNDI/Naming/Network] - Re: Why is TransactionManager not Bound in JNDI

2007-06-29 Thread bmcgovern
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 :

[jboss-user] [JNDI/Naming/Network] - Why is TransactionManager not Bound in JNDI

2007-06-28 Thread bmcgovern
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

[jboss-user] [JNDI/Naming/Network] - Re: TransactionManager not bound

2007-06-27 Thread bmcgovern
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 :

[jboss-user] [JBoss/Spring Integration] - Re: TransactionManager and UserTransaction

2007-06-26 Thread bmcgovern
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

[jboss-user] [Installation, Configuration Deployment] - SSL using a converted PKCS12 keystore

2007-05-15 Thread bmcgovern
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.

[jboss-user] [JBoss Portal] - Is this app design for my portal app good or bad.

2007-02-11 Thread bmcgovern
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

[jboss-user] [JBoss Portal] - Dynamicity - without the admin portlet

2006-12-28 Thread bmcgovern
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

[jboss-user] [JBoss Portal] - Serious Portal Caching issue.

2006-12-06 Thread bmcgovern
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

[jboss-user] [JBoss Portal] - Re: Serious Portal Caching issue.

2006-12-06 Thread bmcgovern
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 :

[jboss-user] [JBoss Portal] - Re: Modifying Update Profile Screen

2006-12-04 Thread bmcgovern
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

[jboss-user] [JBoss Portal] - Modifying Update Profile Screen

2006-12-01 Thread bmcgovern
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 :

[jboss-user] [JBoss Portal] - Re: Single Signon - Where do I start

2006-11-22 Thread bmcgovern
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

[jboss-user] [JBoss Portal] - Re: Single Signon - Where do I start

2006-11-22 Thread bmcgovern
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.

[jboss-user] [JBoss Portal] - JBoss portal Passwords are encrypted. -- How do i decrypt

2006-11-22 Thread bmcgovern
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

[jboss-user] [JBoss Portal] - Re: JBoss portal Passwords are encrypted. -- How do i decry

2006-11-22 Thread bmcgovern
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 :

[jboss-user] [JBoss Portal] - Re: JBoss portal Passwords are encrypted. -- How do i decry

2006-11-22 Thread bmcgovern
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 :

[jboss-user] [JBoss Portal] - Re: JBoss portal Passwords are encrypted. -- How do i decry

2006-11-22 Thread bmcgovern
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 =

[jboss-user] [JBoss Portal] - Re: JBoss portal Passwords are encrypted. -- How do i decry

2006-11-22 Thread bmcgovern
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

[jboss-user] [JBoss Portal] - Re: Single Signon - Where do I start

2006-11-22 Thread bmcgovern
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 :

[jboss-user] [JBoss Portal] - Re: Single Signon - Where do I start

2006-11-17 Thread bmcgovern
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.

[jboss-user] [JNDI/Naming/Network] - Recent Windows update might have broke my jboss - JNDI erro

2006-11-16 Thread bmcgovern
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

[jboss-user] [JNDI/Naming/Network] - Re: Recent Windows update might have broke my jboss - JNDI

2006-11-16 Thread bmcgovern
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

[jboss-user] [Security JAAS/JBoss] - Calling LoginContext.login successful but SSO cookie not se

2006-11-15 Thread bmcgovern
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

[jboss-user] [Security JAAS/JBoss] - Re: Calling LoginContext.login successful but SSO cookie no

2006-11-15 Thread bmcgovern
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

[jboss-user] [JBoss Portal] - Re: Single Signon - Where do I start

2006-11-13 Thread bmcgovern
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

[jboss-user] [JBoss Portal] - Re: Single Signon - Where do I start

2006-11-13 Thread bmcgovern
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

[jboss-user] [JBoss Portal] - Re: Single Signon - Where do I start

2006-11-13 Thread bmcgovern
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

[jboss-user] [JBoss Portal] - Re: Single Signon - Where do I start

2006-11-13 Thread bmcgovern
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

[jboss-user] [Security JAAS/JBoss] - Re: Attempt to get JBoss to call my custom login module

2006-11-11 Thread bmcgovern
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

[jboss-user] [JBoss Portal] - Single Signon - Where do I start

2006-11-10 Thread bmcgovern
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

[jboss-user] [JBoss Portal] - Re: Single Signon - Where do I start

2006-11-10 Thread bmcgovern
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 :

[jboss-user] [JBoss Portal] - Re: Single Signon - Where do I start

2006-11-10 Thread bmcgovern
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'

[jboss-user] [JBoss Portal] - Re: Single Signon - Where do I start

2006-11-10 Thread bmcgovern
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

[jboss-user] [JBoss Portal] - Re: Using PortletSession, sharing objects between portlets

2006-11-01 Thread bmcgovern
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

[jboss-user] [JBoss Portal] - Re: Using PortletSession, sharing objects between portlets

2006-11-01 Thread bmcgovern
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

[jboss-user] [JBoss Portal] - Re: Using PortletSession, sharing objects between portlets

2006-10-31 Thread bmcgovern
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 :

[jboss-user] [JBoss Portal] - Using PortletSession, sharing objects between portlets

2006-10-30 Thread bmcgovern
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

[jboss-user] [JBoss Portal] - Re: programmatically disabling caching

2006-10-27 Thread bmcgovern
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

[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Hibernate - Unable to locate current JTA transaction

2006-10-25 Thread bmcgovern
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,

[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: Hibernate - Unable to locate current JTA transaction

2006-10-25 Thread bmcgovern
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(); |

[jboss-user] [JBoss Portal] - Re: Using Hibernate to access non-portal data via singleton

2006-10-20 Thread bmcgovern
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 :

[jboss-user] [JBoss Portal] - Re: programmatically disabling caching

2006-10-20 Thread bmcgovern
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

[jboss-user] [JBoss Portal] - Re: Simple JSP Portlet In the Ref Manual / reloading page

2006-10-19 Thread bmcgovern
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

[jboss-user] [JBoss Portal] - Re: programmatically disabling caching

2006-10-19 Thread bmcgovern
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

[jboss-user] [JBoss Portal] - Re: Using Hibernate to access non-portal data via singleton

2006-10-18 Thread bmcgovern
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

[jboss-user] [JBoss Portal] - Simple JSP Portlet In the Ref Manual / reloading page

2006-10-18 Thread bmcgovern
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

[jboss-user] [JBoss Portal] - Using Hibernate to access non-portal data via singleton

2006-10-17 Thread bmcgovern
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

[jboss-user] [JBoss Portal] - Re: Using Hibernate to access non-portal data via singleton

2006-10-17 Thread bmcgovern
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