[JBoss JIRA] Updated: (JBAS-1979) Wrong resolve LinkRef when dereference partial result
by Dimitris Andreadis (JIRA)
[ http://jira.jboss.com/jira/browse/JBAS-1979?page=all ]
Dimitris Andreadis updated JBAS-1979:
-------------------------------------
Fix Version/s: (was: JBossAS-4.0.5.GA)
> Wrong resolve LinkRef when dereference partial result
> ------------------------------------------------------
>
> Key: JBAS-1979
> URL: http://jira.jboss.com/jira/browse/JBAS-1979
> Project: JBoss Application Server
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: Naming
> Affects Versions: JBossAS-3.2.6 Final
> Environment: Windows 2000
> Reporter: Boris Stepchenko
> Priority: Minor
>
> When dereference LinkRef in partial result used "new InitialContex()", but not "new InitialContex(refEnv)"
> So if I bind LinkRef to url "dir1/dir2/link"
> I have different result in 2 next code
> 1.
> Contexct ctx=new InitialContext(refEnv);
> Object obj=((Context)ctx.lookup("dir1/dir2/link")).lookup("value");
> and 2.
> Contexct ctx=new InitialContext(refEnv);
> Object obj=ctx.lookup("dir1/dir2/link/value");
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
19 years, 10 months
[JBoss JIRA] Updated: (JBAS-2086) Transform some Managed Objects in SMO
by Dimitris Andreadis (JIRA)
[ http://jira.jboss.com/jira/browse/JBAS-2086?page=all ]
Dimitris Andreadis updated JBAS-2086:
-------------------------------------
Issue Type: Feature Request (was: Patch)
Fix Version/s: JBossAS-4.0.6.CR1
(was: JBossAS-4.0.5.GA)
we need to properly evaluate this change
> Transform some Managed Objects in SMO
> -------------------------------------
>
> Key: JBAS-2086
> URL: http://jira.jboss.com/jira/browse/JBAS-2086
> Project: JBoss Application Server
> Issue Type: Feature Request
> Security Level: Public(Everyone can see)
> Components: Management services
> Affects Versions: JBossAS-4.0.2 Final, JBossAS-4.0.3RC1
> Environment: jmx, twiddle
> Reporter: Fabiano C. de Oliveira
> Priority: Minor
> Fix For: JBossAS-4.0.6.CR1
>
> Attachments: management.patch
>
>
> Make managed objects that inherits from J2EEDeployedObject a SMO. The exception is WebModule and ServiceModule for a while.
> To prevent copy&paste pattern and duplicate code the StateManagement code was moved to ManagedObject class. Instead initialize states using ServiceMBean ServiceContext was used(Adrian advice). This form MBeans tha not implement ServiceMBean not launch a exception. Tested using jmx-console and trace logs only.
> Some managed object still are not a SMO, but it is not difficult to change this.
> Suggestions always appreciated.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
19 years, 10 months
[JBoss JIRA] Assigned: (JBAS-3346) org.jboss.test.cmp2.batchcascadedelete.test.BatchCascadeDeleteUnitTestCase causes 1.5 BEA JVM to core dump
by Dimitris Andreadis (JIRA)
[ http://jira.jboss.com/jira/browse/JBAS-3346?page=all ]
Dimitris Andreadis reassigned JBAS-3346:
----------------------------------------
Assignee: Dimitris Andreadis
> org.jboss.test.cmp2.batchcascadedelete.test.BatchCascadeDeleteUnitTestCase causes 1.5 BEA JVM to core dump
> ----------------------------------------------------------------------------------------------------------
>
> Key: JBAS-3346
> URL: http://jira.jboss.com/jira/browse/JBAS-3346
> Project: JBoss Application Server
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: CMP service, Test Suite
> Affects Versions: JBossAS-4.0.4.GA
> Environment: RHEL 4, x86_64 processor, BEA 1,5 JDK
> Reporter: Len DiMaggio
> Assigned To: Dimitris Andreadis
> Priority: Minor
> Fix For: JBossAS-4.0.5.GA
>
>
> With this JDK:
> java version "1.5.0_03"
> Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_03-b07)
> BEA JRockit(R) (build dra-45238-20050523-2021-linux-x86_64, R25.2.0-28)
> And this test from the JBoss 4.0.4/GA test suite (download from jboss.com) - the test causes a code dump when it executes line 62.
> 1 /*
> 2 * JBoss, Home of Professional Open Source
> 3 * Copyright 2005, JBoss Inc., and individual contributors as indicated
> 4 * by the @authors tag. See the copyright.txt in the distribution for a
> 5 * full listing of individual contributors.
> 6 *
> 7 * This is free software; you can redistribute it and/or modify it
> 8 * under the terms of the GNU Lesser General Public License as
> 9 * published by the Free Software Foundation; either version 2.1 of
> 10 * the License, or (at your option) any later version.
> 11 *
> 12 * This software is distributed in the hope that it will be useful,
> 13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
> 14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
> 15 * Lesser General Public License for more details.
> 16 *
> 17 * You should have received a copy of the GNU Lesser General Public
> 18 * License along with this software; if not, write to the Free
> 19 * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
> 20 * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
> 21 */
> 22 package org.jboss.test.cmp2.batchcascadedelete.test;
> 23
> 24 import org.jboss.test.JBossTestCase;
> 25 import org.jboss.test.cmp2.batchcascadedelete.ejb.Child;
> 26 import org.jboss.test.cmp2.batchcascadedelete.ejb.ChildHome;
> 27 import org.jboss.test.cmp2.batchcascadedelete.ejb.ChildUtil;
> 28 import org.jboss.test.cmp2.batchcascadedelete.ejb.GrandchildHome;
> 29 import org.jboss.test.cmp2.batchcascadedelete.ejb.GrandchildUtil;
> 30 import org.jboss.test.cmp2.batchcascadedelete.ejb.Parent;
> 31 import org.jboss.test.cmp2.batchcascadedelete.ejb.ParentHome;
> 32 import org.jboss.test.cmp2.batchcascadedelete.ejb.ParentUtil;
> 33 import junit.framework.Test;
> 34
> 35 /**
> 36 * @author <a href="mailto:alex@jboss.org">Alexey Loubyansky</a>
> 37 * @version <tt>$Revision: 1.1.2.2 $</tt>
> 38 */
> 39 public class BatchCascadeDeleteUnitTestCase
> 40 extends JBossTestCase
> 41 {
> 42 /**
> 43 * Constructor for the JBossTestCase object
> 44 *
> 45 * @param name Test case name
> 46 */
> 47 public BatchCascadeDeleteUnitTestCase(String name)
> 48 {
> 49 super(name);
> 50 }
> 51
> 52 public static Test suite() throws Exception
> 53 {
> 54 return JBossTestCase.getDeploySetup(BatchCascadeDeleteUnitTestCase.class, "cmp2-batchcascadedelete.jar");
> 55 }
> 56
> 57 public void testCase4540() throws Exception
> 58 {
> 59 ParentHome parentHome = ParentUtil.getHome();
> 60 Parent parent = parentHome.create("parent");
> 61
> 62 ChildHome childHome = ChildUtil.getHome();
> 63 Child child = childHome.create( parent, "child");
> 64
> 65 GrandchildHome grandchildHome = GrandchildUtil.getHome();
> 66
> 67 // If you comment out the next line, then the call to child.remove() works fine.
> 68 grandchildHome.create(child.getId(), "grandchild");
> 69
> 70 this is the test for non-null foreign key
> 71 child.remove();
> 72 }
> 73 }
> Here's the dump file:
> Linux x86_64-4as.lab.boston.redhat.com 2.6.9-39.ELsmp #1 SMP Thu Jun 1 18:01:55 EDT 2006 x86_64 x86_64 x86_64 GNU/Linux
> ===== BEGIN DUMP =============================================================
> JRockit dump produced after 0 days, 00:29:38 on Wed Jun 21 13:56:36 2006
> Additional information is available in:
> /opt/jboss-4.0.4.GA-src/build/output/jboss-4.0.4.GA/bin/jrockit.15362.dump
> No core file will be created because core dumps have been
> disabled. To enable core dumping, try "ulimit -c unlimited"
> before starting JRockit again.
> If you see this dump, please open a support case with BEA and
> supply as much information as you can on your system setup and
> the program you were running. You can also search for solutions
> to your problem at http://forums.bea.com in
> the forum jrockit.developer.interest.general.
> Error Message: Illegal memory access. [54]
> Signal info : si_signo=12, si_code=-6
> Version : BEA JRockit(R) R25.2.0-28 dra-45238-20050523-2021-linux-x86_64
> GC : System optimized over throughput (initial strategy singleparpar)
> : GC strategy for GC 4 was genparpar
> : GC strategy for GC 5 was singleparpar
> : GC strategy for GC 6 was genparpar
> : GC strategy for GC 7 was singleparpar
> : GC strategy for GC 8 was genparpar
> : mmHeap->data = 0x20000000, mmHeap->top = 0x28000000
> : mmStartCompaction = 0x21800000, mmEndCompaction = 0x22000000
> CPU : Intel Pentium 4 SSE SSE2 NetBurst EM64T
> Number CPUs : 2
> Tot Phys Mem : 4120244224
> OS version : Red Hat Enterprise Linux AS release 4 (Nahant Update 4 Beta)
> Linux version 2.6.9-39.ELsmp (bhcompile(a)hs20-bc1-6.build.redhat.com) (gcc version 3.4.6 20060404 (Red Hat 3.4.6-2)) #1 SMP Thu Jun 1 18:01:55 EDT 2006
> State : JVM is running (Main thread has finished)
> Command Line : -Djrockit.launcher.type=jrockit.shipment -server -Xms128m -Xmx512m -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000 -Dprogram.name=run.sh -Djava.endorsed.dirs=/opt/jboss-4.0.4.GA-src/build/output/jboss-4.0.4.GA/lib/endorsed org.jboss.Main -c all
> Environment : JAVA_HOME=(null), java.home=/usr/lib/jvm/java-1.5.0-bea-1.5.0.03/jre, java.class.path=/opt/jboss-4.0.4.GA-src/build/output/jboss-4.0.4.GA/bin/run.jar:/lib/tools.jar, java.library.path=/usr/lib/jvm/java-1.5.0-bea-1.5.0.03/jre/lib/amd64/jrockit:/usr/lib/jvm/java-1.5.0-bea-1.5.0.03/jre/lib/amd64:/usr/lib/jvm/java-1.5.0-bea-1.5.0.03/jre/../lib/amd64
> C Heap : Good; no memory allocations have failed
> Registers (from context struct at 0x40e899f8/0x40e89a70):
> RAX = ffffffff00000010 RBX = 00000000f7bc5de8
> RCX = 00000000f7bc5df8 RDX = 00000000ffcb1bf3
> R8 = 000000000002feeb R9 = 000000009090feeb
> R10 = 0000002a9b7aeed0 R11 = 0000002a9577893c
> R12 = 0000000040e89e58 R13 = 0000000000000001
> R14 = 0000000000000001 R15 = 0000002a9b7aed08
> RSI = 0000000020c8bb78 RDI = 00000000220b1108
> RSP = 0000000040e89eb0 RIP = 00000001009ccec8
> RBP = 00000000220b1108 RFL = 00000206
> CS = 0000 GS = 0000 FS = 0000
> Stack:
> 0000000040e89eb0: 0000000021ff0238 00000001009ccbb5 00000000220d6b28 0000000020c81130 0000000022078920 0000000021ff0238
> 0000000040e89ee0: 0000000100000a22 0000000003c3d730 00000000220d6b40 0000000020c8bb48 0000000022078920 0000000021ff0238
> 0000000040e89f10: 00000001009ca128 00000001009c9fdf 0000000022078920 0000000020c70cb0 00000000220b22a8 00000000220924a8
> 0000000040e89f40: 0000000020c8bb48 0000000021ff0238 0000000022078920 0000000020c6ed78 00000001009c9c23 0000000020c6ee40
> 0000000040e89f70: 0000000100000a45 000000000000001c 0000000021ff0238 0000000020c6ed78 0000000022078920 0000000021ff0238
> 0000000040e89fa0: 00000001009c9b55 0000000020c137d8 00000001009c8e0f 0000000000000000 0000000022078920 0000000020b0b3b8
> 0000000040e89fd0: 0000000021ff0238 0000000020c8b568 0000000000000000 0000000021ff0238 0000000020c137d8 0000000021ff0238
> 0000000040e8a000: 0000000021ff0238 00000001009c8cb5 0000000020c0f3d8 00000001009c8bd4 0000000020c10a90 0000000003c064b0
> 0000000040e8a030: 0000000021ff0238 0000000020c0f3d8 00000001009c8a8f 0000000003c057f0 0000000020a5ddb0 00000000220924a8
> 0000000040e8a060: 00000001009c8296 0000000000000001 0000002a9b7aed08 000000010000090f 00000000005d7cd0 0000002a9b7aeed0
> 0000000040e8a090: 00000000a6bf41f8 0000000020c0dca8 0000000021ff0238 0000000000000000 0000000020a5ddb0 0000000003bffb80
> 0000000040e8a0c0: 0000000021ff0238 0000000000000000 0000000020a5ddb0 00000000220924a8 00000001009c7386 0000000020a5ddb0
> 0000000040e8a0f0: 03c028209b7aed08 0000002a9b7aeed8 0000000020c0dca8 0000000000000000 00000000220924a8 0000000021ff0238
> 0000000040e8a120: 0000000000000000 00000000220924a8 000000000000012c 0000002a9b7aeed0 0000000100000000 000000010002bdf0
> 0000000040e8a150: 0000000020c08a38 0000000020a5ddb0 0000000100000a22 0000000003c00cf8 0000000000000001 00000000274b8c38
> 0000000040e8a180: 0000000020c08a38 0000000021ff0238 00000001009c6da7 0000000100000a45 0000000020c0dca8 0000000021ff0238
> 0000000040e8a1b0: 0000000000000000 0000000000000000 0000000021ff0238 00000001009c62a0 0000000021ff0238 0000000020c07368
> 0000000040e8a1e0: 00000001009c612a 00000000005d7c90 0000000020c07368 0000000021ff0238 0000000021103b10 0000000000000000
> 0000000040e8a210: 0000000021ff0238 0000000100000a45 000000000000001c 0000002a969f1010 0000000003bf6978 0000000020c05d48
> 0000000040e8a240: 0000000021ff0238 00000001009c5b5f 0000000021ff0238 0000000000000000 0000000021ff4240 0000000020c05d48
> 0000000040e8a270: 0000000021ff0238 0000000020b0b3b8 0000000021ff0238 00000001009c58b4 00000000210fb030 0000000040e8a3e0
> 0000000040e8a2a0: 0000000020a5ddb0 00000001009c4f23 00000000269f9f90 0000000020b0b3b8 0000000021ff0238 0000000021033388
> 0000000040e8a2d0: 0000010bf7bc5c80 00000000210fb030 0000002a00000001 0000000000000000 0000002a9b7aed08 0000002a956ad0b1
> 0000000040e8a300: 000000000000029c 0000000002645f21 0000002a9b7aeec0 0000000040e8a598 0000000040e8a3e0 0000000040e8a560
> 0000000040e8a330: 0000000100030068 0000000040e8a4f8 0000000040e8a3e0 00000001009c4b10 0000002a9b7aeb20 0000002a9b7aed08
> 0000000040e8a360: 0000000000000001 0000000000000001 0000000040e8a3e0 0000002a9b7aed08 000000000064ca60 0000002a9560787a
> 0000000040e8a390: 0000000000000002 0000002a956d3107 0000000103bb9370 000000000056aaa8 0000000040e8a500 0000002a9b7aee48
> 0000000040e8a3c0: 0000002a9b7b3b00 0000002a956aca24 0000000003bb9370 0000000002643f80 0000002a9b7aee48 0000002a9b7aeec0
> 0000000040e8a3f0: 0000000000000000 0000000100000000 0000000100000001 0000002a9b7aed28 0000000003bb9370 0000002a9b7aed08
> 0000000040e8a420: 000000000056aaa8 0000000100000007 0000000200000001 0000000200000000 0000002a00000000 0000002a956c3228
> 0000000040e8a450: 03bc261800000000 0000000002643f80 0000002a9b7aed08 0000002a9b7b3b00 0000002a9b7aee48 0000002a956c36f0
> 0000000040e8a480: 0000000000000000 0000002a956c337c 0000002a956c36f0 0000000040e8a4f8 0000000040e8a500 0000000002643f80
> 0000000040e8a4b0: 0000000000000001 0000002a9b7aee48 0000000000000000 0000002a9b7aed08 0000000002643f80 0000002a956c37c9
> 0000000040e8a4e0: 011f3cc000000000 0000000040e8a4f8 000000010003af7a 0000002a9b7aeec8 0000000040e8a598 0000002a9b7aed08
> 0000000040e8a510: 00000001001ecc8b 0000002a9b7aee58 0000002a9b7aeb20 0000000040e8a560 0000000000000001 0000000000000001
> 0000000040e8a540: 0000002a9b7aed08 0000002a956cc14a 0000002a9b7aee48 000000010003c1e0 0000000000688b30 0000002a9b7aee48
> 0000000040e8a570: 000000002192dec8 000000010003bfa7 0000000020b0b3b8 0000000021ff6d58 000000010003bea6 0000000021ff6be8
> 0000000040e8a5a0: 0000000021ff6d58 0000000020b0b3b8 0000000021ff6be8 0000000100000001 0000000020b0b3b8 0000000020b0b3b8
> 0000000040e8a5d0: 0000000021ff6be8 000000010005db3e 0000000021ff6be8 0000000021ff6d58 0000000020b0b3b8 0000000021ff6d98
> 0000000040e8a600: 000000010003bd09 0000000021ff6be8 0000000021ff6be8 0000000021ff6be8 0000000020fa8d58 000000010003b2d5
> 0000000040e8a630: 0000000021ff6be8 0000000020b0b3b8 0000000001939c68 0000000100003945 00000000200a1118 0000000025179958
> 0000000040e8a660: 0000000000000001 000000000193de20 0000000021ff6c80 0000000020fa8d58 000000010023c5c8 0000000021ff6be8
> 0000000040e8a690: 00000000ffffffff 0000000021ff6d10 0000000020ffd028 0000000021ff6c80 0000000020fa8d58 0000000020b0b3b8
> Code:
> 00000001009ccdc8: 894890ff672533e8 c3d2f8252c8b48f3 0001025188b84803 ff6362c8e8000000 0e7ee82824748948 482824748b48ff67
> 00000001009ccdf8: 00002a9b7ca2b8bf 26048b273c8b4800 7c8b48ff670fa3e8 0e16e826048b0824 0f0ee826048bff69 ee8948f78948ff67
> 00000001009cce28: 90004d8b241c8948 50b848ff6bef21e8 9000000000010531 df8948ff63626be8 25048b4864f38948 28468948000000d8
> 00000001009cce58: de8948ff647717e8 894890ff67249be8 ede81024748b48f3 85e8de8948ff6364 cccccccc90ff6724 8bfe8948f38948cf
> 00000001009cce88: ffffffe0b848260c 480114ffffffffff 67b8c189c389de89 c1c889e9f7666666 89c2011fe8c104fa c82928c96bd189d8
> 00000001009cceb8: 08768b48137fc085 1776084639d8f748 48c35b10c6748b48 127608463908768b 48c35b10c6748b48 000001009ccec6b8
> 00000001009ccee8: 009cced6b848f400 ccccccf400000001 cccccccccccccccc 8b4840ec83485553 854820408b483846 4800000213840fc0
> 00000001009ccf18: 4de838768b48f389 05e8f58948000002 8948c18948ff75bb 314830244c8948d8 44894838708b48db 0c8b20768b480824
> 00000001009ccf48: e8ffff43e1e89026 24548b48ff63622c 89480824448b4830 244c8948ee8948f1 0093e910768b4828 8948304e8b480000
> 00000001009ccf78: 8948d58948382474 8948cd2948302454 0c8b0824448948c6 48ffe4d635e89020 d53948d88948c289 480774c08548737c
> 00000001009ccfa8: b84826eb38245c8b 00000000011df298 f38948ff6360f3e8 5c8948ff66b3dbe8 481024448b481024 48df894838245c8b
> Loaded modules:
> (* denotes the module causing the exception)
> 0x400000-0x411037 /usr/lib/jvm/java-1.5.0-bea-1.5.0.03/jre/bin/java
> 0x3a5dc00000-0x3a5dc0eff9 /lib64/tls/libpthread.so.0
> 0x3a5d400000-0x3a5d48459b /lib64/tls/libm.so.6
> 0x3a5cf00000-0x3a5cf01c73 /lib64/libdl.so.2
> 0x3a5d100000-0x3a5d22ac59 /lib64/tls/libc.so.6
> 0x3a5cd00000-0x3a5cd1434f /lib64/ld-linux-x86-64.so.2
> 0x2a95588000-0x2a957a660f /usr/lib/jvm/java-1.5.0-bea-1.5.0.03/jre/lib/amd64/jrockit/libjvm.so
> 0x2a959e3000-0x2a959ecf13 /lib64/libnss_files.so.2
> 0x2a96c6f000-0x2a96c93473 /usr/lib/jvm/java-1.5.0-bea-1.5.0.03/jre/lib/amd64/libjava.so
> 0x2a96d99000-0x2a96da5627 /usr/lib/jvm/java-1.5.0-bea-1.5.0.03/jre/lib/amd64/libverify.so
> 0x3a62e00000-0x3a62e134eb /lib64/libnsl.so.1
> 0x2a99d9f000-0x2a99db3fcf /usr/lib/jvm/java-1.5.0-bea-1.5.0.03/jre/lib/amd64/libnet.so
> 0x2a99eb6000-0x2a99ebed33 /lib64/libnss_nis.so.2
> 0x2a99fc0000-0x2a99fc38a3 /lib64/libnss_dns.so.2
> 0x3a5e200000-0x3a5e210d9b /lib64/libresolv.so.2
> 0x2a9b5c8000-0x2a9b5c897b /usr/lib/jvm/java-1.5.0-bea-1.5.0.03/jre/lib/amd64/librmi.so
> "RMI TCP Connection(4)-192.168.7" id=149 idx=0xc8 tid=1088993632 lastJavaFrame=(nil)
> Thread Stack Trace:
> Additional information is available in:
> /opt/jboss-4.0.4.GA-src/build/output/jboss-4.0.4.GA/bin/jrockit.15362.dump
> No core file will be created because core dumps have been
> disabled. To enable core dumping, try "ulimit -c unlimited"
> before starting JRockit again.
> If you see this dump, please open a support case with BEA and
> supply as much information as you can on your system setup and
> the program you were running. You can also search for solutions
> to your problem at http://forums.bea.com in
> the forum jrockit.developer.interest.general.
> Extended, platform specific info:
> libc release: 2.3.4-stable
> Elf headers:
> libc ehdrs: EI: 7f454c46020101000000000000000000 ET: 3 EM: 62 V: 1 ENTRY: 0x3a5d11c4a0 PHOFF: 0x40 SHOFF: 0x13d5a8 EF: 0x0 HS: 64 PS: 56 PHN; 10 SS: 64 SHN: 69 STIDX: 66
> libpthread ehdrs: EI: 7f454c46020101000000000000000000 ET: 3 EM: 62 V: 1 ENTRY: 0x3a5dc05620 PHOFF: 0x40 SHOFF: 0x12980 EF: 0x0 HS: 64 PS: 56 PHN; 9 SS: 64 SHN: 38 STIDX: 35
> libjvm ehdrs: EI: 7f454c46020101000000000000000000 ET: 3 EM: 62 V: 1 ENTRY: 0x36c80 PHOFF: 0x40 SHOFF: 0x3106f0 EF: 0x0 HS: 64 PS: 56 PHN; 3 SS: 64 SHN: 22 STIDX: 19
> ===== END DUMP ===============================================================
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
19 years, 10 months
[JBoss JIRA] Created: (JBAS-3664) Deploying EJB3.0 entity bean
by madan srinivas (JIRA)
Deploying EJB3.0 entity bean
----------------------------
Key: JBAS-3664
URL: http://jira.jboss.com/jira/browse/JBAS-3664
Project: JBoss Application Server
Issue Type: Feature Request
Security Level: Public (Everyone can see)
Components: Deployment services
Affects Versions: JBossAS-4.0.1 SP1
Environment: Windows 2000 Professional
Reporter: madan srinivas
Assigned To: Dimitris Andreadis
Hi,
I am deploying EJB3.0 Entity bean on JBoss 4.0.1sp1.
I am having ejb-jar.xml and persistence.xml in my META-INF and
Entity bean is not using any Remote Interface; as another Stateless SessionBean is instantiating the POJO Entitbean FileDetailsServiceBO and using EntityManager for persistence.
I get following error , Pls help.
14:29:31,163 WARN [verifier] EJB spec violation:
Bean : FileDetailsServiceBO
Section: 10.6.2
Warning: The entity bean's class must implement, directly or indirectly, the javax.ejb.EntityBean interface.
14:29:31,163 WARN [verifier] EJB spec violation:
Bean : FileDetailsServiceBO
Section: 10.6.2
Warning: The entity bean class must be defined as public and abstract.
14:29:31,163 WARN [verifier] EJB spec violation:
Bean : FileDetailsServiceBO
Section: 10.6.1
Warning: The Bean Provider must provide a remote interface and a remote home int
erface or a local interface and a local home interface for the bean.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
19 years, 10 months
[JBoss JIRA] Created: (JBAS-3663) JBoss Application Server Start Error
by madan srinivas (JIRA)
JBoss Application Server Start Error
------------------------------------
Key: JBAS-3663
URL: http://jira.jboss.com/jira/browse/JBAS-3663
Project: JBoss Application Server
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: Deployment services
Affects Versions: JBossAS-4.0.1 SP1
Environment: Windows 2000 Professional
Reporter: madan srinivas
Assigned To: Dimitris Andreadis
Fix For: JBossAS-4.0.1 SP1
C:\jboss-4.0.1sp1\bin>run
===============================================================================
.
JBoss Bootstrap Environment
.
JBOSS_HOME: C:\jboss-4.0.1sp1\bin\\..
.
JAVA: C:\Program Files\Java\jdk1.5.0_06\bin\java
.
JAVA_OPTS: -Dprogram.name=run.bat -Xms128m -Xmx512m
.
CLASSPATH: C:\Program Files\Java\jdk1.5.0_06\lib\tools.jar;C:\jboss-4.0.1sp1\b
in\\run.jar
.
===============================================================================
.
10:04:24,284 INFO [Server] Starting JBoss (MX MicroKernel)...
10:04:24,284 INFO [Server] Release ID: JBoss [Zion] 4.0.1sp1 (build: CVSTag=JBo
ss_4_0_1_SP1 date=200502160314)
10:04:24,284 INFO [Server] Home Dir: C:\jboss-4.0.1sp1
10:04:24,284 INFO [Server] Home URL: file:/C:/jboss-4.0.1sp1/
10:04:24,284 INFO [Server] Library URL: file:/C:/jboss-4.0.1sp1/lib/
10:04:24,284 INFO [Server] Patch URL: null
10:04:24,284 INFO [Server] Server Name: default
10:04:24,284 INFO [Server] Server Home Dir: C:\jboss-4.0.1sp1\server\default
10:04:24,284 INFO [Server] Server Home URL: file:/C:/jboss-4.0.1sp1/server/defa
ult/
10:04:24,284 INFO [Server] Server Data Dir: C:\jboss-4.0.1sp1\server\default\da
ta
10:04:24,284 INFO [Server] Server Temp Dir: C:\jboss-4.0.1sp1\server\default\tm
p
10:04:24,284 INFO [Server] Server Config URL: file:/C:/jboss-4.0.1sp1/server/de
fault/conf/
10:04:24,284 INFO [Server] Server Library URL: file:/C:/jboss-4.0.1sp1/server/d
efault/lib/
10:04:24,284 INFO [Server] Root Deployment Filename: jboss-service.xml
10:04:24,299 INFO [Server] Starting General Purpose Architecture (GPA)...
10:04:24,596 INFO [ServerInfo] Java version: 1.5.0_06,Sun Microsystems Inc.
10:04:24,596 INFO [ServerInfo] Java VM: Java HotSpot(TM) Client VM 1.5.0_06-b05
,Sun Microsystems Inc.
10:04:24,596 INFO [ServerInfo] OS-System: Windows 2000 5.0,x86
10:04:24,909 INFO [Server] Core system initialized
10:04:26,831 ERROR [MainDeployer] could not create deployment: file:/C:/jboss-4.
0.1sp1/server/default/conf/jboss-service.xml
org.jboss.deployment.DeploymentException: - nested throwable: (java.lang.reflect
.UndeclaredThrowableException)
at org.jboss.system.ServiceConfigurator.install(ServiceConfigurator.java
:143)
at org.jboss.system.ServiceController.install(ServiceController.java:200
)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch
er.java:144)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.
java:249)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:642)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
at $Proxy4.install(Unknown Source)
at org.jboss.deployment.SARDeployer.create(SARDeployer.java:208)
at org.jboss.deployment.MainDeployer.create(MainDeployer.java:918)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:774)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:738)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:722)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch
er.java:144)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractIntercept
or.java:122)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelM
BeanOperationInterceptor.java:131)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.
java:249)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:642)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
at $Proxy5.deploy(Unknown Source)
at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:413)
at org.jboss.system.server.ServerImpl.start(ServerImpl.java:310)
at org.jboss.Main.boot(Main.java:162)
at org.jboss.Main$1.run(Main.java:423)
at java.lang.Thread.run(Thread.java:595)
Caused by: java.lang.reflect.UndeclaredThrowableException
at org.jboss.system.ServiceCreator.install(ServiceCreator.java:204)
at org.jboss.system.ServiceConfigurator.internalInstall(ServiceConfigura
tor.java:153)
at org.jboss.system.ServiceConfigurator.install(ServiceConfigurator.java
:118)
... 36 more
Caused by: java.lang.VerifyError: (class: org/jboss/invocation/pooled/server/Poo
ledInvoker, method: loadCustomSocketFactories signature: ()V) Bad type in putfie
ld/putstatic
at java.lang.Class.getDeclaredConstructors0(Native Method)
at java.lang.Class.privateGetDeclaredConstructors(Class.java:2328)
at java.lang.Class.getConstructor0(Class.java:2640)
at java.lang.Class.getConstructor(Class.java:1629)
at org.jboss.mx.server.MBeanServerImpl.instantiate(MBeanServerImpl.java:
1211)
at org.jboss.mx.server.MBeanServerImpl.instantiate(MBeanServerImpl.java:
269)
at org.jboss.mx.server.MBeanServerImpl.createMBean(MBeanServerImpl.java:
327)
at org.jboss.system.ServiceCreator.install(ServiceCreator.java:125)
... 38 more
Failed to boot JBoss:
org.jboss.deployment.DeploymentException: - nested throwable: (java.lang.reflect
.UndeclaredThrowableException)
at org.jboss.system.ServiceConfigurator.install(ServiceConfigurator.java
:143)
at org.jboss.system.ServiceController.install(ServiceController.java:200
)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch
er.java:144)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.
java:249)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:642)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
at $Proxy4.install(Unknown Source)
at org.jboss.deployment.SARDeployer.create(SARDeployer.java:208)
at org.jboss.deployment.MainDeployer.create(MainDeployer.java:918)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:774)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:738)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:722)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch
er.java:144)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractIntercept
or.java:122)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelM
BeanOperationInterceptor.java:131)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.
java:249)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:642)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
at $Proxy5.deploy(Unknown Source)
at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:413)
at org.jboss.system.server.ServerImpl.start(ServerImpl.java:310)
at org.jboss.Main.boot(Main.java:162)
at org.jboss.Main$1.run(Main.java:423)
at java.lang.Thread.run(Thread.java:595)
Caused by: java.lang.reflect.UndeclaredThrowableException
at org.jboss.system.ServiceCreator.install(ServiceCreator.java:204)
at org.jboss.system.ServiceConfigurator.internalInstall(ServiceConfigura
tor.java:153)
at org.jboss.system.ServiceConfigurator.install(ServiceConfigurator.java
:118)
... 36 more
Caused by: java.lang.VerifyError: (class: org/jboss/invocation/pooled/server/Poo
ledInvoker, method: loadCustomSocketFactories signature: ()V) Bad type in putfie
ld/putstatic
at java.lang.Class.getDeclaredConstructors0(Native Method)
at java.lang.Class.privateGetDeclaredConstructors(Class.java:2328)
at java.lang.Class.getConstructor0(Class.java:2640)
at java.lang.Class.getConstructor(Class.java:1629)
at org.jboss.mx.server.MBeanServerImpl.instantiate(MBeanServerImpl.java:
1211)
at org.jboss.mx.server.MBeanServerImpl.instantiate(MBeanServerImpl.java:
269)
at org.jboss.mx.server.MBeanServerImpl.createMBean(MBeanServerImpl.java:
327)
at org.jboss.system.ServiceCreator.install(ServiceCreator.java:125)
... 38 more
10:04:26,877 INFO [Server] JBoss SHUTDOWN: Undeploying all packages
Shutting down
10:04:26,877 INFO [Server] Shutdown complete
Shutdown complete
Halting VM
Press any key to continue . . .
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
19 years, 10 months
[JBoss JIRA] Updated: (JBCACHE-163) Consolidate jboss related libraries
by Ben Wang (JIRA)
[ http://jira.jboss.com/jira/browse/JBCACHE-163?page=all ]
Ben Wang updated JBCACHE-163:
-----------------------------
Assignee: Manik Surtani (was: Ben Wang)
Manik, I am assigning this to you now since you have been doing it already.
> Consolidate jboss related libraries
> -----------------------------------
>
> Key: JBCACHE-163
> URL: http://jira.jboss.com/jira/browse/JBCACHE-163
> Project: JBoss Cache
> Issue Type: Task
> Security Level: Public(Everyone can see)
> Reporter: Ben Wang
> Assigned To: Manik Surtani
> Priority: Minor
> Fix For: 2.0.0
>
> Original Estimate: 1 day
> Remaining Estimate: 1 day
>
> Currently the jboss dependent packaging in JBossCache is a bit scattered. We use the packaging from jboss-head but they are different the packaing, say, jboss-4.0.
> For example, jboss head recently split jboss-j2ee.jar into jboss-j2ee and jboss-j2se.jar of which has no interests to us at all.
> Nonetheless, our dependency on jboss is very minimal now. So maybe we should think of consolidating all the jboss packaging into a single one? In theory, we should use the jboss packages from full release, like AS4.0.2.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
19 years, 10 months