Sagewire Logo

jboss java RSS Feed

Recent Posts View Recent Posts | View Archived Posts

Message from chandra_88
Most recent post: 12/10/2007
2 authors and 2 replies.

Am using JBoss 404 GA , now I want ejb3 support + clustering which install option should I go for

-all
-ejb3
-ejb3 clustered

I tried all and then installing EJBRC9 on this and if deploy a simple EJB jar I get deployment errors.

Any Help in this regard is highly appreciated.

Mouli

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4111596#4111596

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4111596 read more about [EJB 3.0] - Basic Question on EJB 3 with respect toJBoss


Message from alessio.soldano
Most recent post: 12/7/2007
2 authors and 2 replies.

wrote in message : Do you say something like this:
|
| Map<String, Object> requestContext = ((BindingProvider)serviceSoap).getRequestContext();
| requestContext.put(BindingProvider.USERNAME_PROPERTY, "OULU");
| requestContext.put(BindingProvider.PASSWORD_PROPERTY, "810420_A");
|
| If yes, I did and it does not work.
|
| When I run wsconsumer against the wsdl, it generated the UsernameToken JAVA class and I can instantiate it:
|
| UsernameToken usernameToken = new UsernameToken();
| usernameToken.setUsername("xxx");
| usernameToken.setPassword("yyyy");
|
| But how to add this object into the SOAP Header?
|
| Thanks,
| Leandro.
|
|
OK, please post here the wsdl of the service you'd like to call. It seems that the endpoint you're hitting isn't using the standard ws-security + username token. It's using a custom soap header named the same way (but with different namespace, yesterday I did not noticed it, sorry).
If you can not change the service contract (using the standard security'd of course be better), you issue becomes "how do I set up a custom soap header?". Setting a soap header should be quite straightforward, however it seems you've an issue with the tools, since wsconsume isn't correctly creating the parameter corresponding to the header. Please post here the wsdl so that we can try to understand why.View the original post : http://www.jboss.co read more about [JBossWS] - Re: UsernameToken authentication usingJBossWS


Message from alessio.soldano
Most recent post: 12/6/2007
2 authors and 2 replies.

Did you try with the username element in your jboss-wsse-client descriptor? Here is some documentation about the UsernameToken Authentication in JBossWS: http://jbws.dyndns.org/mediawiki/index.php?title=WS-Security_options#Username_Token_Authentication

Moreover, you will have to set the username/password in your BindindProvider before performing the invocation. You do not have to manually deal with the soap-handler and its tokens, since the jbossws ws-security extension will do it for you.

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4111046#4111046

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4111046 read more about [JBossWS] - Re: UsernameToken authentication usingJBossWS


Message from max.andersen
Most recent post: 12/5/2007
2 authors and 2 replies.

thanks - that page needs to get updated.

Use www.jboss.org/tools to get more recent version of JBoss Tools (formerly known as JBossIDE)

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4109866#4109866

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4109866 read more about [JBoss Tools (users)] - Re:org.hibernate.eclipse.feature_3.1.0.beta5 created bad me


Message from jjgalvez
Most recent post: 11/23/2007
2 authors and 2 replies.

could someone please help me with this error, I can not get jboss to work on my new ubuntu boxView the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4107243#4107243

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4107243 read more about [Installation,Configuration & DEPLOYMENT] - Re: error installingjboss4.2.2 on ubuntu


Message from mladen.babic
Most recent post: 11/20/2007
2 authors and 2 replies.

Hi ,

I have some problems with back button. I will give example:
I have one page with random list of product and another page with product details.Every time when I load first page list shows random list of products.It is ok .When I click on link which leads to product details it works fine too,but problem is, when I click back button on web browser and go to first page with random list and when I click again on link to product details page shows me different product. I debug functions and I realized that before click a product details link first it does random list and gives me another product different than on the page.

Best regards,
mb

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4106277#4106277

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4106277 read more about [JBoss Seam] - Back button problem


Message from maiky
Most recent post: 11/20/2007
2 authors and 2 replies.

Hello,

I search a method to get statistics on my portal. I want to know who log in, the pages he visites and when.

Do have a module in Jboss who do this ?

I use JBoss portal 2.6.2.PS: Sorry for my bad English.

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4106256#4106256

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4106256 read more about [JBoss Portal] - Statistics


Message from SidKennedy
Most recent post: 11/19/2007
2 authors and 2 replies.

I'm using Eclipse 3.3 and JBoss AS 4.0.4.GA. To debug a j2ee-project I need to integrate JBoss within Eclipse. So I thought in installing the JBoss IDE 1.6.0GA. So I installed the JBoss Eclipse IDE with the Update Manager via http://download.jboss.org/jbosside/updates/stable. As I restarted Eclipse I wanted to make some settings to let the JBoss-Eclipse-IDE know where my JBoss-server is placed in my file system. But it was not successful. The first thing is that as I selected the submenu "Deployer" of "JBoss-IDE" in the preferences an error occurred: "The currently displayed page contained invalid values". The submenu "Launcher" does not throws an error but I can not select a default server because the drop down list is empty. So how can I reach that I can debug my projects with Eclipse and th
e JBoss-AS. Do I have to use the development-version of the JBoss-IDE? If yes, is there an URL for the Update Manager of Eclipse or do I have do download it on my own? I can not imagine that !
I'm the first one having this problem ;)

thanks in advance
Sid

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4106029#4106029

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4106029 read more about [JBoss Tools (users)] - Eclipse 3.3 with JBoss IDE


Message from max.andersen
Most recent post: 11/10/2007
2 authors and 2 replies.

@xxxxxxxxxxx:
Michael Yuan is still a committer and we got a good set of committers, but we can always use an helping hand - especially around the tooling (both seamgen and hibernatetools ;)

I have spent most of my time focusing on JBoss Tools/RHDS so I have not been able to pick up the generate entities functionallity in seam-gen yet....

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4103424#4103424

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4103424 read more about [JBoss Seam] - Re: seam-gen isn't a solution worthtrying for existing EJB


Message from haagenhasle
Most recent post: 11/2/2007
2 authors and 2 replies.

I see from my logs that the reason the "Table 'juddidb.jbm_postoffice' does not exist" message appears, is initially because JBoss isn't able to create the table. The first errormessage in my log is the following:

2007-11-02 16:45:35,335 DEBUG [org.jboss.messaging.core.jmx.MessagingPostOfficeService] Starting jboss.messaging:service=PostOffice
2007-11-02 16:45:35,335 DEBUG [org.jboss.messaging.core.jmx.MessagingPostOfficeService] org.jboss.messaging.core.jmx.MessagingPostOfficeService@xxxxxxxxxxx uses XMLJChannelFactory
2007-11-02 16:45:35,382 DEBUG [org.jboss.messaging.core.impl.JDBCSupport] Failed to execute: CREATE TABLE JBM_POSTOFFICE (POSTOFFICE_NAME VARCHAR(255), NODE_ID INTEGER, QUEUE_NAME VARCHAR(255), COND VARCHAR(1023), SELECTOR VARCHAR(1023), CHANNEL_ID BIGINT, CLUSTERED CHAR(1), ALL_NODES CHAR(1), PRIMARY KEY(POSTOFFICE_NAME, NODE_ID, QUEUE_NAME)) ENGINE = INNODB
com.mysql.jdbc.exceptions.MySQLSyntaxErrorException: Specified key was too long; max key length is 1024 bytes
at com.mysql.jdbc.SQLError.createSQLException(SQLError.JAVA:1027)
at com.mysql.jdbc.SQLError.createSQLException(SQLError.JAVA:957)
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.JAVA:3376)
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.JAVA:3308)
at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.JAVA:1837)
at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.JAVA:1961)
at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.JAVA:2537)
at com.mysql.jdbc.StatementImpl.executeU read more about [JBoss Messaging] - Re: JBoss Messaging and MySQL


