[JBoss Tools] - Error in Building JBoss AS 7.x from source
by Sri Ram
Sri Ram [https://community.jboss.org/people/ramsrib] created the discussion
"Error in Building JBoss AS 7.x from source"
To view the discussion, visit: https://community.jboss.org/message/804197#804197
--------------------------------------------------------------
I'm trying to build JBoss AS 7.1.2 from source. But I'm getting (zanata) maven plugin not found error.
Steps Followed :
> git clone git://github.com/jbossas/jboss-as.git
> cd jboss-as
> git checkout 7.1.2.Final
> *mvn clean install*
> mvn dependency:sources
> mvn dependency:resolve -Dclassifier=javadoc
When i run "mvn clean install", I'm getting this error :
> [sriram@fedora jboss-as]$ mvn clean install
> [INFO] Scanning for projects...
> [INFO] Reactor build order:
> [INFO] JBoss Application Server: Build Configuration
> [INFO] JBoss Application Server: Parent Aggregator
> [INFO] JBoss Application Server: Shared Security Utilities
> [INFO] JBoss Application Server: Protocol Utilities
> [INFO] JBoss Application Server: Controller Client
> [INFO] JBoss Application Server: Controller Core
> [INFO] JBoss Application Server: Deployment Repository
> [INFO] JBoss Application Server: Version
> [INFO] JBoss Application Server: Process Controller
> [INFO] JBoss Application Server: Platform MBean integration
> [INFO] JBoss Application Server: Domain Management
> [INFO] JBoss Application Server: Domain HTTP Interface
> [INFO] JBoss Application Server: Domain HTTP Interface
> [INFO] JBoss Application Server: Network
> [INFO] JBoss Application Server: Remoting Subsystem
> [INFO] JBoss Application Server: Server
> [INFO] JBoss Application Server: Management Client Content
> [INFO] JBoss Application Server: Common Code for Subsystem and Non-subsystem Test Harness
> [INFO] JBoss Application Server: Core Model Test Parent
> [INFO] JBoss Application Server: Subsystem Test Harness
> [INFO] JBoss Application Server: Subsystem Test Controller 7.1.2
> [INFO] JBoss Application Server: Subsystem Test POM
> [INFO] JBoss Application Server: Threading Subsystem
> [INFO] JBoss Application Server: Host Controller
> [INFO] JBoss Application Server: Core Model Test Parent
> [INFO] JBoss Application Server: Core Model Test Framework
> [INFO] JBoss Application Server: Domain HTTP Error Context
> [INFO] JBoss Application Server: Naming Subsystem
> [INFO] JBoss Application Server: JMX Subsystem
> [INFO] JBoss Application Server: EE
> [INFO] JBoss Application Server: JacORB Subsystem
> [INFO] JBoss Application Server: Transaction Subsystem
> [INFO] JBoss Application Server: Clustering Subsystem
> [INFO] JBoss Application Server: Clustering Server API
> [INFO] JBoss Application Server: Common code for clustering subsystems
> [INFO] JBoss Application Server: JGroups Subsystem
> [INFO] JBoss Application Server: Infinispan Subsystem
> [INFO] JBoss Application Server: Security Subsystem
> [INFO] JBoss Application Server: Connector Subsystem
> [INFO] JBoss Application Server: Clustered registry service
> [INFO] JBoss Application Server: EJB Subsystem
> [INFO] JBoss Application Server: Web Common Classes
> [INFO] JBoss Application Server: Distributed Web Session SPI
> [INFO] JBoss Application Server: Clustering Server API implementation
> [INFO] JBoss Application Server: Distributed Web Session Infinispan provider
> [INFO] JBoss Application Server: Web Subsystem
> [INFO] JBoss Application Server: Web Services Subsystem
> [INFO] JBoss Application Server: Web Services Server Integration Subsystem
> [INFO] JBoss Application Server: Application Client Bootstrap
> [INFO] JBoss Application Server: Config Assembly
> [INFO] JBoss Application Server: Command line interface
> [INFO] JBoss Application Server: EJB Client BOM
> [INFO] JBoss Application Server: JMS Client BOM
> [INFO] JBoss Application Server: EJB and JMS client combined jar
> [INFO] JBoss Application Server: Clustered Stateful Session Bean cache Infinispan provider
> [INFO] JBoss Application Server: Clustered service provider registry services
> [INFO] JBoss Application Server: Clustered singleton services
> [INFO] JBoss Application Server: Config Admin
> [INFO] JBoss Application Server: Deployment Scanner
> [INFO] JBoss Application Server: Embedded
> [INFO] JBoss Application Server: JPA Subsystem
> [INFO] JBoss Application Server: JPA SPI
> [INFO] JBoss Application Server: JPA UTIL
> [INFO] JBoss Application Server: JPA Subsystem
> [INFO] JBoss Application Server: Weld Integration
> [INFO] JBoss Application Server: JAX-RS Integration
> [INFO] JBoss Application Server: JBoss Diagnostic Reporter
> [INFO] JBoss Application Server: JDR
> [INFO] JBoss Application Server: JSF
> [INFO] JBoss Application Server: JSF Subsystem
> [INFO] JBoss Application Server: JSF Injection Handlers
> [INFO] JBoss Application Server: JSR-77 Subsystem
> [INFO] JBoss Application Server: Logging Subsystem
> [INFO] JBoss Application Server: Mail subsystem
> [INFO] JBoss Application Server: Messaging Subsystem
> [INFO] JBoss Application Server: ModCluster Subsystem
> [INFO] JBoss Application Server: OSGi
> [INFO] JBoss Application Server: OSGi Subsystem
> [INFO] JBoss Application Server: OSGi Integration
> [INFO] JBoss Application Server: OSGi Integration ConfigAdmin
> [INFO] JBoss Application Server: OSGi Integration Http
> [INFO] JBoss Application Server: OSGi Integration JMX
> [INFO] JBoss Application Server: OSGi Integration JPA
> [INFO] JBoss Application Server: OSGi Integration JTA
> [INFO] JBoss Application Server: OSGi Integration Naming
> [INFO] JBoss Application Server: OSGi Integration WebApp
> [INFO] JBoss Application Server: POJO Subsystem
> [INFO] JBoss Application Server: Service Archive Subsystem
> [INFO] JBoss Application Server: System JMX Module
> [INFO] JBoss Application Server: XTS Subsystem
> [INFO] JBoss Application Server: Hibernate 3.6.x JPA integration
> [INFO] JBoss Application Server: Hibernate 4.0.x JPA integration
> [INFO] JBoss Application Server: OpenJPA 2.x JPA integration
> [INFO] JBoss Application Server: Build
> [INFO] JBoss Application Server: Build Modular
> [INFO] JBoss Application Server: Subsystem Test Framework Tests
> [INFO] JBoss Application Server: Arquillian
> [INFO] JBoss Application Server: Arquillian TestEnricher MSC
> [INFO] JBoss Application Server: Arquillian Common
> [INFO] JBoss Application Server: Arquillian Embedded Container
> [INFO] JBoss Application Server: Arquillian Protocol JMX
> [INFO] JBoss Application Server: Arquillian Managed Container
> [INFO] JBoss Application Server: Arquillian Remote Container
> [INFO] JBoss Application Server: Exported Java EE Specification APIs
> [INFO] JBoss Application Server: Arquillian TestNG Integration
> [INFO] JBoss Application Server: Arquillian Common Domain
> [INFO] JBoss Application Server: Arquillian Remote Domain Container
> [INFO] JBoss Application Server: Arquillian Managed Domain Container
> [INFO] JBoss Application Server: Core Model Test Controller 7.1.2
> [INFO] JBoss Application Server: Core Model Test Controller Optional
> [INFO] JBoss Application Server: Core Model Tests
> [INFO] JBoss Application Server: Distribution
> [INFO] JBoss Application Server Test Suite: Shared
> [INFO] JBoss Application Server: OSGi Launcher
> [INFO] JBoss Application Server: Remoting Subsystem Test
> [INFO] JBoss Application Server: Validation Tests for Exported Java EE Specification APIs
> [INFO] JBoss Application Server: Web Services Tests Integration Subsystem
> [INFO] JBoss Application Server Test Suite: Aggregator
> [INFO] JBoss Application Server Test Suite: Integration
> [INFO] JBoss Application Server Test Suite: Integration - Smoke
> [WARNING] POM for 'biz.aQute:bndlib:pom:1.50.0:runtime' is invalid.
>
> Its dependencies (if any) will NOT be available to the current build.
> [INFO] ------------------------------------------------------------------------
> [INFO] Building JBoss Application Server: Build Configuration
> [INFO] task-segment: [clean, install]
> [INFO] ------------------------------------------------------------------------
> Downloading: http://repo1.maven.org/maven2/org/zanata/zanata-maven-plugin/1.5.0/zanata... http://repo1.maven.org/maven2/org/zanata/zanata-maven-plugin/1.5.0/zanata...
> [INFO] Unable to find resource 'org.zanata:zanata-maven-plugin:pom:1.5.0' in repository central ( http://repo1.maven.org/maven2 http://repo1.maven.org/maven2)
> Downloading: http://repository.jboss.org/nexus/content/groups/public//org/zanata/zanat... http://repository.jboss.org/nexus/content/groups/public//org/zanata/zanat...
> 3K downloaded (zanata-maven-plugin-1.5.0.pom)
> Downloading: http://repo1.maven.org/maven2/org/zanata/zanata-parent/1.5.0/zanata-paren... http://repo1.maven.org/maven2/org/zanata/zanata-parent/1.5.0/zanata-paren...
> [INFO] Unable to find resource 'org.zanata:zanata-parent:pom:1.5.0' in repository central ( http://repo1.maven.org/maven2 http://repo1.maven.org/maven2)
> Downloading: http://repository.jboss.org/nexus/content/groups/public//org/zanata/zanat... http://repository.jboss.org/nexus/content/groups/public//org/zanata/zanat...
> 28K downloaded (zanata-parent-1.5.0.pom)
> Downloading: http://repository-zanata.forge.cloudbees.com/release//org/jboss/seam/root... http://repository-zanata.forge.cloudbees.com/release//org/jboss/seam/root...
> [INFO] Unable to find resource 'org.jboss.seam:root:pom:2.2.0.GA' in repository zanata-cloudbees-release ( http://repository-zanata.forge.cloudbees.com/release/ http://repository-zanata.forge.cloudbees.com/release/)
> Downloading: http://repository.jboss.org/nexus/content/repositories/releases//org/jbos... http://repository.jboss.org/nexus/content/repositories/releases//org/jbos...
> 42K downloaded (root-2.2.0.GA.pom)
> Downloading: http://repo1.maven.org/maven2/org/zanata/zanata-maven-plugin/1.5.0/zanata... http://repo1.maven.org/maven2/org/zanata/zanata-maven-plugin/1.5.0/zanata...
> [INFO] Unable to find resource 'org.zanata:zanata-maven-plugin:maven-plugin:1.5.0' in repository central ( http://repo1.maven.org/maven2 http://repo1.maven.org/maven2)
> [INFO] ------------------------------------------------------------------------
> [ERROR] BUILD FAILURE
> [INFO] ------------------------------------------------------------------------
> [INFO] A required plugin was not found: Plugin could not be found - check that the goal name is correct: Unable to download the artifact from any repository
>
> Try downloading the file manually from the project website.
>
> Then, install it using the command:
> mvn install:install-file -DgroupId=org.zanata -DartifactId=zanata-maven-plugin -Dversion=1.5.0 -Dpackaging=maven-plugin -Dfile=/path/to/file
>
> Alternatively, if you host your own repository you can deploy the file there:
> mvn deploy:deploy-file -DgroupId=org.zanata -DartifactId=zanata-maven-plugin -Dversion=1.5.0 -Dpackaging=maven-plugin -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
>
>
> org.zanata:zanata-maven-plugin:maven-plugin:1.5.0
>
> from the specified remote repositories:
> central ( http://repo1.maven.org/maven2 http://repo1.maven.org/maven2)
>
>
> org.zanata:zanata-maven-plugin:maven-plugin:1.5.0
>
> from the specified remote repositories:
> central ( http://repo1.maven.org/maven2 http://repo1.maven.org/maven2)
>
>
> [INFO] ------------------------------------------------------------------------
> [INFO] For more information, run Maven with the -e switch
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 24 seconds
> [INFO] Finished at: Fri Mar 22 10:32:37 IST 2013
> [INFO] Final Memory: 77M/398M
> [INFO] ------------------------------------------------------------------------
> [sriram@fedora jboss-as]$
I thought JBoss will take this 'org.zanata:zanata-maven-plugin' from jboss maven repository which already configured in pom.xml.
I also tried to add this following jboss maven repository to *~/.m2/settings.xml*, but it didn't worked.
| | <repositories> |
| | <repository> |
| | <id>jboss-public-repository-group</id> |
| | <name>JBoss Public Repository Group</name> |
| | <url>http://repository.jboss.org/nexus/content/groups/public/</url> |
| | <layout>default</layout> |
| | <releases> |
| | <enabled>true</enabled> |
| | <updatePolicy>never</updatePolicy> |
| | </releases> |
| | <snapshots> |
| | <enabled>true</enabled> |
| | <updatePolicy>never</updatePolicy> |
| | </snapshots> |
| | </repository> |
Let me know if I'm doing it in wrong way.
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/804197#804197]
Start a new discussion in JBoss Tools at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&con...]
13 years
[Performance Tuning] - Need Help getting OOME.
by Abhijeet Rathaur
Abhijeet Rathaur [https://community.jboss.org/people/abhi_jboss] created the discussion
"Need Help getting OOME."
To view the discussion, visit: https://community.jboss.org/message/803486#803486
--------------------------------------------------------------
Hi ALL,
Currently we are using Jboss 5.1.0 in our production environment and using heap dump I can see many threads are occupying memmory in heap. Due to which we are getting OOME. here is the stack trace of the thread that is consuming 41% of the heap.
java.lang.Object
java.lang.Thread
sun.misc.GC$Daemon
org.jboss.remoting.transport.bisocket.BisocketServerInvoker$ControlMonitorTimerTask$1
net.sf.ehcache.CacheManager$1
org.jboss.remoting.transport.bisocket.BisocketServerInvoker$SecondaryServerSocketThread
org.quartz.core.QuartzSchedulerThread
org.apache.log4j.helpers.FileWatchdog
org.apache.log4j.PropertyWatchdog
org.apache.log4j.xml.XMLWatchdog
java.lang.ref.Finalizer$FinalizerThread
sun.awt.image.ImageFetcher
com.ibm.icu.impl.ICUNotifier$NotifyThread
com.arjuna.ats.internal.arjuna.recovery.Connection
com.arjuna.ats.internal.arjuna.recovery.ExpiredEntryMonitor
org.springframework.context.support.AbstractApplicationContext$1
com.mchange.v2.resourcepool.BasicResourcePool$5
com.arjuna.ats.internal.arjuna.coordinator.ReaperThread
com.arjuna.ats.arjuna.coordinator.TxControl$Shutdown
com.arjuna.ats.internal.arjuna.coordinator.ReaperWorkerThread
org.jboss.remoting.transport.socket.SocketServerInvoker$AcceptThread
org.jboss.util.timeout.TimeoutFactory$1
java.lang.ref.Reference$ReferenceHandler
org.jboss.console.plugins.AOPLister$RefreshPoller
org.eclipse.core.internal.jobs.InternalWorker
java.util.TimerThread
com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread
org.eclipse.core.internal.jobs.Worker
java.util.logging.LogManager$Cleaner
net.sf.ehcache.store.DiskStore$SpoolAndExpiryThread
org.eclipse.osgi.framework.eventmgr.EventManager$EventThread
org.jboss.bootstrap.AbstractServerImpl$LifeThread
com.arjuna.ats.internal.arjuna.recovery.Listener
org.apache.catalina.startup.Catalina$CatalinaShutdownHook
org.jboss.bootstrap.AbstractServerImpl$ShutdownHook
org.quartz.simpl.SimpleThreadPool$WorkerThread
org.jboss.remoting.transport.socket.SocketServerInvoker$ServerSocketRefresh
com.arjuna.ats.internal.arjuna.recovery.PeriodicRecovery
org.jboss.remoting.transport.bisocket.BisocketServerInvoker$ControlConnectionThread
Regards,
Abhijeet
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/803486#803486]
Start a new discussion in Performance Tuning at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&con...]
13 years
[JBoss Tools] - Jodatime and hibernate pojo generator
by Guillermo L
Guillermo L [https://community.jboss.org/people/gmlopezdev] created the discussion
"Jodatime and hibernate pojo generator"
To view the discussion, visit: https://community.jboss.org/message/804052#804052
--------------------------------------------------------------
Hi,
I want to use jodatime for date types and hibernate tools to get the generated pojos from database.
I'm using jadira in order to make this possible, however even when I map the type as the following I do not get the expected @Type annotation as I guess it should be.
My hibernate reveng file is as the following:
<type-mapping>
<sql-type jdbc-type="TIMESTAMP" hibernate-type="org.jadira.usertype.dateandtime.joda.PersistentDateTime">
</type-mapping>
and here's the produced code:
@Column(name = "adate", length = 23)
private DateTime adate;
As per what I read about using jadira with hibernate I was expecting to get something like the following:
@Column(name = "adate", length = 23)
@Type(type="org.jadira.usertype.dateandtime.joda.PersistentDateTime")
private DateTime adate;
Hints are more than welcome :-)
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/804052#804052]
Start a new discussion in JBoss Tools at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&con...]
13 years
[jBPM] - Re: Data input objects - blocking a task
by Jim Beam
Jim Beam [https://community.jboss.org/people/jamesbeam] created the discussion
"Re: Data input objects - blocking a task"
To view the discussion, visit: https://community.jboss.org/message/803861#803861
--------------------------------------------------------------
Hi. I believe we are working on a similar problem - If I understand your question. I have received a few helpful suggestions. The easiest (and ugliest) was to put an AND gateway and a signal intermediate event in front of each task. This way, the task is not reached until the signal event (new data) is added to the process/ksession. The other option, which I am working on now (a recommendation from salaboy I think), is implementing this functionality in a customworkitem - where the handler will not complete the work item until the required data is available. This way, one handler could be used to look for a message that was defined as a parameter in that workitem. This seems much cleaner to me.
hth (let me know if you have any thoughts)
-J
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/803861#803861]
Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&con...]
13 years
[JBoss Web Services] - JBossWS and Security Client dependency
by stephen b
stephen b [https://community.jboss.org/people/slbanal] created the discussion
"JBossWS and Security Client dependency"
To view the discussion, visit: https://community.jboss.org/message/803993#803993
--------------------------------------------------------------
Hi,
I am currently trying to integrate Web service security to my web service following instructions from here https://docs.jboss.org/author/display/JBWS/WS-Security https://docs.jboss.org/author/display/JBWS/WS-Security
The tutorial specified that I can create a client using code below. The tutorial did not explain which jar dependencies I have to use for this to work. I managed to build my project using Eclipse and added Apache CXF 2.4.6 library as project build dependecies and it works fine - client and server encrypts and decrypts the request/response.
> QName serviceName = new QName(" http://www.jboss.org/jbossws/ws-extensions/wssecuritypolicy http://www.jboss.org/jbossws/ws-extensions/wssecuritypolicy", "SecurityService");
> URL wsdlURL = new URL(serviceURL + "?wsdl");
> Service service = Service.create(wsdlURL, serviceName);
> ServiceIface proxy = (ServiceIface)service.getPort(ServiceIface.class);
>
> ((BindingProvider)proxy).getRequestContext().put(SecurityConstants.CALLBACK_HANDLER, new KeystorePasswordCallback());
> ((BindingProvider)proxy).getRequestContext().put(SecurityConstants.SIGNATURE_PROPERTIES,
> Thread.currentThread().getContextClassLoader().getResource("META-INF/alice.properties"));
> ((BindingProvider)proxy).getRequestContext().put(SecurityConstants.ENCRYPT_PROPERTIES,
> Thread.currentThread().getContextClassLoader().getResource("META-INF/alice.properties"));
> ((BindingProvider)proxy).getRequestContext().put(SecurityConstants.SIGNATURE_USERNAME, "alice");
> ((BindingProvider)proxy).getRequestContext().put(SecurityConstants.ENCRYPT_USERNAME, "bob");
>
> proxy.sayHello();
But when I use maven to build and run the test, client is not encrypting the SOAP message. I can't find any documentation which specifies the correct maven jar dependencies I have to add so that client side is able to encrypt the message. Based on logs and response from server it looks like the client did not send an encrypted SOAP message and service is throwing an Policy violation error to the client.
I tried to fix the issue by adding jboss-cxf-client as dependency but still the same issue.
My question is, what dependencies should I include to my POM file?
Thanks,
Stephen
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/803993#803993]
Start a new discussion in JBoss Web Services at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&con...]
13 years