[jboss-user] [JBossWS] - Exceptions thrown to the client without logging

2009-01-08 Thread justin_sane
I have some custom exceptions created in my web service. When the client calls that web service within jboss, when it fails with a custom exception I want it to return to the client the exception. All fine, except for one little thing. The JAXWS that handles the request, before sending the except

[jboss-user] [JNDI/Naming/Network] - Re: Tomcat dabase in JBoss

2006-12-27 Thread justin_sane
I have 2 databases in my working project in Tomcat. One a sql that i already have working in JBoss, and the other one is the editable user database that Tomcat uses by default. It's just a xml file, that i use to login users. I can't get the last one to work! I tried putting it in the *-ds.xml fi

[jboss-user] [Security & JAAS/JBoss] - Re: Tomcat MemoryRealm

2006-12-27 Thread justin_sane
And how do I define the realm? In jboss\server\default\conf\login-config.xml, like: props/users.properties props/roles.properties Or just copy/past what I had in conf/server.xml in Tomcat alone? View the original post : http://www.jb

[jboss-user] [Security & JAAS/JBoss] - Tomcat MemoryRealm

2006-12-26 Thread justin_sane
I have a project in Tomcat 5.5 that i want to migrate to JBoss. I have an authentication using tomcat's default MemoryRealm (conf/tomcat-users.xml). Is there anyway that I can implement this whitin JBoss or do I have to redefine it, and use JAAS? View the original post : http://www.jboss.com/i

[jboss-user] [JNDI/Naming/Network] - Tomcat dabase in JBoss

2006-12-26 Thread justin_sane
I have a working project in tomcat alone. I want it to work in JBoss, but i can't have JBoss use my tomcat dabase. Is this possible? Can someone explain how to do it? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3996270#3996270 Reply to the post : http://www

[jboss-user] [JBoss Portal] - Images and portlets

2006-11-27 Thread justin_sane
I'm new to all this, portlets and jboss thing. I wanted to add a simple image on a portlet, but i'm having a lof of difficulties. Do I have to use JSP or can I deploy the image directly with the portlet? Does anyone have a simple portlet that does that? View the original post : http://www.jboss.

[jboss-user] [JBoss Portal] - JBoss + Hibernate

2006-11-27 Thread justin_sane
Does anyone have a simple example of using jboss with hibernate? I found one, but don't have the source code... View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3988817#3988817 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p

[jboss-user] [JBoss Portal] - Re: database

2006-11-24 Thread justin_sane
When logged it doesn't crash, but still can't store anything in the db. In processAction i use prefs.setValue(key, value); and in doView i use prefs.getValue(key,def); But in doView it allways return def... You asked me the stack trace, but i don't have a clue how I do that... Thant you for your

[jboss-user] [JBoss Portal] - database

2006-11-24 Thread justin_sane
I want to store a String with my portlet/jboss. I used portletPreferences hoping, that it was that easy, but can't get anything from it. I just put a portletPreferences.setValue(key,something) in the processAction ant it just crashes... Anyone can give me a little hint?! View the original post

[jboss-user] [JBoss Portal] - Re: Images and portlets

2006-11-24 Thread justin_sane
Finally got it running. The problem was that my ecllipse project got the directory of the images in the wrong place, so it didn't exported it to the war file. I tried to put the files by hand but, nothing, because it shoul be inside the war. So many time lost with this, how stupid of me?! Than yo

[jboss-user] [JBoss Portal] - Re: Images and portlets

2006-11-24 Thread justin_sane
I've tried that, and nothing... In the source code of the HTML page there is: But I put that image everywhere, and nothing... I even created a File, just to see it would read, and it does... Strangely with this: java.io.File file = new java.io.File(renderRequest.getContextPath()+"/images/dodemo.