Message from ssjvackar
Most recent post: 10/30/2007
2 authors and 2 replies.

Hi I'm trying to access a site running on JBoss AS, but it keeps giving me a 'Unable to connect message'

It works when I try to access using:

| http://localhost:9090/myApp
|

But not when I use

| http://my.machine.name:9090/myApp
|

or

| http://10.1.6.44:9090/myApp (My IP Adress)
|


Anyone encountered anything like this before?

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4100211#4100211

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4100211 read more about [Installation,Configuration & DEPLOYMENT] - Unable to connect to JBoss AS


Message from vtysh
Most recent post: 9/25/2007
2 authors and 2 replies.

Platform: JAVA 1.5 + Eclipse Europa + Jboss Tools 2.0 beta3
Locale: ru
I am trying to package war file in the "Project archive" view and getting no results. Workspace log file gives me next exception information:

| !ENTRY org.eclipse.ui 4 0 2007-09-25 12:59:26.265
| !MESSAGE Unhandled event loop exception
| !STACK 0
| JAVA.nio.charset.UnsupportedCharsetException: IBM437
| at de.schlichtherle.io.archive.spi.AbstractArchiveDriver.<init>(AbstractArchiveDriver.JAVA:72)
| at de.schlichtherle.io.archive.zip.Zip32Driver.<init>(Zip32Driver.JAVA:111)
| at de.schlichtherle.io.archive.zip.Zip32Driver.<init>(Zip32Driver.JAVA:58)
| at org.jboss.ide.eclipse.archives.core.util.internal.TrueZipUtil$JarArchiveDetector.getArchiveDriver(TrueZipUtil.JAVA:171)
| at de.schlichtherle.io.File.init(File.JAVA:846)
| at de.schlichtherle.io.File.init(File.JAVA:764)
| at de.schlichtherle.io.File.<init>(File.JAVA:475)
| at org.jboss.ide.eclipse.archives.core.util.internal.ModelTruezipBridge.getFile(ModelTruezipBridge.JAVA:239)
| at org.jboss.ide.eclipse.archives.core.util.internal.ModelTruezipBridge.deleteArchive(ModelTruezipBridge.JAVA:54)
| at org.jboss.ide.eclipse.archives.core.build.ArchiveBuildDelegate.fullArchiveBuild(ArchiveBuildDelegate.JAVA:80)
| at org.jboss.ide.eclipse.archives.ui.views.ArchivesMenuHandler.buildSelectedNode(ArchivesMenuHandler.JAVA:343)
| at org.jboss.ide.eclipse. read more about [JBoss Tools (users)] -JAVA.io.UnsupportedEncodingException then build an archive


