Thanks for your time.
It works fine.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4181686#4181686
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4181686
___
jboss-user mailin
you need to have a portlet/transaction definition in the jboss-portlet.xml (as
mentioned abaove) in which the 'portlet-name' corresponds to the name defined
in the portet.xml
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4181571#4181571
Reply to the post :
hum.
I have stopped my JBoss et launchd it again.
Error is not the same:
anonymous wrote : ERROR [HibernateUserModuleImpl] Cannot count users
| org.hibernate.HibernateException: Unable to locate current JTA transaction
| at
org.hibernate.context.JTASessionContext.currentSession(JTASe
Well no problem for deployment but when i do userModule.getUserCount();
I have an error in konsole. Last message of this error :
anonymous wrote : INFO [WebappClassLoader] Illegal access: this web
application instance has been stopped already. Could not load
org/apache/axis/configuration/Engi
sorry, name it: jboss-portlet.xml
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4181496#4181496
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4181496
___
jboss-user mailing li
web.xml is not meant, but jboss-web.xml instead - just create one. It resides
in WEB-INF too.
Try this one:
|
|
| UserAdminPortlet
|
| Required
|
|
|
| UserModule
| org.jboss.portal.identity.UserModule
| :service=Module,type=User
|
Ok
now i deploy without problems but i still have my nullpointerexception...
My jboss-web.xml :
|
|
| UserModule
| org.jboss.portal.identity.UserModule
| :service=Module,type=User
|
|
View the original post :
http://www.jboss.com/index.html?module=bb&op=
Well i don't find any tutoriels...
I have the following error when trying to deploy :
anonymous wrote : Failed to parse WEB-INF/jboss-web.xml; - nested throwable:
(org.jboss.deployment.DeploymentException: expected one service-ref-name tag)
View the original post :
http://www.jboss.com/index.h
well my web.xml file was really simple :
| http://java.sun.com/xml/ns/j2ee";
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee
http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd";>
| Portlet for testing usermodule
|
|
I have
You can get userModule by modifying your jboss-web.xml to add
UserModule
| org.jboss.portal.identity.UserModule
| :service=Module,type=User
Then you can get it in your portlet by calling userModule =
(UserModule)getPortletContext().getAttribute("UserModule");
View the ori
Yep it's done.
Now i have a NullPointerException cause my userModule is null.
I have tested my context and i don't have an attribute "userModule" define.
thanks for your time
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4181452#4181452
Reply to the post :
try removing the jar files (as mentioned below) from your deployment file.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4181447#4181447
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4181447
12 matches
Mail list logo