[EJB 3.0] - EJB 3.0 AND JBOSS 4.0.4 G.A
by priyavijayan1
Hi,
I am having a problem with EJB 3.0 . I am using
EJB-3.0_RC9-FD
jboss-4.0.4.GA
jdk 1.5
ant 1.6.5
I am using the hypersonic database of jboss and I want to create two tables in the database Department and Emplyee.
The code for client.java
package com.abcd.EJB3.application;
import com.infosys.EJB3.application.FacadeRemote;
import javax.naming.InitialContext;
import java.sql.Timestamp;
public class client
{
public static void main(String[] args)
{
try
{
InitialContext ctx = new InitialContext();
FacadeRemote lFacadeRemote = (FacadeRemote) ctx.lookup(FacadeRemote.class.getName());
lFacadeRemote.createDepartment("Finance");
lFacadeRemote.createDepartment("Administration");
lFacadeRemote.createDepartment("Sales");
lFacadeRemote.assignEmployeeToDepartment(new Long(1),"Brijesh",31,"M");
lFacadeRemote.assignEmployeeToDepartment(new Long(1),"xxxx",31,"M");
lFacadeRemote.assignEmployeeToDepartment(new Long(2),"yyyy",31,"M");
}
catch(Exception ex)
{
System.out.println(ex);
}
}
}
The code for department.java
package com.abcd.EJB3.application;
import java.util.ArrayList;
import java.util.Collection;
import javax.persistence.CascadeType;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.FetchType;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.OneToMany;
import javax.persistence.Table;
@Entity
@Table(name = "DEPARTMENT")
public class Department implements java.io.Serializable
{
private Long id;
private String lsName;
private Collection lEmployees;
//@Id(generate = GeneratorType.AUTO)
@Id @GeneratedValue(strategy=GenerationType.AUTO)
public Long getId()
{
return id;
}
public void setId(Long id)
{
this.id = id;
}
@Column(name = "NAME")
public String getName()
{
return lsName;
}
public void setName(String asName)
{
this.lsName = asName;
}
@OneToMany(cascade = CascadeType.ALL, fetch = FetchType.EAGER, mappedBy="department")
public Collection getEmployees()
{
return lEmployees;
}
public void setEmployees(Collection aEmployees)
{
this.lEmployees = aEmployees;
}
public void addEmployee(String asName,int aiAge, String asSex)
{
if(lEmployees== null)
lEmployees = new ArrayList();
Employee lEmployee = new Employee();
lEmployee.setName(asName);
lEmployee.setAge(aiAge);
lEmployee.setSex(asSex);
lEmployee.setDepartment(this);
lEmployees.add(lEmployee);
setEmployees(lEmployees);
}
}
the code for Employee.java
package com.abcd.EJB3.application;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.JoinColumn;
import javax.persistence.ManyToOne;
import javax.persistence.Column;
import javax.persistence.Table;
import javax.persistence.FetchType;
import javax.persistence.ManyToMany;
import javax.persistence.CascadeType;
import javax.persistence.PostPersist;
import java.util.Set;
//@Entity
public class Employee implements java.io.Serializable
{
private Long id;
private String lsName;
private int liAge;
private String lsSex;
private Department department;
public Employee()
{
}
//@Id(generate = GeneratorType.IDENTITY)
// @Id @GeneratedValue(strategy=GenerationType.IDENTITY)
public Long getId()
{
return id;
}
public void setId(Long id)
{
this.id = id;
}
// @Column(name = "NAME")
public String getName()
{
return lsName;
}
public void setName(String asName)
{
this.lsName = asName;
}
// @Column(name = "AGE")
public int getAge()
{
return liAge;
}
public void setAge(int liAge)
{
this.liAge = liAge;
}
// @Column(name = "SEX")
public String getSex()
{
return lsSex;
}
public void setSex(String lsSex)
{
this.lsSex = lsSex;
}
// @ManyToOne
// @JoinColumn(name="DEPARTMENT_ID")
public Department getDepartment()
{
return department;
}
public void setDepartment(Department aDepartment)
{
this.department = aDepartment;
}
// @PostPersist
public void samplePostPersist()
{
System.out.println("Added Employee having name = "+ this.getName() +" and Age = "+ this.getAge());
}
}
code for FacadeBean
package com.abcd.EJB3.application;
import javax.ejb.Stateless;
import javax.ejb.Remote;
import javax.persistence.EntityManager;
import javax.persistence.PersistenceContext;
import com.infosys.EJB3.application.Department;
import com.infosys.EJB3.application.Employee;
import java.util.Set;
@Stateless
public class FacadeBean implements FacadeRemote
{
@PersistenceContext
private EntityManager manager;
public void createDepartment(String deptName)
{
Department department = new Department();
department.setName(deptName);
manager.persist(department);
}
public void assignEmployeeToDepartment(Long id, String name, int age, String sex)
{
Department department = searchDepartment(id);
department.addEmployee(name, age, sex);
manager.persist(department);
}
public Department searchDepartment(Long id)
{
return manager.find(Department.class,id);
}
}
code for FacadeRemote
package com.abcd.EJB3.application;
import javax.ejb.Remote;
@Remote
public interface FacadeRemote
{
public void createDepartment(String deptName);
public Department searchDepartment(Long id);
public void assignEmployeeToDepartment(Long id, String name, int age, String sex);
}
now I have compiled the code and deployed it. But when I try to run the code I get the following error:
NameNotFoundException ----- FacadeRemote not bound.
I think its something related to JNDI binding.. but here since I am using EJB 3.0, i dont have to use ejb-jar.xml, but then how does this happens?? what should I do... Please help....
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3996098#3996098
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3996098
19 years, 7 months
[Clustering/JBoss] - Re: Running multiple instances of JBoss on one machine: need
by sjsaunders
This is the change to ConfiguringMultipleJBossInstancesOnOneMachine that I am asking about:
Difference between version 34 and version 33:
Line 45 was replaced by lines 45-46
- If you intend to launch multiple JBoss instances on the same machine and have them form a cluster, you might write some kind of script to launch the two instances. It is a good practice to add some kind of pause in your script between the launch of the first instance and the second. 10 to 20 seconds is good.
+ We highly recommend against configurating a cluster using the Service Binding Manager. Instead bind each server instance to a separate ip address (or DNS alias) (bound to the same NIC or not):\\
+ __ e.g. $run.sh -c node1 -b 192.168.4.1 (or -b node1.mycluster.acme.com)
Removed line 47
- This is because if both instances are launched simultaneously, they both may decide they are the JGroups coordinator. At this point, you will have two independent clusters of one node each. If this happens, both nodes may begin to start HASingleton services, such as HA-JMS. A few seconds later, the two nodes will discover each other and the two clusters will merge. One of the nodes will no longer be coordinator, and the HASingleton services will be stopped. Stopping a service that's in the middle of starting does not always go cleanly.
Removed line 49
- By putting a pause in your startup script, it gives the first node a chance to become coordinator before the second node starts. The second node will then cleanly join the cluster, and no HASingleton services will be started on it.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3996094#3996094
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3996094
19 years, 7 months
[EJB/JBoss] - problem with jboss-EJB-3.0_RC9-FD and jboss-4.0.4.GA
by priyavijayan1
Hi,
I am having a problem with EJB 3.0 . I am using
EJB-3.0_RC9-FD
jboss-4.0.4.GA
jdk 1.5
ant 1.6.5
I am using the hypersonic database of jboss and I want to create two tables in the database Department and Emplyee.
The code for client.java
package com.abcd.EJB3.application;
import com.infosys.EJB3.application.FacadeRemote;
import javax.naming.InitialContext;
import java.sql.Timestamp;
public class client
{
public static void main(String[] args)
{
try
{
InitialContext ctx = new InitialContext();
FacadeRemote lFacadeRemote = (FacadeRemote) ctx.lookup(FacadeRemote.class.getName());
lFacadeRemote.createDepartment("Finance");
lFacadeRemote.createDepartment("Administration");
lFacadeRemote.createDepartment("Sales");
lFacadeRemote.assignEmployeeToDepartment(new Long(1),"Brijesh",31,"M");
lFacadeRemote.assignEmployeeToDepartment(new Long(1),"xxxx",31,"M");
lFacadeRemote.assignEmployeeToDepartment(new Long(2),"yyyy",31,"M");
}
catch(Exception ex)
{
System.out.println(ex);
}
}
}
The code for department.java
package com.abcd.EJB3.application;
import java.util.ArrayList;
import java.util.Collection;
import javax.persistence.CascadeType;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.FetchType;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.OneToMany;
import javax.persistence.Table;
@Entity
@Table(name = "DEPARTMENT")
public class Department implements java.io.Serializable
{
private Long id;
private String lsName;
private Collection lEmployees;
//@Id(generate = GeneratorType.AUTO)
@Id @GeneratedValue(strategy=GenerationType.AUTO)
public Long getId()
{
return id;
}
public void setId(Long id)
{
this.id = id;
}
@Column(name = "NAME")
public String getName()
{
return lsName;
}
public void setName(String asName)
{
this.lsName = asName;
}
@OneToMany(cascade = CascadeType.ALL, fetch = FetchType.EAGER, mappedBy="department")
public Collection getEmployees()
{
return lEmployees;
}
public void setEmployees(Collection aEmployees)
{
this.lEmployees = aEmployees;
}
public void addEmployee(String asName,int aiAge, String asSex)
{
if(lEmployees== null)
lEmployees = new ArrayList();
Employee lEmployee = new Employee();
lEmployee.setName(asName);
lEmployee.setAge(aiAge);
lEmployee.setSex(asSex);
lEmployee.setDepartment(this);
lEmployees.add(lEmployee);
setEmployees(lEmployees);
}
}
the code for Employee.java
package com.abcd.EJB3.application;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.JoinColumn;
import javax.persistence.ManyToOne;
import javax.persistence.Column;
import javax.persistence.Table;
import javax.persistence.FetchType;
import javax.persistence.ManyToMany;
import javax.persistence.CascadeType;
import javax.persistence.PostPersist;
import java.util.Set;
//@Entity
public class Employee implements java.io.Serializable
{
private Long id;
private String lsName;
private int liAge;
private String lsSex;
private Department department;
public Employee()
{
}
//@Id(generate = GeneratorType.IDENTITY)
// @Id @GeneratedValue(strategy=GenerationType.IDENTITY)
public Long getId()
{
return id;
}
public void setId(Long id)
{
this.id = id;
}
// @Column(name = "NAME")
public String getName()
{
return lsName;
}
public void setName(String asName)
{
this.lsName = asName;
}
// @Column(name = "AGE")
public int getAge()
{
return liAge;
}
public void setAge(int liAge)
{
this.liAge = liAge;
}
// @Column(name = "SEX")
public String getSex()
{
return lsSex;
}
public void setSex(String lsSex)
{
this.lsSex = lsSex;
}
// @ManyToOne
// @JoinColumn(name="DEPARTMENT_ID")
public Department getDepartment()
{
return department;
}
public void setDepartment(Department aDepartment)
{
this.department = aDepartment;
}
// @PostPersist
public void samplePostPersist()
{
System.out.println("Added Employee having name = "+ this.getName() +" and Age = "+ this.getAge());
}
}
code for FacadeBean
package com.abcd.EJB3.application;
import javax.ejb.Stateless;
import javax.ejb.Remote;
import javax.persistence.EntityManager;
import javax.persistence.PersistenceContext;
import com.infosys.EJB3.application.Department;
import com.infosys.EJB3.application.Employee;
import java.util.Set;
@Stateless
public class FacadeBean implements FacadeRemote
{
@PersistenceContext
private EntityManager manager;
public void createDepartment(String deptName)
{
Department department = new Department();
department.setName(deptName);
manager.persist(department);
}
public void assignEmployeeToDepartment(Long id, String name, int age, String sex)
{
Department department = searchDepartment(id);
department.addEmployee(name, age, sex);
manager.persist(department);
}
public Department searchDepartment(Long id)
{
return manager.find(Department.class,id);
}
}
code for FacadeRemote
package com.abcd.EJB3.application;
import javax.ejb.Remote;
@Remote
public interface FacadeRemote
{
public void createDepartment(String deptName);
public Department searchDepartment(Long id);
public void assignEmployeeToDepartment(Long id, String name, int age, String sex);
}
now I have compiled the code and deployed it. But when I try to run the code I get the following error:
NameNotFoundException ----- FacadeRemote not bound.
I think its something related to JNDI binding.. but here since I am using EJB 3.0, i dont have to use ejb-jar.xml, but then how does this happens?? what should I do... Please help....
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3996092#3996092
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3996092
19 years, 7 months
[Persistence, JBoss/CMP, Hibernate, Database] - Re: Hibernate loads all entities on manager.merge()
by murtuza52
I found the culprit. For those who have performance related issue, this might be one of the reasons. The culprit here was the use of FetchType.EAGER. This might be because of "load-before-update" strategy hibernate uses to check the columns have changed. Over use of EAGER means its going to load every related entities in memory and therefore performance is effected.
Make all relations LAZY except for those that are absolutely required. You can easily debug and find out if the application server is working hard to synchronize with the database by using Use tags
| <property name="hibernate.show_sql" value="true"/>
| <property name="hibernate.use_sql_comments" value="true"/>
|
in persistence.xml file. This will show you what is happening in background and you can find out what entities get loaded will persisting or merging.
I hope hibernate or jboss comes up with better strategy to synchronize the data. This doesn't seems to be effecting the performance with server like GlassFish or JDO framework. They have different algorithm that performans more efficients.
Feedback are welcomed to improve the performance further.
Murtuza
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3996091#3996091
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3996091
19 years, 7 months
[JNDI/Naming/Network] - HAJNDI error
by tjclifford
I run JBoss 4.0.4GA on WinXP, and last week I started getting an error
on JBoss startup:
11:34:00,314 INFO [RegistryServlet] Initializing jUDDI components.
11:34:01,345 INFO [DefaultPartition] Initializing
11:34:01,415 WARN [ServiceController] Problem creating service jboss:service=HA
JNDI
java.lang.NoSuchMethodError:
org.jnp.interfaces.NamingContext.setHANamingServerForPartition(Ljava/lang/String;Lorg/jnp/interfaces/Naming;)V
at org.jboss.ha.jndi.DetachedHANamingService.createService(DetachedHANam
ingService.java:353)
at org.jboss.system.ServiceMBeanSupport.jbossInternalCreate(ServiceMBean
Support.java:260)
at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMB
eanSupport.java:243)
....more......
I run Sun's JSDK 1.5, Apache 2.0.48(Win32), and re-copied ALL the
XML files from the JBoss distribution back into the \jboss\server\all\deploy
directory, to no avail. I've even un-deployed ALL my test apps (this
is a development machine), as well as my mysql-ds.xml and mssql-ds.xml
files from the deploy dir. Same error.
Has anyone else had this occur ?
I cannot think of any changes I've made in the last week or two that
would have caused this- I don't, as a rule, touch any of the config
xml files in jboss; I added the /conf/auto/mod_jk.conf to allow
JBoss to serve apps thru Apache. I had the ALL config running for
about two weeks before this started.
I'm at a loss. Thanks for any advice.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3996073#3996073
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3996073
19 years, 7 months
[Clustering/JBoss] - EJB3 Clustered not working, JMS MDB
by PhilipWu
Looks like the installer for "EJB3 clustered" is broken.
The /deploy-hasingleton/jms directory is missing.
I tried manually copying over the necessary files to fix it, but I am still getting errors about not able to find the Custom created Queues.
Is there something else im missing?
Is there a way to get the installer to work properly to create the needed files?
2006-12-23 16:03:55,624 DEBUG [org.jboss.ejb3.mdb.MessagingContainer] Got destination type Queue for ClusteredFileMoverMDB
2006-12-23 16:03:55,624 DEBUG [org.jboss.ejb3.mdb.MessagingContainer] jndiSuffix: stitchQ
2006-12-23 16:03:55,705 WARN [org.jboss.ejb3.mdb.MessagingContainer] Could not find the queue destination-jndi-name=queue/stitchQ
2006-12-23 16:03:55,706 WARN [org.jboss.ejb3.mdb.MessagingContainer] destination not found: queue/stitchQ reason: javax.naming.NameNotFoundEx
ception: queue/stitchQ
2006-12-23 16:03:55,706 WARN [org.jboss.ejb3.mdb.MessagingContainer] creating a new temporary destination: queue/stitchQ
2006-12-23 16:03:55,721 DEBUG [org.jboss.mq.server.jmx.DestinationManager] Attempting to create destination: jboss.mq.destination:service=Queu
e,name=stitchQ; type=org.jboss.mq.server.jmx.Queue
2006-12-23 16:03:55,728 DEBUG [org.jboss.ejb3.ServiceDelegateWrapper] Starting failed jboss.j2ee:ear=wubrothers.ear,jar=ejb3.jar,name=Clustere
dFileMoverMDB,service=EJB3
javax.management.RuntimeMBeanException
at org.jboss.mx.interceptor.ReflectedDispatcher.handleInvocationExceptions(ReflectedDispatcher.java:176)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:163)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at org.jboss.ejb3.JmxClientKernelAbstraction.invoke(JmxClientKernelAbstraction.java:44)
at org.jboss.ejb3.mdb.MessagingContainer.createTemporaryDestination(MessagingContainer.java:539)
at org.jboss.ejb3.mdb.MessagingContainer.createDestination(MessagingContainer.java:497)
at org.jboss.ejb3.mdb.MessagingContainer.innerCreateQueue(MessagingContainer.java:423)
at org.jboss.ejb3.mdb.MessagingContainer.jmsCreate(MessagingContainer.java:385)
at org.jboss.ejb3.mdb.MessagingContainer.innerStart(MessagingContainer.java:161)
at org.jboss.ejb3.mdb.MessagingContainer.start(MessagingContainer.java:147)
at org.jboss.ejb3.mdb.MDB.start(MDB.java:126)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
This is how i defined my destinations-service.xml file which i placed in the deploy-hasingleton/jms directory
<depends optional-attribute-name="DestinationManager">jboss.mq:service=DestinationManager
org.jboss.mq.server.ReceiversImplArrayList
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3996051#3996051
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3996051
19 years, 7 months
[JBoss Portal] - Error starting JBoss Portal 2.4.1.CR2 Release
by 733nb
I downloaded the 2.4.1.CR2 bundled release and I'm receiving a startup
error indicating the portal-wsrp.sar is already registered.
I noticed the 2.4.1.CR2 bundled release is running Jboss 4.0.5. The 2.4.1.CR1 bundled release running Jboss 4.0.4. Is this the intent to run 2.4.1 on 4.0.5?
Environmental info follows:
Release ID: JBoss [Zion] 4.0.5.GA
Home Dir: E:\Apache Group\jboss-portal-2.4.1-CR2
Java version: 1.4.2_09,Sun Microsystems Inc.
Java VM: Java HotSpot(TM) Server VM 1.4.2_09-b05,Sun Microsystems Inc.
OS-System: Windows 2000 5.0,x86
Stack Trace:
14:52:59,255 ERROR [MainDeployer] Could not create deployment: file:/E:/Apache Group/jboss-portal-2.4.1-CR2/server/default/deploy/portal-wsrp.sar
org.jboss.deployment.DeploymentException: Trying to install an already registered mbean: portal:service=InterceptorStack,type=WSRP
at org.jboss.system.ServiceCreator.install(ServiceCreator.java:103)
at org.jboss.system.ServiceConfigurator.internalInstall(ServiceConfigurator.java:449)
at org.jboss.system.ServiceConfigurator.install(ServiceConfigurator.java:171)
at org.jboss.system.ServiceController.install(ServiceController.java:226)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
at $Proxy4.install(Unknown Source)
at org.jboss.deployment.SARDeployer.create(SARDeployer.java:249)
at org.jboss.deployment.MainDeployer.create(MainDeployer.java:969)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:818)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
at $Proxy8.deploy(Unknown Source)
at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:421)
at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:634)
at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:263)
at org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(AbstractDeploymentScanner.java:336)
at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978)
at $Proxy0.start(Unknown Source)
at org.jboss.system.ServiceController.start(ServiceController.java:417)
at sun.reflect.GeneratedMethodAccessor10.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
at $Proxy4.start(Unknown Source)
at org.jboss.deployment.SARDeployer.start(SARDeployer.java:302)
at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1025)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:819)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:766)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
at $Proxy5.deploy(Unknown Source)
at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:482)
at org.jboss.system.server.ServerImpl.start(ServerImpl.java:362)
at org.jboss.Main.boot(Main.java:200)
at org.jboss.Main$1.run(Main.java:490)
at java.lang.Thread.run(Thread.java:534)
14:53:03,150 INFO [ClientDeployer] Client ENC bound under: wsrp-client
14:53:03,811 WARN [NestedThrowable] Duplicate throwable nesting of same base type: class org.jboss.deployment.DeploymentException i
s assignable from: class org.jboss.deployment.DeploymentException
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3996050#3996050
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3996050
19 years, 7 months
[Installation, Configuration & Deployment] - Re: build jboss source
by Steve++
Here's a more verbose log of the problem:
Detected Java version: 1.5 in: /usr/java/jdk1.5.0_09/jre
Detected OS: Linux
parsing buildfile /root/jboss-4.0.5.GA-src/build/build.xml with URI = file:///root/jboss-4.0.5.GA-src/build/build.xml
Project base dir set to: /root/jboss-4.0.5.GA-src/build
resolving systemId: file:///root/jboss-4.0.5.GA-src/tools/etc/buildmagic/buildmagic.ent
Property ${proxy.username} has not been set
Property ${proxy.password} has not been set
Build sequence for target(s) `main' is [check.inhibit.downloads, check.proxy, set.proxy.withoutauth, set.proxy.auth, set.proxy, createthirdparty, _buildmagic:init, init, _buildmagic:modules:most, modules-most, partition-build, install, most, main]
Complete build sequence is [check.inhibit.downloads, check.proxy, set.proxy.withoutauth, set.proxy.auth, set.proxy, createthirdparty, _buildmagic:init, init, _buildmagic:modules:most, modules-most, partition-build, install, most, main, _buildmagic:modules:clobber, _module-messaging-most, _module-messaging-all, _module-ejb3x-most, _buildmagic:help:build, _buildmagic:modules:tests, modules-tests, docs-javadocs, docs-api, _buildmagic:mbean-bypass-checker, _default:compile-mbean-sources, _buildmagic:modules:main, _module-varia-most, _module-jmx-most, modules-clobber, _module-j2ee-most, _module-j2ee-all, _module-transaction-most, _buildmagic:modules:all, modules-all, docs-javadocs-check, docs-javadocs_1_4, _buildmagic:release:zip, partition-minimal, _module-security-most, _module-security-all, _buildmagic:build-bypass-checker, bypass-jboss-all-client, jboss-all-client, _module-deployment-most, _module-naming-most, docs-todo-check, docs-todo, _buildmagic:build-bypass-notice, _buildmagic:build-bypass-check, _module-varia-all, _module-console-most, _module-iiop-most, _module-iiop-all, _module-jmx-all, _module-cluster-most, _buildmagic:clean, _module-system-most, _module-deployment-all, _module-management-most, _buildmagic:modules:docs, _buildmagic:clobber, _buildmagic:modules:clean, modules-clean, clean, _default:clobber, _default:compile-classes, partition-default, _module-hibernate-int-most, _module-hibernate-int-all, _module-remoting-int-most, _buildmagic:clean-internal, _module-transaction-all, _module-console-all, help, release, release-zip, _default:server-client-jars, docs, release-full, _module-naming-all, _default:compile-stylesheets, _buildmagic:help:standard, _module-tomcat-most, _module-aspects-most, _module-aspects-jdk5-all, _buildmagic:release:tar, _buildmagic:release:tgz, _default:compile-resources, _buildmagic:init:buildlog, _default:clean, _module-cluster-all, _module-server-most, _module-server-all, _default:fix-bin, _buildmagic:init:show-environment, _default:compile-checksums, _module-management-all, _default:init, rebuild, _default:compile-rmi, _module-ejb3-most, _module-ejb3-all, jmx-docs, jmx-docs-html-plain, modules-main, configure, setup-ejb3-dist, _module-remoting-all, _buildmagic:modules:release, _default:task-init, _default:compile-test-classes, todo, clobber, thirdparty, release-tgz, release-all, modules-release, _module-system-all, javadocs, _default:compile-bin, configure-project, _module-aspects-all, _module-tomcat-all, _module-connector-most, _module-connector-all, _default:compile-web, _buildmagic:install:default, all, _module-aspects-jdk5-most, release-tar, _buildmagic:init:local-properties, _default:compile-xmbean-sources, modules-docs, _module-jaxrpc-most, _module-jaxrpc-all, _default:compile-etc, ]
check.inhibit.downloads:
Property ${nodownload} has not been set
check.proxy:
Property ${proxy.host} has not been set
Property ${proxy.port} has not been set
set.proxy.withoutauth:
Skipped because property 'hasproxy' not set.
set.proxy.auth:
Skipped because property 'hasproxyauth' not set.
set.proxy:
createthirdparty:
Skipped because property 'inhibit.downloads' set.
_buildmagic:init:
[property] Loading /root/jboss-4.0.5.GA-src/build/local.properties
Ignoring Exception java.util.zip.ZipException: error in opening zip file reading resource org/jboss/tools/buildmagic/task/config/LibrarySet.class from /root/jboss-4.0.5.GA-src/tools/lib/README
Ignoring Exception java.util.zip.ZipException: error in opening zip file reading resource org/jboss/tools/buildmagic/task/MissingAttributeException.class from /root/jboss-4.0.5.GA-src/tools/lib/README
Ignoring Exception java.util.zip.ZipException: error in opening zip file reading resource org/jboss/tools/buildmagic/task/module/ExecuteModules.class from /root/jboss-4.0.5.GA-src/tools/lib/README
Ignoring Exception java.util.zip.ZipException: error in opening zip file reading resource org/jboss/tools/buildmagic/task/module/ExecuteModules$MyEcho.class from /root/jboss-4.0.5.GA-src/tools/lib/README
Ignoring Exception java.util.zip.ZipException: error in opening zip file reading resource org/jboss/tools/buildmagic/task/ResolveProperties.class from /root/jboss-4.0.5.GA-src/tools/lib/README
Ignoring Exception java.util.zip.ZipException: error in opening zip file reading resource org/jboss/tools/buildmagic/task/Require.class from /root/jboss-4.0.5.GA-src/tools/lib/README
Ignoring Exception java.util.zip.ZipException: error in opening zip file reading resource org/jboss/tools/buildmagic/task/util/Dump.class from /root/jboss-4.0.5.GA-src/tools/lib/README
Ignoring Exception java.util.zip.ZipException: error in opening zip file reading resource org/jboss/tools/buildmagic/task/util/Puke.class from /root/jboss-4.0.5.GA-src/tools/lib/README
Ignoring Exception java.util.zip.ZipException: error in opening zip file reading resource org/jboss/tools/buildmagic/task/module/ModuleInit.class from /root/jboss-4.0.5.GA-src/tools/lib/README
Ignoring Exception java.util.zip.ZipException: error in opening zip file reading resource org/jboss/tools/buildmagic/task/module/ModuleConfig.class from /root/jboss-4.0.5.GA-src/tools/lib/README
Ignoring Exception java.util.zip.ZipException: error in opening zip file reading resource org/jboss/tools/buildmagic/task/MissingElementException.class from /root/jboss-4.0.5.GA-src/tools/lib/README
Ignoring Exception java.util.zip.ZipException: error in opening zip file reading resource org/jboss/tools/buildmagic/task/config/ModuleLibrary.class from /root/jboss-4.0.5.GA-src/tools/lib/README
Ignoring Exception java.util.zip.ZipException: error in opening zip file reading resource org/jboss/tools/buildmagic/task/config/Library.class from /root/jboss-4.0.5.GA-src/tools/lib/README
Ignoring Exception java.util.zip.ZipException: error in opening zip file reading resource org/jboss/tools/buildmagic/task/module/ProjectInfo.class from /root/jboss-4.0.5.GA-src/tools/lib/README
Ignoring Exception java.util.zip.ZipException: error in opening zip file reading resource org/jboss/tools/buildmagic/task/module/AbstractInfo.class from /root/jboss-4.0.5.GA-src/tools/lib/README
Ignoring Exception java.util.zip.ZipException: error in opening zip file reading resource org/jboss/tools/buildmagic/task/Ant.class from /root/jboss-4.0.5.GA-src/tools/lib/README
Ignoring Exception java.util.zip.ZipException: error in opening zip file reading resource org/jboss/tools/buildmagic/task/module/ModuleInfo.class from /root/jboss-4.0.5.GA-src/tools/lib/README
Ignoring Exception java.util.zip.ZipException: error in opening zip file reading resource org/jboss/tools/buildmagic/task/ProjectHelp.class from /root/jboss-4.0.5.GA-src/tools/lib/README
Ignoring Exception java.util.zip.ZipException: error in opening zip file reading resource org/jboss/tools/buildmagic/task/PropertyFilter.class from /root/jboss-4.0.5.GA-src/tools/lib/README
Ignoring Exception java.util.zip.ZipException: error in opening zip file reading resource org/jboss/tools/buildmagic/task/CallTarget.class from /root/jboss-4.0.5.GA-src/tools/lib/README
Ignoring Exception java.util.zip.ZipException: error in opening zip file reading resource org/jboss/tools/buildmagic/task/Property.class from /root/jboss-4.0.5.GA-src/tools/lib/README
Trying to override old definition of task property
Ignoring Exception java.util.zip.ZipException: error in opening zip file reading resource org/jboss/tools/buildmagic/task/util/TaskLogger.class from /root/jboss-4.0.5.GA-src/tools/lib/README
Ignoring Exception java.util.zip.ZipException: error in opening zip file reading resource org/jboss/tools/buildmagic/task/FindRoot.class from /root/jboss-4.0.5.GA-src/tools/lib/README
Ignoring Exception java.util.zip.ZipException: error in opening zip file reading resource org/jboss/tools/buildmagic/task/Property$Element.class from /root/jboss-4.0.5.GA-src/tools/lib/README
[property] Loading /root/jboss-4.0.5.GA-src/build/local.properties
[property] Loading /root/.buildmagic.properties
[property] Unable to find property file: /root/.buildmagic.properties
[property] Loading /root/.ant.properties
[property] Unable to find property file: /root/.ant.properties
Ignoring Exception java.util.zip.ZipException: error in opening zip file reading resource org/jboss/tools/buildmagic/task/util/TaskLogger.class from /root/jboss-4.0.5.GA-src/tools/lib/README
[available] Found: etc/local.properties-example
Build sequence for target(s) `_buildmagic:init:local-properties' is [_buildmagic:init:local-properties]
Complete build sequence is [_buildmagic:init:local-properties, _buildmagic:init, init, _buildmagic:modules:clobber, _module-messaging-most, _module-messaging-all, _module-ejb3x-most, _buildmagic:help:build, _buildmagic:modules:tests, modules-tests, docs-javadocs, docs-api, _buildmagic:mbean-bypass-checker, _default:compile-mbean-sources, _buildmagic:modules:main, _module-varia-most, _module-jmx-most, modules-clobber, _module-j2ee-most, _module-j2ee-all, _module-transaction-most, _buildmagic:modules:all, modules-all, check.proxy, docs-javadocs-check, docs-javadocs_1_4, set.proxy.auth, check.inhibit.downloads, set.proxy.withoutauth, set.proxy, createthirdparty, _buildmagic:modules:most, modules-most, partition-build, install, most, _buildmagic:release:zip, partition-minimal, _module-security-most, _module-security-all, _buildmagic:build-bypass-checker, bypass-jboss-all-client, jboss-all-client, _module-deployment-most, _module-naming-most, docs-todo-check, main, docs-todo, _buildmagic:build-bypass-notice, _buildmagic:build-bypass-check, _module-varia-all, _module-console-most, _module-iiop-most, _module-iiop-all, _module-jmx-all, _module-cluster-most, _buildmagic:clean, _module-system-most, _module-deployment-all, _module-management-most, _buildmagic:modules:docs, _buildmagic:clobber, _buildmagic:modules:clean, modules-clean, clean, _default:clobber, _default:compile-classes, partition-default, _module-hibernate-int-most, _module-hibernate-int-all, _module-remoting-int-most, _buildmagic:clean-internal, _module-transaction-all, _module-console-all, help, release, release-zip, _default:server-client-jars, docs, release-full, _module-naming-all, _default:compile-stylesheets, _buildmagic:help:standard, _module-tomcat-most, _module-aspects-most, _module-aspects-jdk5-all, _buildmagic:release:tar, _buildmagic:release:tgz, _default:compile-resources, _buildmagic:init:buildlog, _default:clean, _module-cluster-all, _module-server-most, _module-server-all, _default:fix-bin, _buildmagic:init:show-environment, _default:compile-checksums, _module-management-all, _default:init, rebuild, _default:compile-rmi, _module-ejb3-most, _module-ejb3-all, jmx-docs, jmx-docs-html-plain, modules-main, configure, setup-ejb3-dist, _module-remoting-all, _buildmagic:modules:release, _default:task-init, _default:compile-test-classes, todo, clobber, thirdparty, release-tgz, release-all, modules-release, _module-system-all, javadocs, _default:compile-bin, configure-project, _module-aspects-all, _module-tomcat-all, _module-connector-most, _module-connector-all, _default:compile-web, _buildmagic:install:default, all, _module-aspects-jdk5-most, release-tar, _default:compile-xmbean-sources, modules-docs, _module-jaxrpc-most, _module-jaxrpc-all, _default:compile-etc, ]
_buildmagic:init:local-properties:
[copy] /root/jboss-4.0.5.GA-src/build/etc/local.properties-example omitted as /root/jboss-4.0.5.GA-src/build/local.properties is up to date.
[property] Loading /root/jboss-4.0.5.GA-src/build/local.properties
Build sequence for target(s) `_buildmagic:init:buildlog' is [_buildmagic:init:buildlog]
Complete build sequence is [_buildmagic:init:buildlog, _buildmagic:init, init, _buildmagic:modules:clobber, _module-messaging-most, _module-messaging-all, _module-ejb3x-most, _buildmagic:help:build, _buildmagic:modules:tests, modules-tests, docs-javadocs, docs-api, _buildmagic:mbean-bypass-checker, _default:compile-mbean-sources, _buildmagic:modules:main, _module-varia-most, _module-jmx-most, modules-clobber, _module-j2ee-most, _module-j2ee-all, _module-transaction-most, _buildmagic:modules:all, modules-all, check.proxy, docs-javadocs-check, docs-javadocs_1_4, set.proxy.auth, check.inhibit.downloads, set.proxy.withoutauth, set.proxy, createthirdparty, _buildmagic:modules:most, modules-most, partition-build, install, most, _buildmagic:release:zip, partition-minimal, _module-security-most, _module-security-all, _buildmagic:build-bypass-checker, bypass-jboss-all-client, jboss-all-client, _module-deployment-most, _module-naming-most, docs-todo-check, main, docs-todo, _buildmagic:build-bypass-notice, _buildmagic:build-bypass-check, _module-varia-all, _module-console-most, _module-iiop-most, _module-iiop-all, _module-jmx-all, _module-cluster-most, _buildmagic:clean, _module-system-most, _module-deployment-all, _module-management-most, _buildmagic:modules:docs, _buildmagic:clobber, _buildmagic:modules:clean, modules-clean, clean, _default:clobber, _default:compile-classes, partition-default, _module-hibernate-int-most, _module-hibernate-int-all, _module-remoting-int-most, _buildmagic:clean-internal, _module-transaction-all, _module-console-all, help, release, release-zip, _default:server-client-jars, docs, release-full, _module-naming-all, _default:compile-stylesheets, _buildmagic:help:standard, _module-tomcat-most, _module-aspects-most, _module-aspects-jdk5-all, _buildmagic:release:tar, _buildmagic:release:tgz, _default:compile-resources, _default:clean, _module-cluster-all, _module-server-most, _module-server-all, _default:fix-bin, _buildmagic:init:show-environment, _default:compile-checksums, _module-management-all, _default:init, rebuild, _default:compile-rmi, _module-ejb3-most, _module-ejb3-all, jmx-docs, jmx-docs-html-plain, modules-main, configure, setup-ejb3-dist, _module-remoting-all, _buildmagic:modules:release, _default:task-init, _default:compile-test-classes, todo, clobber, thirdparty, release-tgz, release-all, modules-release, _module-system-all, javadocs, _default:compile-bin, configure-project, _module-aspects-all, _module-tomcat-all, _module-connector-most, _module-connector-all, _default:compile-web, _buildmagic:install:default, all, _module-aspects-jdk5-most, release-tar, _buildmagic:init:local-properties, _default:compile-xmbean-sources, modules-docs, _module-jaxrpc-most, _module-jaxrpc-all, _default:compile-etc, ]
_buildmagic:init:buildlog:
[property] setting system proeprty: init-buildlog.disable=true
[property] Loading /root/jboss-4.0.5.GA-src/tools/etc/buildmagic/common.properties
Build sequence for target(s) `configure' is [configure]
Complete build sequence is [configure, _buildmagic:init, init, _buildmagic:modules:clobber, _module-messaging-most, _module-messaging-all, _module-ejb3x-most, _buildmagic:help:build, _buildmagic:modules:tests, modules-tests, docs-javadocs, docs-api, _buildmagic:mbean-bypass-checker, _default:compile-mbean-sources, _buildmagic:modules:main, _module-varia-most, _module-jmx-most, modules-clobber, _module-j2ee-most, _module-j2ee-all, _module-transaction-most, _buildmagic:modules:all, modules-all, check.proxy, docs-javadocs-check, docs-javadocs_1_4, set.proxy.auth, check.inhibit.downloads, set.proxy.withoutauth, set.proxy, createthirdparty, _buildmagic:modules:most, modules-most, partition-build, install, most, _buildmagic:release:zip, partition-minimal, _module-security-most, _module-security-all, _buildmagic:build-bypass-checker, bypass-jboss-all-client, jboss-all-client, _module-deployment-most, _module-naming-most, docs-todo-check, main, docs-todo, _buildmagic:build-bypass-notice, _buildmagic:build-bypass-check, _module-varia-all, _module-console-most, _module-iiop-most, _module-iiop-all, _module-jmx-all, _module-cluster-most, _buildmagic:clean, _module-system-most, _module-deployment-all, _module-management-most, _buildmagic:modules:docs, _buildmagic:clobber, _buildmagic:modules:clean, modules-clean, clean, _default:clobber, _default:compile-classes, partition-default, _module-hibernate-int-most, _module-hibernate-int-all, _module-remoting-int-most, _buildmagic:clean-internal, _module-transaction-all, _module-console-all, help, release, release-zip, _default:server-client-jars, docs, release-full, _module-naming-all, _default:compile-stylesheets, _buildmagic:help:standard, _module-tomcat-most, _module-aspects-most, _module-aspects-jdk5-all, _buildmagic:release:tar, _buildmagic:release:tgz, _default:compile-resources, _buildmagic:init:buildlog, _default:clean, _module-cluster-all, _module-server-most, _module-server-all, _default:fix-bin, _buildmagic:init:show-environment, _default:compile-checksums, _module-management-all, _default:init, rebuild, _default:compile-rmi, _module-ejb3-most, _module-ejb3-all, jmx-docs, jmx-docs-html-plain, modules-main, setup-ejb3-dist, _module-remoting-all, _buildmagic:modules:release, _default:task-init, _default:compile-test-classes, todo, clobber, thirdparty, release-tgz, release-all, modules-release, _module-system-all, javadocs, _default:compile-bin, configure-project, _module-aspects-all, _module-tomcat-all, _module-connector-most, _module-connector-all, _default:compile-web, _buildmagic:install:default, all, _module-aspects-jdk5-most, release-tar, _buildmagic:init:local-properties, _default:compile-xmbean-sources, modules-docs, _module-jaxrpc-most, _module-jaxrpc-all, _default:compile-etc, ]
configure:
Ignoring Exception java.util.zip.ZipException: error in opening zip file reading resource org/jboss/tools/buildmagic/task/util/ConditionalExecution.class from /root/jboss-4.0.5.GA-src/tools/lib/README
Ignoring Exception java.util.zip.ZipException: error in opening zip file reading resource org/jboss/tools/buildmagic/task/util/ConditionalExecution$Condition.class from /root/jboss-4.0.5.GA-src/tools/lib/README
Ignoring Exception java.util.zip.ZipException: error in opening zip file reading resource org/jboss/tools/buildmagic/task/module/ModuleConfig$Module.class from /root/jboss-4.0.5.GA-src/tools/lib/README
Ignoring Exception java.util.zip.ZipException: error in opening zip file reading resource org/jboss/tools/buildmagic/task/module/ModuleConfig$NamedElement.class from /root/jboss-4.0.5.GA-src/tools/lib/README
Ignoring Exception java.util.zip.ZipException: error in opening zip file reading resource org/jboss/tools/buildmagic/task/module/ModuleConfig$Group.class from /root/jboss-4.0.5.GA-src/tools/lib/README
Ignoring Exception java.util.zip.ZipException: error in opening zip file reading resource org/jboss/tools/buildmagic/task/module/ModuleConfig$Group$Include.class from /root/jboss-4.0.5.GA-src/tools/lib/README
Property ${single-module} has not been set
[moduleconfig] selected group: most
[moduleconfig] Module list: jmx,test,system,naming,j2ee,transaction,security,server,deployment,messaging,connector,remoting-int,jaxrpc,cluster,varia,iiop,management,console,aspects,tomcat,hibernate-int,aspects-jdk5,ejb3x,ejb3
[echo] groups: most
[echo] modules: jmx,test,system,naming,j2ee,transaction,security,server,deployment,messaging,connector,remoting-int,jaxrpc,cluster,varia,iiop,management,console,aspects,tomcat,hibernate-int,aspects-jdk5,ejb3x,ejb3
[property] Loading /root/jboss-4.0.5.GA-src/tools/etc/buildmagic/task.properties
Property ${build.classes} has not been set
[propertyfilter] Adding filters for all properties
init:
Skipped because property 'init.disable' set.
_buildmagic:modules:most:
Ignoring Exception java.util.zip.ZipException: error in opening zip file reading resource org/jboss/tools/buildmagic/task/module/ExecuteModules$ModuleBuildListener.class from /root/jboss-4.0.5.GA-src/tools/lib/README
Ignoring Exception java.util.zip.ZipException: error in opening zip file reading resource org/jboss/tools/buildmagic/task/AbstractBuildListener.class from /root/jboss-4.0.5.GA-src/tools/lib/README
Ignoring Exception java.util.zip.ZipException: error in opening zip file reading resource org/jboss/tools/buildmagic/task/module/ExecuteModules$Hook.class from /root/jboss-4.0.5.GA-src/tools/lib/README
Ignoring Exception java.util.zip.ZipException: error in opening zip file reading resource org/jboss/util/Strings.class from /root/jboss-4.0.5.GA-src/tools/lib/README
Ignoring Exception java.util.zip.ZipException: error in opening zip file reading resource org/jboss/util/NullArgumentException.class from /root/jboss-4.0.5.GA-src/tools/lib/README
Ignoring Exception java.util.zip.ZipException: error in opening zip file reading resource org/jboss/util/EmptyStringException.class from /root/jboss-4.0.5.GA-src/tools/lib/README
Ignoring Exception java.util.zip.ZipException: error in opening zip file reading resource org/jboss/util/platform/Constants.class from /root/jboss-4.0.5.GA-src/tools/lib/README
Ignoring Exception java.util.zip.ZipException: error in opening zip file reading resource org/jboss/util/property/Property.class from /root/jboss-4.0.5.GA-src/tools/lib/README
Ignoring Exception java.util.zip.ZipException: error in opening zip file reading resource org/jboss/util/property/PropertyManager.class from /root/jboss-4.0.5.GA-src/tools/lib/README
Ignoring Exception java.util.zip.ZipException: error in opening zip file reading resource org/jboss/util/property/PropertyMap.class from /root/jboss-4.0.5.GA-src/tools/lib/README
Ignoring Exception java.util.zip.ZipException: error in opening zip file reading resource org/jboss/util/property/PropertyReader.class from /root/jboss-4.0.5.GA-src/tools/lib/README
Ignoring Exception java.util.zip.ZipException: error in opening zip file reading resource org/jboss/util/property/PropertyException.class from /root/jboss-4.0.5.GA-src/tools/lib/README
Ignoring Exception java.util.zip.ZipException: error in opening zip file reading resource org/jboss/util/NestedRuntimeException.class from /root/jboss-4.0.5.GA-src/tools/lib/README
Ignoring Exception java.util.zip.ZipException: error in opening zip file reading resource org/jboss/util/NestedThrowable.class from /root/jboss-4.0.5.GA-src/tools/lib/README
Ignoring Exception java.util.zip.ZipException: error in opening zip file reading resource org/jboss/util/property/PropertyEvent.class from /root/jboss-4.0.5.GA-src/tools/lib/README
Ignoring Exception java.util.zip.ZipException: error in opening zip file reading resource org/jboss/util/property/DefaultPropertyReader.class from /root/jboss-4.0.5.GA-src/tools/lib/README
Ignoring Exception java.util.zip.ZipException: error in opening zip file reading resource org/jboss/util/property/FilePropertyReader.class from /root/jboss-4.0.5.GA-src/tools/lib/README
Ignoring Exception java.util.zip.ZipException: error in opening zip file reading resource org/jboss/util/CoercionException.class from /root/jboss-4.0.5.GA-src/tools/lib/README
Ignoring Exception java.util.zip.ZipException: error in opening zip file reading resource org/jboss/util/Objects.class from /root/jboss-4.0.5.GA-src/tools/lib/README
Ignoring Exception java.util.zip.ZipException: error in opening zip file reading resource org/jboss/util/NotCoercibleException.class from /root/jboss-4.0.5.GA-src/tools/lib/README
[execmodules] module root: /root/jboss-4.0.5.GA-src/jmx
[execmodules] using target: most
[execmodules] executing hooks
[execmodules] skipping missing hook: _module-jmx-most-prepare
[execmodules] Exported property version.major=4
[execmodules] Exported property version.minor=0
[execmodules] Exported property version.revision=5
[execmodules] Exported property version.tag=GA
[execmodules] Exported property version.name=Zion
[execmodules] Exported property version.cvstag=Branch_4_0
[execmodules] Exported property specification.title=JBoss
[execmodules] Exported property specification.version=4.0.5.GA
[execmodules] Exported property specification.vendor=JBoss (http://www.jboss.org/)
[execmodules] Exported property implementation.title=JBoss [Zion]
[execmodules] Exported property implementation.version=4.0.5.GA (build: CVSTag=Branch_4_0 date=200612240655)
[execmodules] Exported property implementation.vendor=JBoss.org
[execmodules] Exported property implementation.vendor.id=http://www.jboss.org/
[execmodules] Exported property implementation.url=http://www.jboss.org/
Ignoring Exception java.util.zip.ZipException: error in opening zip file reading resource org/jboss/tools/buildmagic/task/module/ExecuteModules$1.class from /root/jboss-4.0.5.GA-src/tools/lib/README
======================================================================
== Executing 'most' in module 'jmx'...
==
[execmodules] Executing /root/jboss-4.0.5.GA-src/jmx in module 'jmx'...
Project base dir set to: /root/jboss-4.0.5.GA-src/jmx
parsing buildfile /root/jboss-4.0.5.GA-src/jmx/build.xml with URI = file:///root/jboss-4.0.5.GA-src/jmx/build.xml
Project base dir set to: /root/jboss-4.0.5.GA-src/jmx
resolving systemId: file:///root/jboss-4.0.5.GA-src/tools/etc/buildmagic/buildmagic.ent
resolving systemId: file:///root/jboss-4.0.5.GA-src/thirdparty/libraries.ent
resolving systemId: file:///root/jboss-4.0.5.GA-src/tools/etc/buildmagic/modules.ent
Build sequence for target(s) `most' is [_buildmagic:init, init, _buildmagic:build-bypass-checker, _buildmagic:build-bypass-notice, _buildmagic:build-bypass-check, output, _default:most, most]
Complete build sequence is [_buildmagic:init, init, _buildmagic:build-bypass-checker, _buildmagic:build-bypass-notice, _buildmagic:build-bypass-check, output, _default:most, most, _buildmagic:modules:clobber, test-stress-RI, test-compliance-full-RI, test-compliance-full-JBossMX, test-compliance-full, _buildmagic:help:build, docs-javadocs, docs-api, _buildmagic:mbean-bypass-checker, _default:compile-mbean-sources, _buildmagic:modules:main, compile-resources, docs-javadocs-check, docs-javadocs_1_4, test-implementation, _buildmagic:release:zip, docs, _default:all, docs-todo-check, docs-todo, main, test-compliance-RI, test-compliance-JBossMX, test-compliance, test-performance-RI, test-performance-JBossMX, test-performance, test-serialization-1.0, test-serialization-latest, test-serialization, test-stress-JBossMX, test-stress, test-all, _buildmagic:clean, _buildmagic:modules:docs, _buildmagic:clobber, _default:clean, clean, _default:clobber, _default:compile-classes, _buildmagic:modules:clean, _buildmagic:clean-internal, _buildmagic:modules:tests, _buildmagic:help:standard, _default:help, help, _default:server-client-jars, _default:compile-stylesheets, _buildmagic:release:tar, _buildmagic:release:tgz, _default:compile-resources, _buildmagic:init:buildlog, _buildmagic:modules:all, _default:fix-bin, _buildmagic:init:show-environment, _default:compile-checksums, _default:init, rebuild, _default:compile-rmi, compile-mbean-sources, compile-classes, _default:compile-etc, compile, jmx-docs, jmx-docs-html-plain, configure, _buildmagic:modules:release, _default:task-init, _default:compile-test-classes, todo, tests, clobber, javadocs, _default:compile-bin, configure-project, _default:compile-web, _buildmagic:install:default, all, _buildmagic:init:local-properties, _default:compile-xmbean-sources, _buildmagic:modules:most, test-compliance-JBossMX-RI, ]
_buildmagic:init:
[property] Loading /root/jboss-4.0.5.GA-src/jmx/local.properties
[property] Unable to find property file: /root/jboss-4.0.5.GA-src/jmx/local.properties
Ignoring Exception java.util.zip.ZipException: error in opening zip file reading resource org/jboss/tools/buildmagic/task/config/LibrarySet.class from /root/jboss-4.0.5.GA-src/tools/lib/README
Ignoring Exception java.util.zip.ZipException: error in opening zip file reading resource org/jboss/tools/buildmagic/task/MissingAttributeException.class from /root/jboss-4.0.5.GA-src/tools/lib/README
Trying to override old definition of task libraryset
Ignoring Exception java.util.zip.ZipException: error in opening zip file reading resource org/jboss/tools/buildmagic/task/module/ExecuteModules.class from /root/jboss-4.0.5.GA-src/tools/lib/README
Ignoring Exception java.util.zip.ZipException: error in opening zip file reading resource org/jboss/tools/buildmagic/task/module/ExecuteModules$MyEcho.class from /root/jboss-4.0.5.GA-src/tools/lib/README
Trying to override old definition of task execmodules
Ignoring Exception java.util.zip.ZipException: error in opening zip file reading resource org/jboss/tools/buildmagic/task/ResolveProperties.class from /root/jboss-4.0.5.GA-src/tools/lib/README
Trying to override old definition of task resolveproperties
Trying to override old definition of task resolver
Ignoring Exception java.util.zip.ZipException: error in opening zip file reading resource org/jboss/tools/buildmagic/task/Require.class from /root/jboss-4.0.5.GA-src/tools/lib/README
Trying to override old definition of task require
Ignoring Exception java.util.zip.ZipException: error in opening zip file reading resource org/jboss/tools/buildmagic/task/util/Dump.class from /root/jboss-4.0.5.GA-src/tools/lib/README
Trying to override old definition of task _dump
Ignoring Exception java.util.zip.ZipException: error in opening zip file reading resource org/jboss/tools/buildmagic/task/util/Puke.class from /root/jboss-4.0.5.GA-src/tools/lib/README
Trying to override old definition of task _puke
Ignoring Exception java.util.zip.ZipException: error in opening zip file reading resource org/jboss/tools/buildmagic/task/module/ModuleInit.class from /root/jboss-4.0.5.GA-src/tools/lib/README
Trying to override old definition of task moduleinit
Ignoring Exception java.util.zip.ZipException: error in opening zip file reading resource org/jboss/tools/buildmagic/task/module/ModuleConfig.class from /root/jboss-4.0.5.GA-src/tools/lib/README
Ignoring Exception java.util.zip.ZipException: error in opening zip file reading resource org/jboss/tools/buildmagic/task/MissingElementException.class from /root/jboss-4.0.5.GA-src/tools/lib/README
Trying to override old definition of task moduleconfig
Ignoring Exception java.util.zip.ZipException: error in opening zip file reading resource org/jboss/tools/buildmagic/task/config/ModuleLibrary.class from /root/jboss-4.0.5.GA-src/tools/lib/README
Ignoring Exception java.util.zip.ZipException: error in opening zip file reading resource org/jboss/tools/buildmagic/task/config/Library.class from /root/jboss-4.0.5.GA-src/tools/lib/README
Trying to override old definition of task modulelibrary
Ignoring Exception java.util.zip.ZipException: error in opening zip file reading resource org/jboss/tools/buildmagic/task/module/ProjectInfo.class from /root/jboss-4.0.5.GA-src/tools/lib/README
Ignoring Exception java.util.zip.ZipException: error in opening zip file reading resource org/jboss/tools/buildmagic/task/module/AbstractInfo.class from /root/jboss-4.0.5.GA-src/tools/lib/README
Trying to override old definition of task projectinfo
Trying to override old definition of task library
Ignoring Exception java.util.zip.ZipException: error in opening zip file reading resource org/jboss/tools/buildmagic/task/Ant.class from /root/jboss-4.0.5.GA-src/tools/lib/README
Trying to override old definition of task Ant
Ignoring Exception java.util.zip.ZipException: error in opening zip file reading resource org/jboss/tools/buildmagic/task/module/ModuleInfo.class from /root/jboss-4.0.5.GA-src/tools/lib/README
Trying to override old definition of task moduleinfo
Ignoring Exception java.util.zip.ZipException: error in opening zip file reading resource org/jboss/tools/buildmagic/task/ProjectHelp.class from /root/jboss-4.0.5.GA-src/tools/lib/README
Trying to override old definition of task projecthelp
Ignoring Exception java.util.zip.ZipException: error in opening zip file reading resource org/jboss/tools/buildmagic/task/PropertyFilter.class from /root/jboss-4.0.5.GA-src/tools/lib/README
Trying to override old definition of task propertyfilter
Ignoring Exception java.util.zip.ZipException: error in opening zip file reading resource org/jboss/tools/buildmagic/task/CallTarget.class from /root/jboss-4.0.5.GA-src/tools/lib/README
Trying to override old definition of task call
Ignoring Exception java.util.zip.ZipException: error in opening zip file reading resource org/jboss/tools/buildmagic/task/Property.class from /root/jboss-4.0.5.GA-src/tools/lib/README
Trying to override old definition of task property
Ignoring Exception java.util.zip.ZipException: error in opening zip file reading resource org/jboss/tools/buildmagic/task/util/TaskLogger.class from /root/jboss-4.0.5.GA-src/tools/lib/README
Ignoring Exception java.util.zip.ZipException: error in opening zip file reading resource org/jboss/tools/buildmagic/task/FindRoot.class from /root/jboss-4.0.5.GA-src/tools/lib/README
Ignoring Exception java.util.zip.ZipException: error in opening zip file reading resource org/jboss/tools/buildmagic/task/Property$Element.class from /root/jboss-4.0.5.GA-src/tools/lib/README
[property] Loading /root/jboss-4.0.5.GA-src/build/local.properties
[property] Loading /root/.buildmagic.properties
[property] Unable to find property file: /root/.buildmagic.properties
[property] Loading /root/.ant.properties
[property] Unable to find property file: /root/.ant.properties
Ignoring Exception java.util.zip.ZipException: error in opening zip file reading resource org/jboss/tools/buildmagic/task/util/TaskLogger.class from /root/jboss-4.0.5.GA-src/tools/lib/README
[available] Unable to find etc/local.properties-example
[property] Loading /root/jboss-4.0.5.GA-src/tools/etc/buildmagic/common.properties
Build sequence for target(s) `configure' is [configure]
Complete build sequence is [configure, _buildmagic:init, init, _buildmagic:modules:clobber, _buildmagic:build-bypass-checker, _buildmagic:build-bypass-notice, _buildmagic:build-bypass-check, output, test-stress-RI, test-compliance-full-RI, test-compliance-full-JBossMX, test-compliance-full, _buildmagic:help:build, docs-javadocs, docs-api, _buildmagic:mbean-bypass-checker, _default:compile-mbean-sources, _buildmagic:modules:main, compile-resources, docs-javadocs-check, docs-javadocs_1_4, _default:most, most, test-implementation, _buildmagic:release:zip, docs, _default:all, docs-todo-check, docs-todo, main, test-compliance-RI, test-compliance-JBossMX, test-compliance, test-performance-RI, test-performance-JBossMX, test-performance, test-serialization-1.0, test-serialization-latest, test-serialization, test-stress-JBossMX, test-stress, test-all, _buildmagic:clean, _buildmagic:modules:docs, _buildmagic:clobber, _default:clean, clean, _default:clobber, _default:compile-classes, _buildmagic:modules:clean, _buildmagic:clean-internal, _buildmagic:modules:tests, _buildmagic:help:standard, _default:help, help, _default:server-client-jars, _default:compile-stylesheets, _buildmagic:release:tar, _buildmagic:release:tgz, _default:compile-resources, _buildmagic:init:buildlog, _buildmagic:modules:all, _default:fix-bin, _buildmagic:init:show-environment, _default:compile-checksums, _default:init, rebuild, _default:compile-rmi, compile-mbean-sources, compile-classes, _default:compile-etc, compile, jmx-docs, jmx-docs-html-plain, _buildmagic:modules:release, _default:task-init, _default:compile-test-classes, todo, tests, clobber, javadocs, _default:compile-bin, configure-project, _default:compile-web, _buildmagic:install:default, all, _buildmagic:init:local-properties, _default:compile-xmbean-sources, _buildmagic:modules:most, test-compliance-JBossMX-RI, ]
configure:
Property ${xml-sax.classpath} has not been set
Property ${classpath} has not been set
Property ${local.classpath} has not been set
Overriding previous definition of reference to xdoclet.task.classpath
[property] Loading /root/jboss-4.0.5.GA-src/tools/etc/buildmagic/task.properties
[propertyfilter] Adding filters for all properties
init:
Skipped because property 'init.disable' set.
_buildmagic:build-bypass-checker:
[uptodate] The targetfile "/root/jboss-4.0.5.GA-src/jmx/output/build-marker" does not exist.
_buildmagic:build-bypass-notice:
Skipped because property 'build-bypass.on' not set.
_buildmagic:build-bypass-check:
output:
Build sequence for target(s) `compile' is [_buildmagic:init, init, compile-mbean-sources, _default:compile-classes, compile-classes, _default:compile-etc, compile-resources, compile]
Complete build sequence is [_buildmagic:init, init, compile-mbean-sources, _default:compile-classes, compile-classes, _default:compile-etc, compile-resources, compile, _buildmagic:modules:clobber, _buildmagic:build-bypass-checker, _buildmagic:build-bypass-notice, _buildmagic:build-bypass-check, output, test-stress-RI, test-compliance-full-RI, test-compliance-full-JBossMX, test-compliance-full, _buildmagic:help:build, docs-javadocs, docs-api, _buildmagic:mbean-bypass-checker, _default:compile-mbean-sources, _buildmagic:modules:main, docs-javadocs-check, docs-javadocs_1_4, _default:most, most, test-implementation, _buildmagic:release:zip, docs, _default:all, docs-todo-check, docs-todo, main, test-compliance-RI, test-compliance-JBossMX, test-compliance, test-performance-RI, test-performance-JBossMX, test-performance, test-serialization-1.0, test-serialization-latest, test-serialization, test-stress-JBossMX, test-stress, test-all, _buildmagic:clean, _buildmagic:modules:docs, _buildmagic:clobber, _default:clean, clean, _default:clobber, _buildmagic:modules:clean, _buildmagic:clean-internal, _buildmagic:modules:tests, _buildmagic:help:standard, _default:help, help, _default:server-client-jars, _default:compile-stylesheets, _buildmagic:release:tar, _buildmagic:release:tgz, _default:compile-resources, _buildmagic:init:buildlog, _buildmagic:modules:all, _default:fix-bin, _buildmagic:init:show-environment, _default:compile-checksums, _default:init, rebuild, _default:compile-rmi, jmx-docs, jmx-docs-html-plain, configure, _buildmagic:modules:release, _default:task-init, _default:compile-test-classes, todo, tests, clobber, javadocs, _default:compile-bin, configure-project, _default:compile-web, _buildmagic:install:default, all, _buildmagic:init:local-properties, _default:compile-xmbean-sources, _buildmagic:modules:most, test-compliance-JBossMX-RI, ]
_buildmagic:init:
Skipped because property 'init.disable' set.
init:
Skipped because property 'init.disable' set.
compile-mbean-sources:
dropping /root/jboss-4.0.5.GA-src/jmx/${classpath} from path as it doesn't exist
dropping /root/jboss-4.0.5.GA-src/jmx/${local.classpath} from path as it doesn't exist
dropping /root/jboss-4.0.5.GA-src/jmx/${xml-sax.classpath} from path as it doesn't exist
dropping /root/jboss-4.0.5.GA-src/thirdparty/apache-lang/lib/commons-lang-1.0.jar from path as it doesn't exist
_default:compile-classes:
BUILD FAILED
/root/jboss-4.0.5.GA-src/tools/etc/buildmagic/buildmagic.ent:418: Could not create task or type of type: depend.
Ant could not find the task or a class this task relies upon.
This is common and has a number of causes; the usual
solutions are to read the manual pages then download and
install needed JAR files, or fix the build file:
- You have misspelt 'depend'.
Fix: check your spelling.
- The task needs an external JAR file to execute
and this is not found at the right place in the classpath.
Fix: check the documentation for dependencies.
Fix: declare the task.
- The task is an Ant optional task and the JAR file and/or libraries
implementing the functionality were not found at the time you
yourself built your installation of Ant from the Ant sources.
Fix: Look in the ANT_HOME/lib for the 'ant-' JAR corresponding to the
task and make sure it contains more than merely a META-INF/MANIFEST.MF.
If all it contains is the manifest, then rebuild Ant with the needed
libraries present in ${ant.home}/lib/optional/ , or alternatively,
download a pre-built release version from apache.org
- The build file was written for a later version of Ant
Fix: upgrade to at least the latest release version of Ant
- The task is not an Ant core or optional task
and needs to be declared using .
- You are attempting to use a task defined using
or but have spelt wrong or not
defined it at the point of use
Remember that for JAR files to be visible to Ant tasks implemented
in ANT_HOME/lib, the files must be in the same directory or on the
classpath
Please neither file bug reports on this problem, nor email the
Ant mailing lists, until all of these causes have been explored,
as this is not an Ant bug.
at org.apache.tools.ant.UnknownElement.getNotFoundException(UnknownElement.java:493)
at org.apache.tools.ant.UnknownElement.makeObject(UnknownElement.java:391)
at org.apache.tools.ant.UnknownElement.maybeConfigure(UnknownElement.java:158)
at org.apache.tools.ant.Task.perform(Task.java:363)
at org.apache.tools.ant.Target.execute(Target.java:341)
at org.apache.tools.ant.Target.performTasks(Target.java:369)
at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)
at org.apache.tools.ant.Project.executeTarget(Project.java:1185)
at org.jboss.tools.buildmagic.task.CallTarget.execute(CallTarget.java:141)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
at org.apache.tools.ant.Task.perform(Task.java:364)
at org.apache.tools.ant.Target.execute(Target.java:341)
at org.apache.tools.ant.Target.performTasks(Target.java:369)
at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)
at org.apache.tools.ant.Project.executeTarget(Project.java:1185)
at org.jboss.tools.buildmagic.task.Ant.execute(Ant.java:261)
at org.jboss.tools.buildmagic.task.module.ExecuteModules$1.run(ExecuteModules.java:361)
at org.jboss.tools.buildmagic.task.module.ExecuteModules.executeModule(ExecuteModules.java:376)
at org.jboss.tools.buildmagic.task.module.ExecuteModules.execute(ExecuteModules.java:241)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
at org.apache.tools.ant.Task.perform(Task.java:364)
at org.apache.tools.ant.Target.execute(Target.java:341)
at org.apache.tools.ant.Target.performTasks(Target.java:369)
at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)
at org.apache.tools.ant.Project.executeTarget(Project.java:1185)
at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:40)
at org.apache.tools.ant.Project.executeTargets(Project.java:1068)
at org.apache.tools.ant.Main.runBuild(Main.java:668)
at org.apache.tools.ant.Main.startAnt(Main.java:187)
at org.apache.tools.ant.launch.Launcher.run(Launcher.java:246)
at org.apache.tools.ant.launch.Launcher.main(Launcher.java:67)
Total time: 2 seconds
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3996045#3996045
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3996045
19 years, 7 months
[Persistence, JBoss/CMP, Hibernate, Database] - hbm2ddl fails for build in HSQLDB
by jrosskopf
Hello,
I have a couple of EJB3 EntityBeans deploying perfectly on a postgresql datasource. But for development purposes I want to deploy them on an hsql datasource. But there goes something wrong.
Here is my datasource.
| <local-tx-datasource>
| <jndi-name>youRuleLocalDs</jndi-name>
| <connection-url>jdbc:hsqldb:.</connection-url>
| <driver-class>org.hsqldb.jdbcDriver</driver-class>
| <user-name>sa</user-name>
| <password></password>
| <metadata>
| <type-mapping>Hypersonic SQL</type-mapping>
| </metadata>
| </local-tx-datasource>
|
When SchemaExport tries to generate the db-schema I get the following exception:
| 20:23:48,186 INFO [SchemaExport] Running hbm2ddl schema export
| 20:23:48,186 INFO [SchemaExport] exporting generated schema to database
| 20:23:48,196 ERROR [SchemaExport] Unsuccessful: create table AccountAttribute (gid int8 not null, name varchar(255), value bytea, primary key (gid))
| 20:23:48,196 ERROR [SchemaExport] Wrong data type: INT8 in statement [create table AccountAttribute (gid int8]
| 20:23:48,196 ERROR [SchemaExport] Unsuccessful: create table Content (gid int8 not null, mime varchar(255), CData oid, primary key (gid))
| 20:23:48,196 ERROR [SchemaExport] Wrong data type: INT8 in statement [create table Content (gid int8]
| 20:23:48,206 ERROR [SchemaExport] Unsuccessful: create table DateAttribute (gid int8 not null, name varchar(255), value timestamp, primary key (gid))
| 20:23:48,206 ERROR [SchemaExport] Wrong data type: INT8 in statement [create table DateAttribute (gid int8]
| 20:23:48,206 ERROR [SchemaExport] Unsuccessful: create table FloatAttribute (gid int8 not null, name varchar(255), floatValue float8, primary key (gid
| ))
| 20:23:48,206 ERROR [SchemaExport] Wrong data type: INT8 in statement [create table FloatAttribute (gid int8]
| 20:23:48,206 ERROR [SchemaExport] Unsuccessful: create table IntAttribute (gid int8 not null, name varchar(255), intValue int4, primary key (gid))
| 20:23:48,206 ERROR [SchemaExport] Wrong data type: INT8 in statement [create table IntAttribute (gid int8]
| 20:23:48,206 ERROR [SchemaExport] Unsuccessful: create table Item (gid int8 not null, pubDate timestamp, description_gid int8, primary key (gid))
| 20:23:48,206 ERROR [SchemaExport] Wrong data type: INT8 in statement [create table Item (gid int8]
| 20:23:48,206 ERROR [SchemaExport] Unsuccessful: create table ItemDescription (gid int8 not null, primary key (gid))
| 20:23:48,206 ERROR [SchemaExport] Wrong data type: INT8 in statement [create table ItemDescription (gid int8]
| 20:23:48,206 ERROR [SchemaExport] Unsuccessful: create table Item_Content (Item_gid int8 not null, contents_gid int8 not null, unique (contents_gid))
| 20:23:48,206 ERROR [SchemaExport] Wrong data type: INT8 in statement [create table Item_Content (Item_gid int8]
| 20:23:48,206 ERROR [SchemaExport] Unsuccessful: create table Item_Tag (items_gid int8 not null, tags_gid int8 not null)
| 20:23:48,206 ERROR [SchemaExport] Wrong data type: INT8 in statement [create table Item_Tag (items_gid int8]
| 20:23:48,206 ERROR [SchemaExport] Unsuccessful: create table PlaceMark (gid int8 not null, name varchar(255), range float8, heading float8, latitude f
| loat8, longitude float8, tilt float8, x float8, y float8, z float8, visibibilty bool not null, primary key (gid))
| 20:23:48,206 ERROR [SchemaExport] Wrong data type: INT8 in statement [create table PlaceMark (gid int8]
| 20:23:48,206 ERROR [SchemaExport] Unsuccessful: create table Tag (gid int8 not null, name varchar(255), primary key (gid))
| 20:23:48,206 ERROR [SchemaExport] Wrong data type: INT8 in statement [create table Tag (gid int8]
| 20:23:48,206 ERROR [SchemaExport] Unsuccessful: create table TextAttribute (gid int8 not null, name varchar(255), textValue varchar(255), primary key
| (gid))
| 20:23:48,206 ERROR [SchemaExport] Wrong data type: INT8 in statement [create table TextAttribute (gid int8]
| 20:23:48,206 ERROR [SchemaExport] Unsuccessful: alter table Item add constraint FK22EF3384593C43 foreign key (description_gid) references ItemDescript
| ion
| 20:23:48,206 ERROR [SchemaExport] Table not found: ITEM in statement [alter table Item]
| 20:23:48,206 ERROR [SchemaExport] Unsuccessful: alter table Item_Content add constraint FK53E57F4DA5EB5E2E foreign key (Item_gid) references Item
| 20:23:48,206 ERROR [SchemaExport] Table not found: ITEM_CONTENT in statement [alter table Item_Content]
| 20:23:48,206 ERROR [SchemaExport] Unsuccessful: alter table Item_Content add constraint FK53E57F4D5222FCF1 foreign key (contents_gid) references Conte
| nt
| 20:23:48,206 ERROR [SchemaExport] Table not found: ITEM_CONTENT in statement [alter table Item_Content]
| 20:23:48,206 ERROR [SchemaExport] Unsuccessful: alter table Item_Tag add constraint FK4A0E946EE127AC5B foreign key (items_gid) references Item
| 20:23:48,206 ERROR [SchemaExport] Table not found: ITEM_TAG in statement [alter table Item_Tag]
| 20:23:48,206 INFO [SchemaExport] Executing import script: /import.sql
| 20:23:48,206 ERROR [SchemaExport] schema export unsuccessful
| org.hibernate.JDBCException: Error during import script execution
| at org.hibernate.tool.hbm2ddl.SchemaExport.importScript(SchemaExport.java:258)
| at org.hibernate.tool.hbm2ddl.SchemaExport.execute(SchemaExport.java:192)
| at org.hibernate.tool.hbm2ddl.SchemaExport.create(SchemaExport.java:133)
| at org.hibernate.impl.SessionFactoryImpl.<init>(SessionFactoryImpl.java:311)
| at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1218)
| at org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Configuration.java:691)
| at org.hibernate.ejb.HibernatePersistence.createContainerEntityManagerFactory(HibernatePersistence.java:127)
| at org.jboss.ejb3.entity.PersistenceUnitDeployment.start(PersistenceUnitDeployment.java:264)
| at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
| at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| at java.lang.reflect.Method.invoke(Method.java:585)
| at org.jboss.ejb3.ServiceDelegateWrapper.startService(ServiceDelegateWrapper.java:102)
| at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
| at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
| at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| at java.lang.reflect.Method.invoke(Method.java:585)
| at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
| at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
| at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
| at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
| at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
| at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978)
| at $Proxy0.start(Unknown Source)
| at org.jboss.system.ServiceController.start(ServiceController.java:417)
| at sun.reflect.GeneratedMethodAccessor5.invoke(Unknown Source)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| at java.lang.reflect.Method.invoke(Method.java:585)
| at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
| at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
| at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
| at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
| at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
| at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
| at $Proxy240.start(Unknown Source)
| at org.jboss.ejb3.JmxKernelAbstraction.install(JmxKernelAbstraction.java:96)
| at org.jboss.ejb3.Ejb3Deployment.startPersistenceUnits(Ejb3Deployment.java:467)
| at org.jboss.ejb3.Ejb3Deployment.start(Ejb3Deployment.java:317)
| at org.jboss.ejb3.Ejb3Module.startService(Ejb3Module.java:91)
| at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
| at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
| at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| at java.lang.reflect.Method.invoke(Method.java:585)
| at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
| at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
| at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
| at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
| at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
| at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978)
| at $Proxy0.start(Unknown Source)
| at org.jboss.system.ServiceController.start(ServiceController.java:417)
| at sun.reflect.GeneratedMethodAccessor5.invoke(Unknown Source)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| at java.lang.reflect.Method.invoke(Method.java:585)
| at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
| at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
| at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
| at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
| at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
| at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
| at $Proxy28.start(Unknown Source)
| at org.jboss.ejb3.EJB3Deployer.start(EJB3Deployer.java:449)
| at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
| at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| at java.lang.reflect.Method.invoke(Method.java:585)
| at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
| at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
| at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
| at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
| at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
| at org.jboss.mx.interceptor.DynamicInterceptor.invoke(DynamicInterceptor.java:97)
| at org.jboss.system.InterceptorServiceMBeanSupport.invokeNext(InterceptorServiceMBeanSupport.java:238)
| at org.jboss.ws.integration.jboss.DeployerInterceptor.start(DeployerInterceptor.java:92)
| at org.jboss.deployment.SubDeployerInterceptorSupport$XMBeanInterceptor.start(SubDeployerInterceptorSupport.java:188)
| at org.jboss.deployment.SubDeployerInterceptor.invoke(SubDeployerInterceptor.java:95)
| at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
| at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
| at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
| at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
| at $Proxy29.start(Unknown Source)
| at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1025)
| at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1015)
| at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:819)
| at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782)
| at sun.reflect.GeneratedMethodAccessor13.invoke(Unknown Source)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| at java.lang.reflect.Method.invoke(Method.java:585)
| at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
| at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
| at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
| at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
| at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
| at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
| at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
| at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
| at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
| at $Proxy6.deploy(Unknown Source)
| at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:421)
| at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:634)
| at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:263)
| at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.loop(AbstractDeploymentScanner.java:274)
| at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.run(AbstractDeploymentScanner.java:225)
| Caused by: java.sql.SQLException: Table not found in statement [INSERT INTO public.placemark]
| at org.hsqldb.jdbc.Util.sqlException(Unknown Source)
| at org.hsqldb.jdbc.jdbcStatement.fetchResult(Unknown Source)
| at org.hsqldb.jdbc.jdbcStatement.execute(Unknown Source)
| at org.jboss.resource.adapter.jdbc.WrappedStatement.execute(WrappedStatement.java:84)
| at org.hibernate.tool.hbm2ddl.SchemaExport.importScript(SchemaExport.java:254)
| ... 104 more
|
Can anybody give me a hint how to fix this issue.
Regards
---
Joachim
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3996038#3996038
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3996038
19 years, 7 months
[EJB/JBoss] - CMP EJB Issue when connect to SQL Server
by Kentzhou
Hi, I run Todo example for CMP EJB from book JBOSS: A Developer notebook. I used SQL Server for this application.
After config JBOSS AS, it is okay for JDBC, but when I start AS, I got the error as below. Pleas help to solve this issue:
......
2006-12-23 12:43:49,198 DEBUG [org.jboss.ejb.EjbModule] Starting failed jboss.j2ee:service=EjbModule,module=todo.jar
org.jboss.deployment.DeploymentException: Error while creating table Task; - nested throwable: (java.sql.SQLException: [Microsoft][SQLServer 2000 Driver for JDBC][SQLServer]Incorrect syntax near the keyword 'user'.)
at org.jboss.ejb.plugins.cmp.jdbc.JDBCStartCommand.createTable(JDBCStartCommand.java:613)
at org.jboss.ejb.plugins.cmp.jdbc.JDBCStartCommand.execute(JDBCStartCommand.java:210)
at org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.startStoreManager(JDBCStoreManager.java:499)
at org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.start(JDBCStoreManager.java:396)
at org.jboss.ejb.plugins.CMPPersistenceManager.start(CMPPersistenceManager.java:172)
at org.jboss.ejb.EjbModule.startService(EjbModule.java:414)
at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978)
at $Proxy0.start(Unknown Source)
at org.jboss.system.ServiceController.start(ServiceController.java:417)
at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
at $Proxy23.start(Unknown Source)
at org.jboss.ejb.EJBDeployer.start(EJBDeployer.java:662)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
at org.jboss.mx.interceptor.DynamicInterceptor.invoke(DynamicInterceptor.java:97)
at org.jboss.system.InterceptorServiceMBeanSupport.invokeNext(InterceptorServiceMBeanSupport.java:238)
at org.jboss.ws.integration.jboss.DeployerInterceptor.start(DeployerInterceptor.java:92)
at org.jboss.deployment.SubDeployerInterceptorSupport$XMBeanInterceptor.start(SubDeployerInterceptorSupport.java:188)
at org.jboss.deployment.SubDeployerInterceptor.invoke(SubDeployerInterceptor.java:95)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
at $Proxy24.start(Unknown Source)
at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1025)
at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1015)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:819)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782)
at sun.reflect.GeneratedMethodAccessor12.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
at $Proxy6.deploy(Unknown Source)
at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:421)
at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:634)
at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:263)
at org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(AbstractDeploymentScanner.java:336)
at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978)
at $Proxy0.start(Unknown Source)
at org.jboss.system.ServiceController.start(ServiceController.java:417)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
at $Proxy4.start(Unknown Source)
at org.jboss.deployment.SARDeployer.start(SARDeployer.java:302)
at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1025)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:819)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:766)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
at $Proxy5.deploy(Unknown Source)
at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:482)
at org.jboss.system.server.ServerImpl.start(ServerImpl.java:362)
at org.jboss.Main.boot(Main.java:200)
at org.jboss.Main$1.run(Main.java:490)
at java.lang.Thread.run(Thread.java:595)
Caused by: java.sql.SQLException: [Microsoft][SQLServer 2000 Driver for JDBC][SQLServer]Incorrect syntax near the keyword 'user'.
at com.microsoft.jdbc.base.BaseExceptions.createException(Unknown Source)
at com.microsoft.jdbc.base.BaseExceptions.getException(Unknown Source)
at com.microsoft.jdbc.sqlserver.tds.TDSRequest.processErrorToken(Unknown Source)
at com.microsoft.jdbc.sqlserver.tds.TDSRequest.processReplyToken(Unknown Source)
at com.microsoft.jdbc.sqlserver.tds.TDSExecuteRequest.processReplyToken(Unknown Source)
at com.microsoft.jdbc.sqlserver.tds.TDSRequest.processReply(Unknown Source)
at com.microsoft.jdbc.sqlserver.SQLServerImplStatement.getNextResultType(Unknown Source)
at com.microsoft.jdbc.base.BaseStatement.commonTransitionToState(Unknown Source)
at com.microsoft.jdbc.base.BaseStatement.postImplExecute(Unknown Source)
at com.microsoft.jdbc.base.BaseStatement.commonExecute(Unknown Source)
at com.microsoft.jdbc.base.BaseStatement.executeUpdateInternal(Unknown Source)
at com.microsoft.jdbc.base.BaseStatement.executeUpdate(Unknown Source)
at org.jboss.resource.adapter.jdbc.WrappedStatement.executeUpdate(WrappedStatement.java:186)
at org.jboss.ejb.plugins.cmp.jdbc.JDBCStartCommand.createTable(JDBCStartCommand.java:600)
... 119 more
.....
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3996030#3996030
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3996030
19 years, 7 months
[Installation, Configuration & Deployment] - Re: build jboss source
by Steve++
I'm also getting build errors, but with version 4.0.5.GA:
[steve@localhost build]$ ./build.sh
Searching for build.xml ...
Buildfile: /home/steve/jboss-4.0.5.GA-src/build/build.xml
check.inhibit.downloads:
check.proxy:
set.proxy.withoutauth:
set.proxy.auth:
set.proxy:
createthirdparty:
_buildmagic:init:
Trying to override old definition of task property
_buildmagic:init:local-properties:
_buildmagic:init:buildlog:
configure:
[echo] groups: most
[echo] modules: jmx,test,system,naming,j2ee,transaction,security,server,deployment,messaging,connector,remoting-int,jaxrpc,cluster,varia,iiop,management,console,aspects,tomcat,hibernate-int,aspects-jdk5,ejb3x,ejb3
init:
_buildmagic:modules:most:
======================================================================
== Executing 'most' in module 'jmx'...
==
_buildmagic:init:
Trying to override old definition of task libraryset
Trying to override old definition of task execmodules
Trying to override old definition of task resolveproperties
Trying to override old definition of task resolver
Trying to override old definition of task require
Trying to override old definition of task _dump
Trying to override old definition of task _puke
Trying to override old definition of task moduleinit
Trying to override old definition of task moduleconfig
Trying to override old definition of task modulelibrary
Trying to override old definition of task projectinfo
Trying to override old definition of task library
Trying to override old definition of task Ant
Trying to override old definition of task moduleinfo
Trying to override old definition of task projecthelp
Trying to override old definition of task propertyfilter
Trying to override old definition of task call
Trying to override old definition of task property
configure:
Overriding previous definition of reference to xdoclet.task.classpath
init:
_buildmagic:build-bypass-checker:
_buildmagic:build-bypass-notice:
_buildmagic:build-bypass-check:
output:
_buildmagic:init:
init:
compile-mbean-sources:
_default:compile-classes:
BUILD FAILED
/home/steve/jboss-4.0.5.GA-src/tools/etc/buildmagic/buildmagic.ent:418: Could not create task or type of type: depend.
Ant could not find the task or a class this task relies upon.
This is common and has a number of causes; the usual
solutions are to read the manual pages then download and
install needed JAR files, or fix the build file:
- You have misspelt 'depend'.
Fix: check your spelling.
- The task needs an external JAR file to execute
and this is not found at the right place in the classpath.
Fix: check the documentation for dependencies.
Fix: declare the task.
- The task is an Ant optional task and the JAR file and/or libraries
implementing the functionality were not found at the time you
yourself built your installation of Ant from the Ant sources.
Fix: Look in the ANT_HOME/lib for the 'ant-' JAR corresponding to the
task and make sure it contains more than merely a META-INF/MANIFEST.MF.
If all it contains is the manifest, then rebuild Ant with the needed
libraries present in ${ant.home}/lib/optional/ , or alternatively,
download a pre-built release version from apache.org
- The build file was written for a later version of Ant
Fix: upgrade to at least the latest release version of Ant
- The task is not an Ant core or optional task
and needs to be declared using .
- You are attempting to use a task defined using
or but have spelt wrong or not
defined it at the point of use
Remember that for JAR files to be visible to Ant tasks implemented
in ANT_HOME/lib, the files must be in the same directory or on the
classpath
Please neither file bug reports on this problem, nor email the
Ant mailing lists, until all of these causes have been explored,
as this is not an Ant bug.
Total time: 2 seconds
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3996028#3996028
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3996028
19 years, 7 months
[JBossWS] - document/literal and jboss 4.0.5.GA -> No wrapped types avai
by bbredohl
Hello,
I have a Problem with document/literal webservices.
My system:
JBoss [Zion] 4.0.5.GA (build: CVSTag=Branch_4_0 date=200612231226)
jbossws-1.0.4.GA (date=200611151648)
jboss-EJB-3.0_RC9-FD and then
jboss-EJB-3.0_RC9_Patch_1
When I deploy the service, I get following exception:
org.jboss.ws.WSException: No wrapped types available
| at org.jboss.ws.jaxrpc.ParameterWrapping.generateWrapper(ParameterWrapping.java:463)
| at org.jboss.ws.deployment.JSR181MetaDataBuilder.processWebMethod(JSR181MetaDataBuilder.java:437)
| at org.jboss.ws.deployment.JSR181MetaDataBuilder.processWebMethods(JSR181MetaDataBuilder.java:257)
| at org.jboss.ws.deployment.JSR181MetaDataBuilder.setupEndpointFromAnnotations(JSR181MetaDataBuilder.java:173)
| at org.jboss.ws.deployment.JSR181MetaDataBuilderEJB3.buildMetaData(JSR181MetaDataBuilderEJB3.java:75)
| at org.jboss.ws.deployment.ServiceEndpointDeployer.create(ServiceEndpointDeployer.java:106)
| at org.jboss.ws.integration.jboss.DeployerInterceptor.create(DeployerInterceptor.java:80)
| at org.jboss.ws.integration.jboss.DeployerInterceptorEJB.create(DeployerInterceptorEJB.java:44)
| at org.jboss.deployment.SubDeployerInterceptorSupport$XMBeanInterceptor.create(SubDeployerInterceptorSupport.java:180)
| at org.jboss.deployment.SubDeployerInterceptor.invoke(SubDeployerInterceptor.java:91)
| at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
| at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
| at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
| at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
| at $Proxy30.create(Unknown Source)
| at org.jboss.deployment.MainDeployer.create(MainDeployer.java:969)
| at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:818)
| at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782)
| at sun.reflect.GeneratedMethodAccessor25.invoke(Unknown Source)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| at java.lang.reflect.Method.invoke(Method.java:585)
| at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
| at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
| at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
| at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
| at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
| at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
| at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
| at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
| at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
| at $Proxy8.deploy(Unknown Source)
| at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:421)
| at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:610)
| at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:263)
| at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.loop(AbstractDeploymentScanner.java:274)
| at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.run(AbstractDeploymentScanner.java:225)
|
With rpc/literal everything is ok.
How can I solve my problem?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3996022#3996022
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3996022
19 years, 7 months