You can subscribe to this list here.
2005 |
Jan
|
Feb
|
Mar
|
Apr
(157) |
May
(789) |
Jun
(608) |
Jul
(554) |
Aug
(868) |
Sep
(654) |
Oct
(994) |
Nov
(803) |
Dec
(982) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2006 |
Jan
(1006) |
Feb
(1054) |
Mar
(1345) |
Apr
(1305) |
May
(1392) |
Jun
(1016) |
Jul
(265) |
Aug
(1) |
Sep
(8) |
Oct
(9) |
Nov
(8) |
Dec
(19) |
2007 |
Jan
(20) |
Feb
(10) |
Mar
(20) |
Apr
(8) |
May
(4) |
Jun
(1) |
Jul
(6) |
Aug
(3) |
Sep
(6) |
Oct
(12) |
Nov
(7) |
Dec
(13) |
2008 |
Jan
(5) |
Feb
(4) |
Mar
(34) |
Apr
(32) |
May
(22) |
Jun
(21) |
Jul
(30) |
Aug
(18) |
Sep
(30) |
Oct
(23) |
Nov
(86) |
Dec
(51) |
2009 |
Jan
(25) |
Feb
(26) |
Mar
(34) |
Apr
(47) |
May
(38) |
Jun
(25) |
Jul
(36) |
Aug
(9) |
Sep
(8) |
Oct
(10) |
Nov
(4) |
Dec
(17) |
2010 |
Jan
(7) |
Feb
(9) |
Mar
(26) |
Apr
(49) |
May
(52) |
Jun
(48) |
Jul
(39) |
Aug
(27) |
Sep
(9) |
Oct
(14) |
Nov
(7) |
Dec
(10) |
2011 |
Jan
(12) |
Feb
(9) |
Mar
(17) |
Apr
(33) |
May
(39) |
Jun
(36) |
Jul
(29) |
Aug
(26) |
Sep
(29) |
Oct
(38) |
Nov
(35) |
Dec
(27) |
2012 |
Jan
(20) |
Feb
(34) |
Mar
(29) |
Apr
(33) |
May
(45) |
Jun
(46) |
Jul
(50) |
Aug
(35) |
Sep
(55) |
Oct
(68) |
Nov
(79) |
Dec
(45) |
2013 |
Jan
(67) |
Feb
(20) |
Mar
(55) |
Apr
(52) |
May
(25) |
Jun
(25) |
Jul
(34) |
Aug
(27) |
Sep
(21) |
Oct
(21) |
Nov
(19) |
Dec
(12) |
2014 |
Jan
(10) |
Feb
(8) |
Mar
(13) |
Apr
(18) |
May
(36) |
Jun
(26) |
Jul
(17) |
Aug
(19) |
Sep
(13) |
Oct
(8) |
Nov
(7) |
Dec
(5) |
2015 |
Jan
(11) |
Feb
(2) |
Mar
(13) |
Apr
(15) |
May
(7) |
Jun
(2) |
Jul
(4) |
Aug
(3) |
Sep
(3) |
Oct
|
Nov
(2) |
Dec
(1) |
2016 |
Jan
(3) |
Feb
(5) |
Mar
(19) |
Apr
(34) |
May
(9) |
Jun
(10) |
Jul
(5) |
Aug
(10) |
Sep
(5) |
Oct
(11) |
Nov
(19) |
Dec
(7) |
2017 |
Jan
(4) |
Feb
(4) |
Mar
(8) |
Apr
(5) |
May
(12) |
Jun
(5) |
Jul
(11) |
Aug
(4) |
Sep
|
Oct
|
Nov
|
Dec
|
From: <tho...@jb...> - 2005-06-29 15:49:22
|
When I remotely connect to jboss using # Sample JPDA settings for remote socket debuging JAVA_OPTS="$JAVA_OPTS -Xdebug -Xrunjdwp:transport=dt_socket,address=8787,server=y,suspend=n" I never seem to be able to hot swap code in the server after minor modification. Eclipse 3.1RC4 always tells me Hot code replace failed - scheme change not implemented. This is a major productivity impact for me. Has anyone found how to hot swap with eclipse? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3883094#3883094 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3883094 |
From: <sco...@jb...> - 2005-06-29 15:09:06
|
So let's move the non-core stuff to the deployment module that contains the jsr-88 implementation? As for not supporting this in the future, what is the main problem, not being able to adapt this behavior to the jb5 kernel? I understand and agree with the numerous problematic issues you raised in your objections. We need to add interceptors on the deployers as a first class notion, not through xmbean tricks. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3883093#3883093 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3883093 |
From: dhartford <nu...@jb...> - 2005-06-29 14:03:28
|
Hey all, I've been working with JavaStudioCreator/JSF and have come across this problem late in development - how to use container-based security with JSF? The actual business problem is two parts - 1. I would like to secure pages by roles (web.xml), and be able to disable buttons based on authenticated roles (i.e. retrieve roles and use in JSF). 2. I would like to be able to e-mail out secure links with attributes (such as https://server/faces/secure/getdataonthispage?id=7) that the user clicks on the link, goes to the authentication page, and then is immediately sent to the requested link. If this is not the correct forum, please let me know where to post these questions :-) thanks, and nice job on Jboss 4.0.3! I was hoping JbossFaces already takes care of these problems, just let me know where to look for examples if it does! -D View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3883086#3883086 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3883086 |
From: gouthamcumar <nu...@jb...> - 2005-06-29 12:30:35
|
I want to build jms in minimal configuration set. It should work as usual in default configuration set. Please help me what are all the steps i have to follow. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3883070#3883070 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3883070 |
From: pumawang <nu...@jb...> - 2005-06-29 11:26:25
|
dear ivelin: I have finished the example of hajms-examples.sar very well with jb= oss-4.0.0, but=20 could not standard jms application (not mbean, not mdb) with hajms configu= ation My sample and error is following , please give a answer, thank you v= ery much ! sample: public class TestPublisher { =09// for logging =09private static final Logit m_log =3D Logit.getInstance(TestPubl= isher.class); =09// topic attributes for publisher =09private TopicConnection m_tc; private Topic m_topic; private TopicSession m_tsess; private TopicPublisher m_tpublisher; =20 /** * read attributes from configure file * and initlize topic attributes. */ public TestPublisher() { =09try { =09=09=09//1. create a connection to the Topic =09=09Properties p =3D new Properties();=20 =09=09p.put(Context.INITIAL_CONTEXT_FACTORY, "org.jnp.interfaces.Naming= ContextFactory");=20 =09=09p.put(Context.URL_PKG_PREFIXES, "jboss.naming:org.jnp.interfaces"= );=20 =09=09p.put(Context.PROVIDER_URL, "10.4.5.49:1100,10.4.5.28:1100"); // = HA-JNDI port.=20 =09=09InitialContext iniCtx =3D new InitialContext(p); =09=09Object tmpConnFactory =3D iniCtx.lookup("XAConnectionFactory"); =09=09 =20 =09=09TopicConnectionFactory tcf =3D (TopicConnectionFactory)tmpConnFac= tory; =09=09m_tc =3D tcf.createTopicConnection();=20 =09=09m_topic =3D (Topic)iniCtx.lookup("topic/testTopic"); =09=09 =09 //2. create a session and start the connenction =09 boolean transactable =3D false; =09 m_tsess =3D m_tc.createTopicSession(transactable, Session.AUTO= _ACKNOWLEDGE); =09 =20 =09 m_tc.start(); =09=20 =09 //3.create publisher =09 m_tpublisher =3D m_tsess.createPublisher(m_topic); =09 =20 =09}catch(Exception ex ){ =09=09m_log.error(" TestSubscribler() failed", ex); =09=09ex.printStackTrace(); =09=09throw new RuntimeException(ex.getMessage()); =09} } =09 =20 /** * Publish the given string message to the topic */ public void publishMessage(String msg) throws javax.jms.JMSException{ TextMessage tMsg =3D m_tsess.createTextMessage(); tMsg.setText(msg); m_tpublisher.publish(tMsg); } =20 =09/** =09 * release resources. =09 */ =09public void close(){ =09=09try{ =09=09=09if(m_tpublisher !=3D null){ =09=09=09=09m_tpublisher.close(); =09=09=09=09m_tpublisher =3D null; =09 } =09 if(m_tsess !=3D null){ =09 =09m_tsess.close(); =09 =09m_tsess =3D null ; =09 } =09 if(m_tc !=3D null) { =09 =09m_tc.close(); =09 =09m_tc =3D null ; =09 } =09}catch(Exception ex ){ =09=09m_log.error(" close() failed", ex); =09=09ex.printStackTrace(); =09=09throw new RuntimeException(ex.getMessage()); =09} =09} =09 =09public static void main(String []argv ){ =09=09TestPublisher publisher =3D new TestPublisher(); =09=09try { =09=09=09publisher.publishMessage( "refresh" ); =09=09}catch( Exception ex ){ =09=09=09ex.printStackTrace(); =09=09} =09=09 =09=09publisher.close(); =09} } error message : java.lang.IllegalStateException: Failed to find method for hash:-7901085028= 50547550 available mappings: {-884175917852741154=3Dpublic abstract java.la= ng.Object org.jnp.interfaces.Naming.lookup(javax.naming.Name) throws javax.= naming.NamingException,java.rmi.RemoteException, -5642140585403320990=3Dpub= lic abstract java.util.Collection org.jnp.interfaces.Naming.listBindings(ja= vax.naming.Name) throws javax.naming.NamingException,java.rmi.RemoteExcepti= on, 7733619496521189953=3Dpublic abstract java.io.Serializable org.jboss.ha= .framework.interfaces.HAPartition$HAPartitionStateTransfer.getCurrentState(= ), -4221607359560216057=3Dpublic abstract java.util.Collection org.jnp.inte= rfaces.Naming.list(javax.naming.Name) throws javax.naming.NamingException,j= ava.rmi.RemoteException, -5717908715153450081=3Dpublic abstract void org.jn= p.interfaces.Naming.rebind(javax.naming.Name,java.lang.Object,java.lang.Str= ing) throws javax.naming.NamingException,java.rmi.RemoteException, 69919772= 98034536864=3Dpublic abstract void org.jboss.ha.framework.interfaces.HAPart= ition$HAPartitionStateTransfer.setCurrentState(java.io.Serializable), -8107= 796390111393345=3Dpublic abstract void org.jnp.interfaces.Naming.unbind(jav= ax.naming.Name) throws javax.naming.NamingException,java.rmi.RemoteExceptio= n, -7286638714004764603=3Dpublic abstract javax.naming.Context org.jnp.inte= rfaces.Naming.createSubcontext(javax.naming.Name) throws javax.naming.Namin= gException,java.rmi.RemoteException, -6149798079139202860=3Dpublic abstract= void org.jnp.interfaces.Naming.bind(javax.naming.Name,java.lang.Object,jav= a.lang.String) throws javax.naming.NamingException,java.rmi.RemoteException= } =09at org.jboss.invocation.MarshalledInvocation.getMethod(MarshalledInvocat= ion.java:297) =09at org.jboss.ha.framework.server.HARMIServerImpl.invoke(HARMIServerImpl.= java:183) =09at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) =09at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.= java:39) =09at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces= sorImpl.java:25) =09at java.lang.reflect.Method.invoke(Method.java:324) =09at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:261) =09at sun.rmi.transport.Transport$1.run(Transport.java:148) =09at java.security.AccessController.doPrivileged(Native Method) =09at sun.rmi.transport.Transport.serviceCall(Transport.java:144) =09at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:4= 60) =09at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport= .java:701) =09at java.lang.Thread.run(Thread.java:534) =09at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(Stream= RemoteCall.java:247) =09at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:= 223) =09at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:133) =09at org.jboss.ha.framework.server.HARMIServerImpl_Stub.invoke(Unknown Sou= rce) =09at org.jboss.ha.framework.interfaces.HARMIClient.invokeRemote(HARMIClien= t.java:127) =09at org.jboss.ha.framework.interfaces.HARMIClient.invoke(HARMIClient.java= :196) =09at $Proxy0.lookup(Unknown Source) =09at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:528) =09at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:507) =09at javax.naming.InitialContext.lookup(InitialContext.java:347) =09at test.TestPublisher.(TestPublisher.java:50) =09at test.TestPublisher.main(TestPublisher.java:110) java.lang.RuntimeException: Failed to find method for hash:-790108502850547= 550 available mappings: {-884175917852741154=3Dpublic abstract java.lang.Ob= ject org.jnp.interfaces.Naming.lookup(javax.naming.Name) throws javax.namin= g.NamingException,java.rmi.RemoteException, -5642140585403320990=3Dpublic a= bstract java.util.Collection org.jnp.interfaces.Naming.listBindings(javax.n= aming.Name) throws javax.naming.NamingException,java.rmi.RemoteException, 7= 733619496521189953=3Dpublic abstract java.io.Serializable org.jboss.ha.fram= ework.interfaces.HAPartition$HAPartitionStateTransfer.getCurrentState(), -4= 221607359560216057=3Dpublic abstract java.util.Collection org.jnp.interface= s.Naming.list(javax.naming.Name) throws javax.naming.NamingException,java.r= mi.RemoteException, -5717908715153450081=3Dpublic abstract void org.jnp.int= erfaces.Naming.rebind(javax.naming.Name,java.lang.Object,java.lang.String) = throws javax.naming.NamingException,java.rmi.RemoteException, 6991977298034= 536864=3Dpublic abstract void org.jboss.ha.framework.interfaces.HAPartition= $HAPartitionStateTransfer.setCurrentState(java.io.Serializable), -810779639= 0111393345=3Dpublic abstract void org.jnp.interfaces.Naming.unbind(javax.na= ming.Name) throws javax.naming.NamingException,java.rmi.RemoteException, -7= 286638714004764603=3Dpublic abstract javax.naming.Context org.jnp.interface= s.Naming.createSubcontext(javax.naming.Name) throws javax.naming.NamingExce= ption,java.rmi.RemoteException, -6149798079139202860=3Dpublic abstract void= org.jnp.interfaces.Naming.bind(javax.naming.Name,java.lang.Object,java.lan= g.String) throws javax.naming.NamingException,java.rmi.RemoteException} =09at test.TestPublisher.(TestPublisher.java:68) =09at test.TestPublisher.main(TestPublisher.java:110) Exception in thread "main"=20 View the original post : http://www.jboss.org/index.html?module=3Dbb&op=3Dv= iewtopic&p=3D3883062#3883062 Reply to the post : http://www.jboss.org/index.html?module=3Dbb&op=3Dpostin= g&mode=3Dreply&p=3D3883062 |
From: zei <nu...@jb...> - 2005-06-29 11:10:46
|
I also noticed that I have by mistake written to a wrong forum. Sorry. Admin please remove my message. thanks, zz View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3883058#3883058 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3883058 |
From: zei <nu...@jb...> - 2005-06-29 10:44:24
|
Thanks! So finally here is my code: | <portlet> | <portlet-name>OwnContentPortlet</portlet-name> | <portlet-class>org.jboss.portal.core.portlet.cms.ContentPortlet</portlet-class> | <supports> | <mime-type>text/html</mime-type> | <portlet-mode>VIEW</portlet-mode> | </supports> | <portlet-info> | <title>Content</title> | </portlet-info> | <portlet-preferences> | <preference> | <name>uri</name> | <value>/default/testpage.html</value> | </preference> | </portlet-preferences> | </portlet> | | And: | <pages> | <portal-name>default</portal-name> | <page> | <page-name>hello</page-name> | <window> | <window-name>HelloPortletWindow</window-name> | <instance-ref>hello.HelloPortlet.HelloPortletInstance</instance-ref> | <region>left</region> | <height>0</height> | </window> | <window> | <window-name>ContentPortletWindow</window-name> | <instance-ref>hello.OwnContentPortlet.ContentPortletInstance</instance-ref> | <region>center</region> | <height>0</height> | </window> | </page> | </pages> | Can anyone help me? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3883056#3883056 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3883056 |
From: Thomas D. <tho...@jb...> - 2005-06-29 10:21:35
|
Thanks for that Dimitris! :-* -thomas -----Original Message----- From: jbo...@li... [mailto:jbo...@li...] On Behalf Of dim...@jb... Sent: 27 June 2005 16:12 To: jbo...@li... Subject: [Jboss-dev-forums] [Deployers on JBoss (Deployers/JBoss)] - SubDeployer interceptors in 4.x/HEAD So the ability to dynamically attach jmx interceptors to any XBeans in general, and a set of SubDeployers in particular, exists both in 4.x.(3) and HEAD. The EJB, EJB3, and Web Deployes can be currently intercepted, (i.e. they've been XMBea-nized, with the DynamicInterceptor attached) but we may do the same for any subdeployer. Note, this is standard xmbean stuff, it's not related to jboss aop. This feature is already used in HEAD for the new WebService subdeployers, that can attach dynamically, do their own thing and fail a deployment if something goes wrong with the webservices part of the deployment. There is also an older prototyped LoginConfigInterceptor that detects the presence of a META-IN/login-config.xml and creates/destroys a security domain upon deployment, undeployment (although this needs work when dealing with multiple/nested login-config.xml descriptors>) Except for WebServices, this feature should be useful to the JBoss Portal deployer. We could also try to process custom log4j.xml descriptors? You can read about it here: http://wiki.jboss.org/wiki/Wiki.jsp?page=3DSubDeployerInterceptorSupport http://wiki.jboss.org/wiki/Wiki.jsp?page=3DInterceptorServiceMBeanSupport= http://wiki.jboss.org/wiki/Wiki.jsp?page=3DDynamicInterceptor A related forum posting is this: http://www.jboss.org/index.html?module=3Dbb&op=3Dviewtopic&t=3D57296&post= days=3D 0&postorder=3Dasc&start=3D0 View the original post : http://www.jboss.org/index.html?module=3Dbb&op=3Dviewtopic&p=3D3882846#38= 82846 Reply to the post : http://www.jboss.org/index.html?module=3Dbb&op=3Dposting&mode=3Dreply&p=3D= 388284 6 ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. = http://ads.osdn.com/?ad_id=3D7477&alloc_id=3D16492&op=3Dclick _______________________________________________ Jboss-dev-forums mailing list Jbo...@li... https://lists.sourceforge.net/lists/listinfo/jboss-dev-forums |
From: <tho...@jb...> - 2005-06-29 09:39:14
|
The prefix assocciation (ns1, ns2, ...) with a namespace uri is not relevant for two schemas to be semantically equivalent. It is probable that wscompile puts array types in seperate schema files to associate them with different target namespaces and such avoids name collisions. Is is all about reuse of the defined type in a different schema. Image you have two comlex java types that live in two different packages and both use the same array type. For that scenario it makes sense to define the array type in yet another schema. Whether jbossws tools produces output that is equivalent to wscompile largely depends on the validation algorithm. Lexical equivalencs is not required neither the use of identical namespace prefixes. anonymous wrote : | When schema components are imported from multiple namespaces, each namespace | must be identified with a separate import element. The import elements themselves | must appear as the first children of the schema element. Furthermore, each namespace | must be associated with a prefix, using a standard namespace declaration, and that | prefix is used to qualify references to any schema components belonging to that | namespace. Finally, import elements optionally contain a schemaLocation attribute to | help locate resources associated with the namespaces. | View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3883049#3883049 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3883049 |
From: lhoriman <nu...@jb...> - 2005-06-29 08:16:31
|
How deep is the jboss-forums portlet dependency upon the jboss-portal container? I have an existing jboss application (not a portal) to which I would like to add forums. My first inclination is to implement my own stripped-down portlet container and drop in the jboss forums. Digging through the JSR-168 documentation, this doesn't seem too hard. However, looking more closely at the forumns code, I see a lot of dependency on core jboss-portal classes. How much trouble will I get into trying to feign the jboss-specific portlet container API to the forums? What would be the most troublesome spots? Thanks in advance, Jeff View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3883044#3883044 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3883044 |
From: <tho...@jb...> - 2005-06-29 06:50:08
|
You can just click on the buttons, or type the keyword code between brackets. [ code ]my code[/ code] (with no space in the Tags) And please do a preview before you submit. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3883034#3883034 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3883034 |
From: zei <nu...@jb...> - 2005-06-29 06:34:25
|
still do not know how to use code-tag? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3883033#3883033 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3883033 |
From: zei <nu...@jb...> - 2005-06-29 06:33:13
|
now I see the usage of code: my -pages.xml <portal-name>default</portal-name> <page-name>hello</page-name> <window-name>HelloPortletWindow</window-name> <instance-ref>hello.HelloPortlet.HelloPortletInstance</instance-ref> left 0 <window-name>ContentPortletWindow</window-name> <instance-ref>hello.OwnContentPortlet.ContentPortletInstance</instance-ref> center 0 my portlet.xml <portlet-name>OwnContentPortlet</portlet-name> <portlet-class>org.jboss.portal.core.portlet.cms.ContentPortlet</portlet-class> <mime-type>text/html</mime-type> <portlet-mode>VIEW</portlet-mode> <portlet-info> Content </portlet-info> <portlet-preferences> uri /default/testpage.html </portlet-preferences> View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3883032#3883032 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3883032 |
From: zei <nu...@jb...> - 2005-06-29 06:29:57
|
and how do I paste in ? sorry for the mess! View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3883030#3883030 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3883030 |
From: zei <nu...@jb...> - 2005-06-29 06:22:50
|
Hello, I'm trying to reuse ContentPortlet. It's working in portal-core, but not in my own .war. I have defined the following: In portlet.xml: <portlet-name>OwnContentPortlet</portlet-name> <portlet-class>org.jboss.portal.core.portlet.cms.ContentPortlet</portlet-class> <mime-type>text/html</mime-type> <portlet-mode>VIEW</portlet-mode> <portlet-info> Content </portlet-info> <portlet-preferences> uri /default/testpage.html </portlet-preferences> In hello-pages.xml: <portal-name>default</portal-name> <page-name>hello</page-name> <window-name>HelloPortletWindow</window-name> <instance-ref>hello.HelloPortlet.HelloPortletInstance</instance-ref> left 0 <window-name>ContentPortletWindow</window-name> <instance-ref>hello.OwnContentPortlet.OwnContentPortletInstance</instance-ref> center 0 What I receive is: 404 - Page Not Found Oops! We can't really find the resource you're looking for. How should it be reused? And how the portal-core should be extended? Do I need class-files or .jar-files in my own .wars? /zz View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3883028#3883028 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3883028 |
From: <sco...@jb...> - 2005-06-29 06:00:18
|
That looks fine to me. There is no reason to throw an EJBException without the actual cause. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3883026#3883026 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3883026 |
From: <cle...@jb...> - 2005-06-29 04:39:55
|
I?m doing some tests with PooledInvokers, and I took 2 hours to discover that my Datasource was not configured properly as AbstractInstancePool.java ate the NamingException from the operation. Here is the code I would suggest to fix the problem (around line 160). | // Pool is empty, create an instance | | try | | { | | Object instance = container.createBeanClassInstance(); | | return create(instance); | | } | | catch (Throwable e) | | { | | // Release the strict max size mutex if it exists | | if( strictMaxSize != null ) | | { | | strictMaxSize.release(); | | } | | // Don't wrap CreateExceptions | | if( e instanceof CreateException ) | | throw (CreateException) e; | | | | // Wrap e in an Exception if needed | | Exception ex = null; | | if( (e instanceof Exception) == false ) | | { | | ex = new UndeclaredThrowableException(e); | | } else | | { | | ex = (Exception)e; // that?s the change | | } | | throw new EJBException("Could not instantiate bean", (Exception)ex); | | } | | It would be okay as this will be executed only when e is an instanceof Exception. Anyway, I would invert the Boolean operation here. Any concerns? Clebert View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3883023#3883023 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3883023 |
From: sbryzak2 <nu...@jb...> - 2005-06-29 00:35:12
|
I have a standalone application that supports hot deployment of simple services which are contained within their own .jar files. Each of these service .jars is allocated their own classloader, which is responsible for loading the classes, resources etc from that one file. What I would like to do is support the ability to define aspects within each service jar that can bind to pointcuts in classes either within the same service jar or in the host application itself. Some additional info - I'm developing with JDK 1.5.0 and JBoss AOP 1.3, and defining my aspects using annotations. I'm running JBoss AOP using the -javaagent method, with the -hotSwap parameter. I've read chapters 6 and 10 from the reference documentation, but couldn't find anything dealing with my particular scenario. Is it possible to achieve what I've described? Not knowing any better, I've attempted loading the aspects using org.jboss.aop.AspectAnnotationLoader. While this seems to get my aspects registered with the AspectManager, there is still the question of how to instrument my classes when they're loaded with a custom classloader. Any guidance on how I should go about this is greatly appreciated. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3883007#3883007 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3883007 |
From: <kab...@jb...> - 2005-06-28 19:17:36
|
Update the jboss-aop-jdk50.deployer to use the AspectManagerServiceJDK5 since this is what recognises the -javaagent stuff. The Include/Exclude attributes have been added to help speed up the weaving. Anything in "Exclude" that is not expilcitly allowed in "Include" is not weaved. So basically anything under org.jboss is disallowed. If you modify your "Include" to contain org.jboss.injbossaop you should be OK (THe list is comma separated) | <mbean code="org.jboss.aop.deployment.AspectManagerServiceJDK5" | name="jboss.aop:service=AspectManager"> | <attribute name="EnableLoadtimeWeaving">false</attribute> | <!-- only relevant when EnableLoadtimeWeaving is true. | When transformer is on, every loaded class gets | transformed. If AOP can't find the class, then it | throws an exception. Sometimes, classes may not have | all the classes they reference. So, the Suppressing | is needed. (i.e. Jboss cache in the default configuration --> | <attribute name="SuppressTransformationErrors">true</attribute> | <attribute name="Prune">true</attribute> | <attribute name="Include">org.jboss.test,org.jboss.injbossaop</attribute> | <attribute name="Exclude">org.jboss.</attribute> | <attribute name="Optimized">true</attribute> | <attribute name="Verbose">false</attribute> | </mbean> | | View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3882981#3882981 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3882981 |
From: vestergaard <nu...@jb...> - 2005-06-28 19:08:59
|
I have trouble getting the "injboss" example to work on JBoss 4.0.3RC1. I have set EnableLoadtimeWeaving to true in jboss403RC1\server\all\deploy\jboss-aop-jdk50.deployer\META-INF\jboss-service.xml And I have tried adding the -javaagent:pluggable-instrumentor.jar to run.bat after adding the file to "bin" directory. It worked like that under 4.0.2 with JBoss AOP 1.1.2 with JDK 1.5 has the method to enable loadtime weaving been changed? I can see that in jboss-aop-jdk50.deployer\META-INF\jboss-service.xml there are a new property "include" should I use that? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3882980#3882980 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3882980 |
From: <ani...@jb...> - 2005-06-28 17:55:40
|
Handling array types the way wscompile does has complicated the tools code to the extent that I fear I will have difficulty maintaining it for the vast gamut of requirements for J2EE 5. One reason I am apprehensive about the approach is that there is no intuitive order in which wscompile generates the namespaces ns2,ns3 etc. An example is the StandardTypes SEI in the testsuite and the wsdl that is generated by wscompile - "MarshallService.wsdl". Tell me if you can figure out how wscompile generates the namespaces ns2,ns3 etc. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3882966#3882966 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3882966 |
From: mikezzz <nu...@jb...> - 2005-06-28 07:19:28
|
Did you refresh JBoss from CVS. Only with the latest in HEAD will JBoss Mail work with 4.0.2 (my bad, I should have made that clearer in my post). There are a couple of outstanding issues with moving to hibernate 3 (e.g. XDoclet needs upgrading), that I will have fixed and checked in tomorrow. If you haven't refereshed your CVS snapshot, stick with 4.0.1 until you finish the patch. Cheers, Mike. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3882935#3882935 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3882935 |
From: jeff87 <nu...@jb...> - 2005-06-28 03:34:34
|
OK, I'll try that when I can get jbmail working again. I upgraded to 4.0.2 like mentioned in another post and I seem to be having some hibernate problems. When it deploys I see this message: | --- MBEANS THAT ARE THE ROOT CAUSE OF THE PROBLEM --- | ObjectName: jboss.mail:service=Hibernate | State: NOTYETINSTALLED | Depends On Me: | jboss.mail:name=PagedStore,type=MailServices | Then when I start up thunderbird and try to retrieve mail, I get this error: | 23:30:53,591 INFO [HnMailboxManager] Getting mailbox for user: test | 23:30:53,591 WARN [HnMailboxManager] Session is null | 23:30:53,591 ERROR [CmdPASS] Error getting MailboxMBean: org.jboss.mail.MailException: org.hibernate.HibernateException: javax.naming.NameNotFoundException: jbossmail.HibernateSessionFactory not bound | org.jboss.mail.MailException: org.hibernate.HibernateException: javax.naming.NameNotFoundException: jbossmail.HibernateSessionFactory not bound | at org.jboss.mail.mailbox.hn.HnMailboxManager.org$jboss$mail$mailbox$hn$HnMailboxManager$getMailbox$aop(HnMailboxManager.java:66) | at org.jboss.mail.mailbox.hn.HnMailboxManager_getMailbox_7855421929627787669_OptimizedMethodInvocation.invokeNext(HnMailboxManager_getMailbox_7855421929627787669_OptimizedMethodInvocation.java) | at org.jboss.aspects.tx.TxSupport.invokeInOurTx(TxSupport.java:141) | at org.jboss.aspects.tx.TxSupport$Required.serverInvoke(TxSupport.java:438) | at org.jboss.aspects.tx.TxInterceptor.internalInvoke(TxInterceptor.java:112) | at org.jboss.aspects.tx.TxInterceptor.invoke(TxInterceptor.java:60) | at org.jboss.mail.mailbox.hn.HnMailboxManager_getMailbox_7855421929627787669_OptimizedMethodInvocation.invokeNext(HnMailboxManager_getMailbox_7855421929627787669_OptimizedMethodInvocation.java) | at org.jboss.mail.mailbox.hn.HnMailboxManager.getMailbox(HnMailboxManager.java) | at org.jboss.mail.pop3.handlers.CmdPASS.handleRequest(CmdPASS.java:85) | at org.jboss.mail.pop3.POP3ProtocolInstance.handleRequest(POP3ProtocolInstance.java:177) | at org.jboss.mail.ConnectionHandler.runSocket(ConnectionHandler.java:165) | at org.jboss.mail.ConnectionHandler.run(ConnectionHandler.java:71) | at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:743) | at java.lang.Thread.run(Thread.java:534) | Caused by: org.hibernate.HibernateException: javax.naming.NameNotFoundException: jbossmail.HibernateSessionFactory not bound | at org.jboss.mail.util.HibernateUtil.getSession(HibernateUtil.java:62) | at org.jboss.mail.mailbox.hn.HnMailboxManager.org$jboss$mail$mailbox$hn$HnMailboxManager$getMailbox$aop(HnMailboxManager.java:47) | ... 13 more | Caused by: javax.naming.NameNotFoundException: jbossmail.HibernateSessionFactory not bound | at org.jnp.server.NamingServer.getBinding(NamingServer.java:491) | at org.jnp.server.NamingServer.getBinding(NamingServer.java:499) | at org.jnp.server.NamingServer.getObject(NamingServer.java:505) | at org.jnp.server.NamingServer.lookup(NamingServer.java:278) | at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:610) | at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:572) | at javax.naming.InitialContext.lookup(InitialContext.java:347) | at org.jboss.mail.util.HibernateUtil.getSession(HibernateUtil.java:57) | ... 14 more | View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3882924#3882924 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3882924 |
From: conni <nu...@jb...> - 2005-06-27 20:53:04
|
hi, i have posted a two-line solution for a really dirty thing. could someone of the committers merge it with the codebase. i dont know where to send this to. (possibly the task in jira is unseen beacuse it is a sub-task of a bug already closed - i dont know jira enough) we have tested the solution it seems to work. the bug can be reproduced in the same way as cmp2/passivation test case - it is the same bug, but only bmp. http://jira.jboss.com/jira/browse/JBAS-1566 regards, thanks for your good work on jboss ;) View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3882903#3882903 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3882903 |
From: <tom...@jb...> - 2005-06-27 20:48:46
|
I have talked with Bill (ejb3 lead) via e-mail and we both agree that should be made to use the locator uri from the connector specified in the service xml if not defined via the annotation. Just forgot to open a jira issue at that point in time, but just did (EJBTHREE-204). View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3882901#3882901 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3882901 |