Message from ansantharam
Most recent post: 9/23/2007
2 authors and 2 replies.

I'm using JDK 1.4 with jbossws-native-2.0.0.GA, during the execution of the build.xml getting the following message:

C:\jbossws-native-2.0.0.GA\build.xml:67: JDK1.5 or above is required.

Any help is greatly appreciated.

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4087315#4087315

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4087315 read more about [JBossWS] - Running jbossws-native-2.0.0.GA withJDK1.4.13


Message from adam1984
Most recent post: 9/23/2007
2 authors and 2 replies.

I downloaded JBOSS server 4.2.0, unzipped it and run it. everything was
fine except it failed to deploy my .war file (tomcat had no prob) and b4 u asking, they're on different ports and I also tried to shutdown the tomcat
but nothing. same for V4.2.1 and 4.0.5.
BUT I have a V4.0.5 installed via JEMS add it does deploy successfully the war file.
am I missing something??
I checked the log and found a point where an exception is thrown while deploying my war, but they're different in each version:
V4.0.5:
2007-09-23 12:31:57,156 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/test]] Error configuring application listener of class com.sun.faces.config.ConfigureListener
JAVA.lang.NoClassDefFoundError: JAVAx/el/CompositeELResolver
V4.2.1:
2007-09-23 12:29:26,750 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/test]] Exception sending context initialized event to listener instance of class org.jboss.web.jsf.integration.config.JBossJSFConfigureListener
JAVA.lang.ClassCastException: com.sun.faces.config.WebConfiguration

both throw a "deployment failed" exception shortly afterward...View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4087621#4087621

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4087621 read more about [Installation,Configuration & DEPLOYMENT] - I really need help on this case


Message from matt.hibb
Most recent post: 9/18/2007
2 authors and 2 replies.

I have just installed Debian Etch and JBoss IDE 2.0 Beta and Eclipse bundle and am having trouble with project properties.

When saving changes to project packaging properties, I get an error message stating an InvocationTargetException has occured. To complicate matters, this only seems to occur on projects I have checked out from source control and not projects created from scratch.

Can anyone shed any light on what the problem might be?

ThanksThe full stack trace from the eclipse log is as follows:

!ENTRY org.jboss.ide.eclipse.xdoclet.ui 4 0 2007-09-18
17:59:12.381
!MESSAGE JAVA.lang.reflect.InvocationTargetException
!STACK 0
JAVA.lang.reflect.InvocationTargetException
at
org.jboss.ide.eclipse.packaging.core.configuration.ProjectConfigurations$1.run(ProjectConfigurations.JAVA:189)
at
org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.JAVA:113)
Caused by: JAVA.lang.NullPointerException
at
org.jboss.ide.eclipse.packaging.core.model.PackagingFile.computeLocation(PackagingFile.JAVA:339)
at
org.jboss.ide.eclipse.packaging.core.model.PackagingFile.writeToXml(PackagingFile.JAVA:311)
at
org.jboss.ide.eclipse.packaging.core.model.PackagingArchive.writeToXml(PackagingArchive.JAVA:245)
at
org.jboss.ide.eclipse.packaging.core.configuration.ProjectConfigurations$1.run(ProjectConfigurations.JAVA:134)
... 1 more
Root exception:
JAVA.lang.NullPointerException
at
org.j read more about [JBoss Tools (users)] - Updating project properties:


Message from sheikfaritha Begum
Most recent post: 9/18/2007
2 authors and 2 replies.

--===============8771635074605959632==

Content-Disposition: inline

Hi,

I am new to jboss,
I am often getting out of memory error while accessing jboss
how to overcome this problem,any one help me

------=_Part_18110_27807023.1190105042858

Content-Disposition: inline

<div>Hi,</div>
<div>&nbsp;</div>
<div>I am new to jboss,</div>
<div>I am often getting out of memory error while accessing jboss</div>
<div>how to overcome this problem,any one help me</div>
<div>&nbsp;</div>
<div>&nbsp;</div>
<div>&nbsp;</div>

------=_Part_18110_27807023.1190105042858--

--===============8771635074605959632==

Content-Disposition: inline

_______________________________________________
jboss-user mailing list
jboss-user@xxxxxxxxxxx
https://lists.jboss.org/mailman/listinfo/jboss-user

--===============8771635074605959632==-- read more about out of memory in jboss


Message from ASavitsky
Most recent post: 9/13/2007
2 authors and 2 replies.

Michel,

Try injecting your persistence context using @xxxxxxxxxxx - I believe that lazy loading only works with Seam-managed PC (the one injected via @xxxxxxxxxxx isn't Seam-managed). Of course, you will need to setup the SMPC properly as well... (look at examples)

HTH,

Alex

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4084001#4084001

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4084001 read more about [JBoss Seam] - Re: LazyInitializationExceptions arestaying


Message from matt.drees
Most recent post: 8/26/2007
2 authors and 2 replies.

wrote in message :
| 1. I used hibernate tools reverse engineering to do this approach!
|

Yeah, that's old and deprecated. Seam-gen is its replacement.

wrote in message :
| Exception during request processing:
| | Caused by JAVAx.el.PropertyNotFoundException with message: "Target Unreachable, identifier 'humansHome' resolved to null"
| | ...
| |
|

That's strange. Is there a class called HumansHome that is correctly annotated @xxxxxxxxxxx("humansHome")?

Maybe try seam-gen from the command line (outside of Jboss IDE).

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4078092#4078092

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4078092 read more about [JBoss Seam] - Re: seam-gen and hibernate tools!Target Unreachable, identi


Message from Udayvir Singh
Most recent post: 7/16/2007
2 authors and 3 replies.

--===============2922888691918834369==

Content-Disposition: inline

Hi,

I m trying to configure JBoss 4.0.1 with Eclipse 3.2 (Earlier I was using
Tomcat 5.0 with Eclipse 3.2).
I know that JBoss uses web container of Tomcat.
However, I m not sure whether Tomcat 5.0 Web Container is inbuilt in JBoss
4.0.1 or I need to install Tomcat 5.0 separately along with JBoss and
configure both of them so that there is not any conflict between them.
I both cases I want to know all the server configurations related to Tomcat
5.0 and JBoss 4.0.1 for both development and production.

Can u help me with this. Any help is appreciated.

Thanks In Advance.

Regards,

Udayvir Singh

------=_Part_61718_18149502.1184567026996

Content-Disposition: inline

Hi,<br><br>I m trying to configure JBoss 4.0.1 with Eclipse 3.2 (Earlier I was using Tomcat 5.0 with Eclipse 3.2).<br>I know that JBoss uses web container of Tomcat. <br>However, I m not sure whether Tomcat 5.0 Web Container is inbuilt in JBoss
4.0.1 or I need to install Tomcat 5.0 separately along with JBoss and configure both of them so that there isn&#39;t any conflict between them.<br>I both cases I want to know all the server configurations related to Tomcat
5.0 and JBoss 4.0.1 for both development and production.<br><br>Can u help me with this. Any help is appreciated.<br><br>Thanks In Advance.[co read more about Server configurations related to Tomcat 5.0 and JBoss4.0.1 for both development and production.


Message from andyredhead
Most recent post: 6/25/2007
2 authors and 2 replies.

Thanks, I gave it a go but got the error: