Not honoring Bundle-RequiredExecutionEnvironment in manifest.mf - eclipse-plugin
I am running Photon on Java 10.
I am testing a small plugin used to help me to learn how to write plugins. When I run the plugin I get the following popup validation message:
Missing Constraint: Bundle-RequiredExecutionEnvironment: JavaSE-10
My MANIFEST.MF file is as follows:
Manifest-Version: 1.0
Bundle-ManifestVersion: 2
Bundle-Name: Application
Bundle-SymbolicName: com.packtpub.e4.application;singleton:=true
Bundle-Version: 1.0.0.qualifier
Bundle-Activator: com.packtpub.e4.application.Activator
Bundle-Vendor: PACKTPUB
Require-Bundle: javax.inject;bundle-version="0.0.0",
org.eclipse.swt;bundle-version="0.0.0",
org.eclipse.e4.ui.model.workbench;bundle-version="0.0.0",
org.eclipse.jface;bundle-version="0.0.0",
org.eclipse.e4.ui.services;bundle-version="0.0.0",
org.eclipse.e4.ui.workbench;bundle-version="0.0.0",
org.eclipse.e4.core.di;bundle-version="0.0.0",
org.eclipse.e4.ui.di;bundle-version="0.0.0",
org.eclipse.e4.core.contexts;bundle-version="0.0.0",
org.eclipse.core.runtime;bundle-version="0.0.0",
org.eclipse.e4.core.di.extensions;bundle-version="0.15.100",
org.eclipse.e4.core.services;bundle-version="2.1.100",
org.eclipse.osgi.services;bundle-version="3.7.0"
Bundle-RequiredExecutionEnvironment: JavaSE-10
Automatic-Module-Name: com.packtpub.e4.application
Import-Package: javax.annotation;version="0.0.0"
Bundle-ActivationPolicy: lazy
Service-Component: OSGI-INF/*.xml
My launch configuration is here:
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<launchConfiguration type="org.eclipse.pde.ui.RuntimeWorkbench">
<booleanAttribute key="append.args" value="true"/>
<stringAttribute key="application" value="org.eclipse.e4.ui.workbench.swt.E4Application"/>
<booleanAttribute key="askclear" value="true"/>
<booleanAttribute key="automaticAdd" value="false"/>
<booleanAttribute key="automaticValidate" value="true"/>
<stringAttribute key="bootstrap" value=""/>
<stringAttribute key="checked" value="[NONE]"/>
<booleanAttribute key="clearConfig" value="false"/>
<booleanAttribute key="clearws" value="true"/>
<booleanAttribute key="clearwslog" value="false"/>
<stringAttribute key="configLocation" value="${workspace_loc}/.metadata/.plugins/org.eclipse.pde.core/com.packtpub.e4.application.product"/>
<booleanAttribute key="default" value="false"/>
<booleanAttribute key="includeOptional" value="true"/>
<stringAttribute key="location" value="${workspace_loc}/runtime-com.packtpub.e4.application.product"/>
<stringAttribute key="org.eclipse.jdt.launching.JRE_CONTAINER" **value="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-10"/>**
<stringAttribute key="org.eclipse.jdt.launching.PROGRAM_ARGUMENTS" value="-os ${target.os} -ws ${target.ws} -arch ${target.arch} -nl ${target.nl} -consoleLog -clearPersistedState"/>
<stringAttribute key="org.eclipse.jdt.launching.SOURCE_PATH_PROVIDER" value="org.eclipse.pde.ui.workbenchClasspathProvider"/>
<stringAttribute key="pde.version" value="3.3"/>
<stringAttribute key="product" value="com.packtpub.e4.application.product"/>
<stringAttribute key="productFile" value="\com.packtpub.e4.application\com.packtpub.e4.application.product"/>
<stringAttribute key="selected_target_plugins" value="com.ibm.icu#default:default,javax.annotation#default:default,javax.inject#default:default,org.apache.batik.constants#default:default,org.apache.batik.css#default:default,org.apache.batik.i18n#default:default,org.apache.batik.util#default:default,org.apache.commons.io#default:default,org.apache.commons.jxpath#default:default,org.apache.commons.logging#default:default,org.apache.felix.scr#1:true,org.apache.xmlgraphics#default:default,org.eclipse.core.commands#default:default,org.eclipse.core.contenttype#default:default,org.eclipse.core.databinding.beans#default:default,org.eclipse.core.databinding.observable#default:default,org.eclipse.core.databinding.property#default:default,org.eclipse.core.databinding#default:default,org.eclipse.core.expressions#default:default,org.eclipse.core.jobs#default:default,org.eclipse.core.runtime#default:true,org.eclipse.e4.core.commands#default:default,org.eclipse.e4.core.contexts#default:default,org.eclipse.e4.core.di.annotations#default:default,org.eclipse.e4.core.di.extensions.supplier#default:default,org.eclipse.e4.core.di.extensions#default:default,org.eclipse.e4.core.di#default:default,org.eclipse.e4.core.services#default:default,org.eclipse.e4.emf.xpath#default:default,org.eclipse.e4.ui.bindings#default:default,org.eclipse.e4.ui.css.core#default:default,org.eclipse.e4.ui.css.swt.theme#default:default,org.eclipse.e4.ui.css.swt#default:default,org.eclipse.e4.ui.di#default:default,org.eclipse.e4.ui.model.workbench#default:default,org.eclipse.e4.ui.services#default:default,org.eclipse.e4.ui.widgets#default:default,org.eclipse.e4.ui.workbench.renderers.swt#default:default,org.eclipse.e4.ui.workbench.swt#default:default,org.eclipse.e4.ui.workbench3#default:default,org.eclipse.e4.ui.workbench#default:default,org.eclipse.emf.common#default:default,org.eclipse.emf.databinding#default:default,org.eclipse.emf.ecore.change#default:default,org.eclipse.emf.ecore.xmi#default:default,org.eclipse.emf.ecore#default:default,org.eclipse.equinox.app#default:default,org.eclipse.equinox.common#2:true,org.eclipse.equinox.concurrent#default:default,org.eclipse.equinox.ds#1:true,org.eclipse.equinox.event#default:default,org.eclipse.equinox.preferences#default:default,org.eclipse.equinox.registry#default:default,org.eclipse.jface.databinding#default:default,org.eclipse.jface#default:default,org.eclipse.osgi.compatibility.state#default:false,org.eclipse.osgi.services#default:default,org.eclipse.osgi.util#default:default,org.eclipse.osgi#-1:true,org.eclipse.swt.win32.win32.x86_64#default:false,org.eclipse.swt#default:default,org.w3c.css.sac#default:default,org.w3c.dom.events#default:default,org.w3c.dom.smil#default:default,org.w3c.dom.svg#default:default"/>
<stringAttribute key="selected_workspace_plugins" value="com.packtpub.e4.application#default:default"/>
<booleanAttribute key="show_selected_only" value="false"/>
<booleanAttribute key="tracing" value="false"/>
<booleanAttribute key="useCustomFeatures" value="false"/>
<booleanAttribute key="useDefaultConfig" value="true"/>
<booleanAttribute key="useDefaultConfigArea" value="true"/>
<booleanAttribute key="useProduct" value="true"/>
<booleanAttribute key="usefeatures" value="false"/>
</launchConfiguration>
As you can see, the launch configuration is requesting JaveSE 10- I am at a loss to see why I am getting this error as the plugin loads and runs without other problems.
This seems to be an Eclipse bug. JavaSE-10 just doesn't work in Bundle-RequiredExecutionEnvironment.
A workaround is to just use JavaSE-9 in the Bundle-RequiredExecutionEnvironment. You may get a warning that the JRE container is not a perfect match, this can be ignored.
Related
Configure ActiveMQ Artemis in WildFly 12 to use a PostgreSQL datastore
I have configured my WildFly 12 instance with a PostgreSQL datastore to use as the journal datastore for ActiveMQ Artemis. However, when WildFly starts up I get the following error: AMQ222010: Critical IO Error, shutting down the server. file=org.apache.activemq.artemis.jdbc.store.file.JDBCSequentialFile#35d3d246, message=Error attempting to open JDBC file.: org.postgresql.util.PSQLException: ERROR: column "data" is of type oid but expression is of type bytea Hint: You will need to rewrite or cast the expression. Any idea what I might be doing wrong? My datasource definition is: <datasource jta="true" jndi-name="java:jboss/datasources/ActiveMQ-DS" pool-name="ActiveMQ-DS" enabled="true" use-ccm="true" spy="false"> <connection-url>jdbc:postgresql://localhost/activemq</connection-url> <driver-class>org.postgresql.Driver</driver-class> <driver>postgresql</driver> <transaction-isolation>TRANSACTION_READ_COMMITTED</transaction-isolation> <pool> <min-pool-size>1</min-pool-size> <max-pool-size>16</max-pool-size> </pool> <security> <user-name>amq</user-name> <password>amq</password> </security> <validation> <check-valid-connection-sql>select 1</check-valid-connection-sql> <validate-on-match>false</validate-on-match> <background-validation>false</background-validation> <background-validation-millis>300000</background-validation-millis> </validation> <statement> <prepared-statement-cache-size>0</prepared-statement-cache-size> <share-prepared-statements>false</share-prepared-statements> </statement> <timeout> <idle-timeout-minutes>5</idle-timeout-minutes> </timeout> </datasource> Here is my messaging-activemq subsystem configuration: <subsystem xmlns="urn:jboss:domain:messaging-activemq:3.0"> <server name="default"> <journal datasource="ActiveMQ-DS" /> <security-setting name="#"> <role name="guest" send="true" consume="true" create-non-durable-queue="true" delete-non-durable-queue="true"/> </security-setting> <address-setting name="#" dead-letter-address="jms.queue.DLQ" expiry-address="jms.queue.ExpiryQueue" max-size-bytes="10485760" page-size-bytes="2097152" message-counter-history-day-limit="10"/> <http-connector name="http-connector" socket-binding="jms-virtual" endpoint="http-acceptor"/> <http-connector name="http-connector-throughput" socket-binding="jms-virtual" endpoint="http-acceptor-throughput"> <param name="batch-delay" value="50"/> </http-connector> <in-vm-connector name="in-vm" server-id="0"> <param name="buffer-pooling" value="false"/> </in-vm-connector> <http-acceptor name="http-acceptor" http-listener="default"/> <http-acceptor name="http-acceptor-throughput" http-listener="default"> <param name="batch-delay" value="50"/> <param name="direct-deliver" value="false"/> </http-acceptor> <in-vm-acceptor name="in-vm" server-id="0"> <param name="buffer-pooling" value="false"/> </in-vm-acceptor> <jms-queue name="ExpiryQueue" entries="java:/jms/queue/ExpiryQueue"/> <jms-queue name="DLQ" entries="java:/jms/queue/DLQ"/> <jms-topic name="VideoVaultSync" entries="jms/topic/VideoVaultSync"/> <jms-topic name="VICADS-DeviceAlarm" entries="jms/topic/VICADS-DeviceAlarm"/> <jms-topic name="VICADS-VideoAlarm" entries="jms/topic/VICADS-VideoAlarm java:jboss/exported/jms/topic/VICADS-VideoAlarm"/> <jms-topic name="VICADS-RadarTarget" entries="jms/topic/VICADS-RadarTarget java:jboss/exported/jms/topic/VICADS-RadarTarget"/> <jms-topic name="VICADS-AnnunciatorAlarm" entries="jms/topic/VICADS-AnnunciatorAlarm"/> <jms-topic name="VICADS-Admin" entries="jms/topic/VICADS-Admin java:jboss/exported/jms/topic/VICADS-Admin"/> <jms-topic name="VICADS-VideoSvc" entries="jms/topic/VICADS-VideoSvc java:jboss/exported/jms/topic/VICADS-VideoSvc"/> <jms-topic name="VideoVault-SceneAuthentication" entries="jms/topic/VideoVault-SceneAuthentication java:jboss/exported/jms/topic/VideoVault-SceneAuthentication"/> <jms-topic name="VICADS-Geometry" entries="jms/topic/VICADS-Geometry java:jboss/exported/jms/topic/VICADS-Geometry"/> <connection-factory name="InVmConnectionFactory" entries="java:/ConnectionFactory" connectors="in-vm"/> <connection-factory name="RemoteConnectionFactory" entries="java:jboss/exported/jms/RemoteConnectionFactory" connectors="http-connector"/> <pooled-connection-factory name="activemq-ra" entries="java:/JmsXA java:jboss/DefaultJMSConnectionFactory" connectors="in-vm" transaction="xa"/> </server> </subsystem>
IHS not redirecting the request to WAS
So, I have installed WAS, and IHS. I'm able to access the application directly from WAS. But IHS is trying to reply the request and its not using the plugin to reply the request. I'm able to access the default IHS page, but not to the test application. To create the IHS, I have done the standard stuff: 1- Install IHS and Plugin 2- Configure the plugin within the IHS 3- Create an unmanaged node on the DMGR 4- Create the webserver instance on the DMGR I'm just trying to call a sample application called hello (for helloworld) I see the request on the webservers logs, but they are not being redirected to the WAS. This is the mention of the plugin on the httpd.conf: LoadModule was_ap22_module /opt/ibm/plugin-ihs-85/test_webserver_instance1/bin/64bits/mod_was_ap22_http.so WebSpherePluginConfig /opt/ibm/plugin-ihs-85/test_webserver_instance1/config/test_webserver_instance1/plugin-cfg.xml This is the plugin-cfg.xml: <?xml version="1.0" encoding="ISO-8859-1"?><!--HTTP server plugin config file for the webserver test_Cell.test_webserver_01_unmanagedNode_1.test_webserver_instance1 generated on 20 17.06.25 at 07:37:51 PM CDT--> <Config ASDisableNagle="false" AcceptAllContent="true" AppServerPortPreference="HostHeader" ChunkedResponse="false" FIPSEnable="false" FailoverToNext="false" HTTPMaxHeaders=" 300" IISDisableFlushFlag="false" IISDisableNagle="false" IISPluginPriority="High" IgnoreDNSFailures="false" KillWebServerStartUpOnParseErr="false" MarkBusyDown="false" OS400C onvertQueryStringToJobCCSID="false" RefreshInterval="60" ResponseChunkSize="64" SSLConsolidate="true" StrictSecurity="false" TrustedProxyEnable="false" VHostMatchingCompat="f alse"> <Log LogLevel="Error" Name="/opt/ibm/plugin-ihs-85/test_webserver_instance1/logs/test_webserver_instance1/http_plugin.log"/> <Property Name="ESIEnable" Value="true"/> <Property Name="ESIMaxCacheSize" Value="1024"/> <Property Name="ESIInvalidationMonitor" Value="false"/> <Property Name="ESIEnableToPassCookies" Value="false"/> <Property Name="ESICacheidFull" Value="false"/> <Property Name="PostSizeLimit" Value="-1"/> <Property Name="PostBufferSize" Value="0"/> <Property Name="PluginInstallRoot" Value="/opt/ibm/plugin-ihs-85/test_webserver_instance1/"/> <Property Name="Keyfile" Value="/opt/ibm/plugin-ihs-85/test_webserver_instance1/config/test_webserver_instance1/plugin-key.kdb"/> <Property Name="Stashfile" Value="/opt/ibm/plugin-ihs-85/test_webserver_instance1/config/test_webserver_instance1/plugin-key.sth"/> <VirtualHostGroup Name="default_host"> <VirtualHost Name="*:9080"/> <VirtualHost Name="*:80"/> <VirtualHost Name="*:9443"/> <VirtualHost Name="*:5060"/> <VirtualHost Name="*:5061"/> <VirtualHost Name="*:443"/> <VirtualHost Name="*:9061"/> <VirtualHost Name="*:9044"/> <VirtualHost Name="*:9062"/> <VirtualHost Name="*:9081"/> <VirtualHost Name="*:9444"/> <VirtualHost Name="*:9045"/> </VirtualHostGroup> <ServerCluster CloneSeparatorChange="false" GetDWLMTable="false" IgnoreAffinityRequests="false" LoadBalance="Round Robin" Name="test" PostBufferSize="0" PostSizeLimit="-1" RemoveSpecialHeaders="true" RetryInterval="60" ServerIOTimeoutRetry="-1"> <Server CloneID="1bjgscrk8" ConnectTimeout="5" ExtendedHandshake="false" LoadBalanceWeight="2" MaxConnections="-1" Name="test_app_01_node_1_test1" ServerIOTimeout="900" W aitForContinue="false"> <Transport Hostname="test_app_01" Port="9080" Protocol="http"/> <Transport Hostname="test_app_01" Port="9443" Protocol="https"> <Property Name="keyring" Value="/opt/ibm/plugin-ihs-85/test_webserver_instance1/config/test_webserver_instance1/plugin-key.kdb"/> <Property Name="stashfile" Value="/opt/ibm/plugin-ihs-85/test_webserver_instance1/config/test_webserver_instance1/plugin-key.sth"/> </Transport> </Server> <Server CloneID="1bjgscsei" ConnectTimeout="5" ExtendedHandshake="false" LoadBalanceWeight="2" MaxConnections="-1" Name="test_app_01_node_1_test2" ServerIOTimeout="900" W aitForContinue="false"> <Transport Hostname="test_app_01" Port="9081" Protocol="http"/> <Transport Hostname="test_app_01" Port="9444" Protocol="https"> <Property Name="keyring" Value="/opt/ibm/plugin-ihs-85/test_webserver_instance1/config/test_webserver_instance1/plugin-key.kdb"/> <Property Name="stashfile" Value="/opt/ibm/plugin-ihs-85/test_webserver_instance1/config/test_webserver_instance1/plugin-key.sth"/> </Transport> </Server> <Server CloneID="1bjgscstv" ConnectTimeout="5" ExtendedHandshake="false" LoadBalanceWeight="2" MaxConnections="-1" Name="test_app_02_node_1_test3" ServerIOTimeout="900" W aitForContinue="false"> <Transport Hostname="test_app_02" Port="9080" Protocol="http"/> <Transport Hostname="test_app_02" Port="9443" Protocol="https"> <Property Name="keyring" Value="/opt/ibm/plugin-ihs-85/test_webserver_instance1/config/test_webserver_instance1/plugin-key.kdb"/> <Property Name="stashfile" Value="/opt/ibm/plugin-ihs-85/test_webserver_instance1/config/test_webserver_instance1/plugin-key.sth"/> </Transport> </Server> <Server CloneID="1bjgsctbv" ConnectTimeout="5" ExtendedHandshake="false" LoadBalanceWeight="2" MaxConnections="-1" Name="test_app_02_node_1_test4" ServerIOTimeout="900" W aitForContinue="false"> <Transport Hostname="test_app_02" Port="9081" Protocol="http"/> <Transport Hostname="test_app_02" Port="9444" Protocol="https"> <Property Name="keyring" Value="/opt/ibm/plugin-ihs-85/test_webserver_instance1/config/test_webserver_instance1/plugin-key.kdb"/> <Property Name="stashfile" Value="/opt/ibm/plugin-ihs-85/test_webserver_instance1/config/test_webserver_instance1/plugin-key.sth"/> </Transport> </Server> <PrimaryServers> <Server Name="test_app_01_node_1_test1"/> <Server Name="test_app_01_node_1_test2"/> <Server Name="test_app_02_node_1_test3"/> <Server Name="test_app_02_node_1_test4"/> </PrimaryServers> </ServerCluster> <UriGroup Name="default_host_test_URIs"> <Uri AffinityCookie="JSESSIONID" AffinityURLIdentifier="jsessionid" Name="/hello/*"/> </UriGroup> <Route ServerCluster="test" UriGroup="default_host_test_URIs" VirtualHostGroup="default_host"/> <RequestMetrics armEnabled="false" loggingEnabled="false" rmEnabled="false" traceLevel="HOPS"> <filters enable="false" type="URI"> <filterValues enable="false" value="/snoop"/> <filterValues enable="false" value="/hitcount"/> </filters> <filters enable="false" type="SOURCE_IP"> <filterValues enable="false" value="255.255.255.255"/> <filterValues enable="false" value="254.254.254.254"/> </filters> <filters enable="false" type="JMS"> <filterValues enable="false" value="destination=aaa"/> </filters> <filters enable="false" type="WEB_SERVICES"> <filterValues enable="false" value="wsdlPort=aaa:op=bbb:nameSpace=ccc"/> </filters> </RequestMetrics> </Config>
Normally IHS is going to use port 80 to receive communication and rely to the application server. The port 80 is in the default virtual host. So I added the listening port I'm using (1080) to the default virtual host.
JBAS011466: PersistenceProvider 'com.impetus.kundera.KunderaPersistence' not found error from kundera 2.7.1
I am new to jBoss (7.1) and Kundera (2.7.1) and I'm working on a project and I want to use Cassandra dataSource implementing JPA using Kundera. my persistence.xml is as follows: <persistence xmlns="http://java.sun.com/xml/ns/persistence" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"<br/> xsi:schemaLocation="http://java.sun.com/xml/ns/persistence<br/> http://java.sun.com/xml/ns/persistence/persistence_2_0.xsd"<br/> version="1.0"><br/> <persistence-unit name="cassandra_pu"><br/> <provider>com.impetus.kundera.KunderaPersistence</provider><br/> <properties><br/> <property name="kundera.nodes" value="localhost" /><br/> <property name="kundera.port" value="9160" /> <property name="kundera.keyspace" value="ech" /> <property name="kundera.dialect" value="cassandra" /> <property name="kundera.client.lookup.class" value="com.impetus.client.cassandra.thrift.ThriftClientFactory" /> <property name="kundera.cache.provider.class" value="com.impetus.kundera.cache.ehcache.EhCacheProvider"/> <property name="kundera.cache.config.resource" value="/ehcache-test.xml" /> <!-- <property name="jboss.as.jpa.managed" value="false"/>--> </properties> </persistence-unit> </persistence> and my applicationContext.xml is as follows ?<?xml version="1.0" encoding="UTF-8"?> <beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:aop="http://www.springframework.org/schema/aop" xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-3.0.xsd"> <bean id="personDAO" class="com.impetus.kundera.examples.spring.PersonDAO"> <property name="entityManagerFactory" ref="entityManagerFactory" /> </bean> <bean id="entityManagerFactory" class="org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean"> <property name="persistenceUnitName" value="cassandra_pu" /> </bean> </beans> when I remove "jboss.as.jpa.managed = false" property from persistence.xml, i am receiving JBAS011466: PersistenceProvider 'com.impetus.kundera.KunderaPersistence' not found error and if I place "jboss.as.jpa.managed=false" property, i am endup with No persistence unit with name 'cassandra_pu' found error Complete trace for both errors: No persistence unit with name 'cassandra_pu' found --- persistence.xml contains property name="jboss.as.jpa.managed" value="false" Caused by: java.lang.IllegalArgumentException: No persistence unit with name 'cassandra_pu' found at org.springframework.orm.jpa.persistenceunit.DefaultPersistenceUnitManager.obtainPersistenceUnitInfo(DefaultPersistenceUnitManager.java:566) [spring-orm-3.2.4.RELEASE.jar:3.2.4.RELEASE] at org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean.determinePersistenceUnitInfo(LocalContainerEntityManagerFactoryBean.java:308) [spring-orm-3.2.4.RELEASE.jar:3.2.4.RELEASE] at org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean.createNativeEntityManagerFactory(LocalContainerEntityManagerFactoryBean.java:260) [spring-orm-3.2.4.RELEASE.jar:3.2.4.RELEASE] at org.springframework.orm.jpa.AbstractEntityManagerFactoryBean.afterPropertiesSet(AbstractEntityManagerFactoryBean.java:310) [spring-orm-3.2.4.RELEASE.jar:3.2.4.RELEASE] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1541) [spring-beans-3.2.4.RELEASE.jar:3.2.4.RELEASE] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1479) [spring-beans-3.2.4.RELEASE.jar:3.2.4.RELEASE] ... 20 more JBAS011466: PersistenceProvider 'com.impetus.kundera.KunderaPersistence' not found --- remove from persistence.xml - property name="jboss.as.jpa.managed" value="false" Caused by: javax.persistence.PersistenceException: JBAS011466: PersistenceProvider 'com.impetus.kundera.KunderaPersistence' not found at org.jboss.as.jpa.processor.PersistenceUnitDeploymentProcessor.lookupProvider(PersistenceUnitDeploymentProcessor.java:560) at org.jboss.as.jpa.processor.PersistenceUnitDeploymentProcessor.deployPersistenceUnit(PersistenceUnitDeploymentProcessor.java:297) at org.jboss.as.jpa.processor.PersistenceUnitDeploymentProcessor.addPuService(PersistenceUnitDeploymentProcessor.java:260) at org.jboss.as.jpa.processor.PersistenceUnitDeploymentProcessor.handleEarDeployment(PersistenceUnitDeploymentProcessor.java:218) at org.jboss.as.jpa.processor.PersistenceUnitDeploymentProcessor.deploy(PersistenceUnitDeploymentProcessor.java:121) at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:116) [jboss-as-server-7.1.3.Final-redhat-4.jar:7.1.3.Final-redhat-4] ... 5 more jars in ear is cassandra-connection-pool-0.7.1.jar commons-lang-2.4.jar commons-logging-1.1.1.jar commons-pool-1.2.jar guava-14.0.1.jar hibernate-commons-annotations-4.0.2.Final.jar hibernate-core-4.2.3.Final.jar javassist-3.15.0-GA.jar jta-1.1.jar jts-1.11.jar kundera-cassandra-2.7.1.jar kundera-core-2.7.1.jar lucene-core-3.5.0.jar persistence-api-1.0.jar slf4j-api-1.7.2.jar spring-beans-3.0.0.RELEASE.jar spring-context-3.0.0.RELEASE.jar spring-core-3.0.0.RELEASE.jar spring-jdbc-3.0.0.RELEASE.jar spring-orm-3.0.0.RELEASE.jar spring-tx-3.0.0.RELEASE.jar P.S - I dont have any jpa related folders under \JBOSS_HOME>\modules\org\apache and my persistence.xml is present under MyEAR.ear>META-INF>persistence.xml (along with application.xml, jboss-deployment-structure.xml and MANIFEST.MF) Hope I've provided all the necessary informations. I am stuck from entire day at this. Any help is highly appreciated. Thank you.
This should help you out. please have a look at https://github.com/impetus-opensource/Kundera/issues/390 https://github.com/impetus-opensource/Kundera/issues/180
system-properties In standalone-full.xml
Jboss version: jboss-as-7.1.0.Final can we add <system-properties> <property name="x" value="/opt/db/common"/> </system-properties> In standalone-full.xml? I am getting below error: 20:54:35,726 INFO [org.jboss.modules] JBoss Modules version 1.1.1.GA 20:54:35,884 INFO [org.jboss.msc] JBoss MSC version 1.0.2.GA 20:54:35,942 INFO [org.jboss.as] JBAS015899: JBoss AS 7.1.0.Final "Thunder" starting 20:54:36,575 INFO [org.jboss.as] JBAS015950: JBoss AS 7.1.0.Final "Thunder" stopped in 5ms 20:54:36,569 ERROR [org.jboss.as.controller] JBAS014601: Error booting the container: java.lang.RuntimeException: org.jboss.as.controller.persistence.ConfigurationPersistenceException: JBAS014676: Failed to parse configuration at org.jboss.as.controller.AbstractControllerService$1.run(AbstractControllerService.java:161) [jboss-as-controller-7.1.0.Final.jar:7.1.0.Final] at java.lang.Thread.run(Thread.java:662) [rt.jar:1.6.0_23] Caused by: org.jboss.as.controller.persistence.ConfigurationPersistenceException: JBAS014676: Failed to parse configuration at org.jboss.as.controller.persistence.XmlConfigurationPersister.load(XmlConfigurationPersister.java:125) [jboss-as-controller-7.1.0.Final.jar:7.1.0.Final] at org.jboss.as.controller.AbstractControllerService.boot(AbstractControllerService.java:187) [jboss-as-controller-7.1.0.Final.jar:7.1.0.Final] at org.jboss.as.server.ServerService.boot(ServerService.java:261) [jboss-as-server-7.1.0.Final.jar:7.1.0.Final] at org.jboss.as.controller.AbstractControllerService$1.run(AbstractControllerService.java:155) [jboss-as-controller-7.1.0.Final.jar:7.1.0.Final] ... 1 more Caused by: javax.xml.stream.XMLStreamException: ParseError at [row,col]:[479,1] Message: JBAS014789: Unexpected element '{urn:jboss:domain:1.1}system-properties' encountered at org.jboss.as.controller.parsing.ParseUtils.unexpectedElement(ParseUtils.java:85) [jboss-as-controller-7.1.0.Final.jar:7.1.0.Final] at org.jboss.as.server.parsing.StandaloneXml.readServerElement_1_1(StandaloneXml.java:350) [jboss-as-server-7.1.0.Final.jar:7.1.0.Final] at org.jboss.as.server.parsing.StandaloneXml.readElement(StandaloneXml.java:126) [jboss-as-server-7.1.0.Final.jar:7.1.0.Final] at org.jboss.as.server.parsing.StandaloneXml.readElement(StandaloneXml.java:100) [jboss-as-server-7.1.0.Final.jar:7.1.0.Final] at org.jboss.staxmapper.XMLMapperImpl.processNested(XMLMapperImpl.java:110) [staxmapper-1.1.0.Final.jar:1.1.0.Final] at org.jboss.staxmapper.XMLMapperImpl.parseDocument(XMLMapperImpl.java:69) [staxmapper-1.1.0.Final.jar:1.1.0.Final] at org.jboss.as.controller.persistence.XmlConfigurationPersister.load(XmlConfigurationPersister.java:117) [jboss-as-controller-7.1.0.Final.jar:7.1.0.Final] ... 4 more at [row,col]:[479,1] I am having below entry: <system-properties> <property name="x" value="/opt/db/common"/> <property name="y" value="/opt/db/engine/work/q22222-161-1/engine/info/exye/2.0/files/config.xml"/> <property name="z" value="/opt/db/engine/work/q22222-161-1/engine/info/exye/2.0"/> <property name="m" value="/opt/db/engine/work/q22222-161-1/engine/info/exye/2.0/log"/> <property name="n" value="Member1"/> <property name="log4j.ignoreTCL" value="true"/> <property name="org.apache.tomcat.util.http.Parameters.MAX_COUNT" value="5000"/> </system-properties>
IIRC it's been fixed upstream, but some versions require the <system-properties/> to be directly under the <extensions/> tag. Try something like: <?xml version='1.0' encoding='UTF-8'?> <server xmlns="urn:jboss:domain:1.1"> <extensions> ... </extensions> <system-properties> <property name="x" value="/opt/db/common"/> <property name="y" value="/opt/db/engine/work/q22222-161-1/engine/info/exye/2.0/files/config.xml"/> <property name="z" value="/opt/db/engine/work/q22222-161-1/engine/info/exye/2.0"/> <property name="m" value="/opt/db/engine/work/q22222-161-1/engine/info/exye/2.0/log"/> <property name="n" value="Member1"/> <property name="log4j.ignoreTCL" value="true"/> <property name="org.apache.tomcat.util.http.Parameters.MAX_COUNT" value="5000"/> </system-properties> ... </server>
org.apache.axiom.om.OMException: Part content ID cannot be blank for non root MIME parts
I am trying to build WSO2-4.4.1 through Maven-2.2.1 when i run command mvn clean install >Wso2Log.txt it will run 10-20 hr after that it will give error build faild error. If any one have some valuable time please help me thanx. [INFO] ------------------------------------------------------------------------ [ERROR] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] There are test failures. Please refer to /home/uddi/mpf/wso2greg-4.1.1-src/dependencies/axis2/1.6.1-wso2v1/modules/saaj/target/surefire-reports for the individual test results. [INFO] ------------------------------------------------------------------------ [INFO] For more information, run Maven with the -e switch [INFO] ------------------------------------------------------------------------ [INFO] Total time: 869 minutes 47 seconds [INFO] Finished at: Fri Jun 08 18:03:03 IST 2012 [INFO] Final Memory: 407M/2727M [INFO] ------------------------------------------------------------------------ My Individual test result is given bellow <?xml version="1.0" encoding="UTF-8" ?> <testsuite failures="0" time="7.535" errors="1" skipped="0" tests="7" name="org.apache.axis2.saaj.integration.IntegrationTest"> <properties> <property name="java.vendor" value="Sun Microsystems Inc."/> <property name="javax.xml.soap.SOAPFactory" value="org.apache.axis2.saaj.SOAPFactoryImpl"/> <property name="env.LESSOPEN" value="|/usr/bin/lesspipe.sh %s"/> <property name="localRepository" value="/home/uddi/.m2/repository"/> <property name="env.ORACLE_HOME" value="/home/uddi/app/uddi/product/11.2.0/dbhome_1"/> <property name="sun.java.launcher" value="SUN_STANDARD"/> <property name="sun.management.compiler" value="HotSpot Tiered Compilers"/> <property name="os.name" value="Linux"/> <property name="sun.boot.class.path" value="/home/uddi/mpf/jdk1.6.0_25/jre/lib/resources.jar:/home/uddi/mpf/jdk1.6.0_25/jre/lib/rt.jar:/home/uddi/mpf/jdk1.6.0_25/jre/lib/sunrsasign.jar:/home/uddi/mpf/jdk1.6.0_25/jre/lib/jsse.jar:/home/uddi/mpf/jdk1.6.0_25/jre/lib/jce.jar:/home/uddi/mpf/jdk1.6.0_25/jre/lib/charsets.jar:/home/uddi/mpf/jdk1.6.0_25/jre/lib/modules/jdk.boot.jar:/home/uddi/mpf/jdk1.6.0_25/jre/classes"/> <property name="env.PWD" value="/home/uddi/mpf/wso2greg-4.1.1-src"/> <property name="env.ORACLE_SID" value="orcl"/> <property name="env.LANG" value="en_US.UTF-8"/> <property name="java.vm.specification.vendor" value="Sun Microsystems Inc."/> <property name="java.runtime.version" value="1.6.0_25-b06"/> <property name="env.HISTSIZE" value="1000"/> <property name="user.name" value="uddi"/> <property name="env.USER" value="uddi"/> <property name="env.SHELL" value="/bin/bash"/> <property name="env.KDEDIR" value="/usr"/> <property name="env.QTLIB" value="/usr/lib64/qt-3.3/lib"/> <property name="env.SSH_TTY" value="/dev/pts/4"/> <property name="env.NLSPATH" value="/usr/dt/lib/nls/msg/%L/%N.cat"/> <property name="javax.xml.soap.MetaFactory" value="org.apache.axis2.saaj.SAAJMetaFactoryImpl"/> <property name="env.PATH" value="/home/uddi/mpf/jdk1.6.0_25/bin:.:/home/uddi/mpf/apache-ant-1.8.4/bin:/home/uddi/mpf/apache-maven-2.2.1/bin:/home/uddi/mpf/jdk1.6.0_25/bin:.:/usr/lib64/qt-3.3/bin:/usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin:/home/uddi/bin"/> <property name="user.language" value="en"/> <property name="sun.boot.library.path" value="/home/uddi/mpf/jdk1.6.0_25/jre/lib/i386"/> <property name="classworlds.conf" value="/home/uddi/mpf/apache-maven-2.2.1/bin/m2.conf"/> <property name="env.SSH_CONNECTION" value="172.16.16.117 49123 172.16.16.18 22"/> <property name="java.version" value="1.6.0_25"/> <property name="env.SSH_CLIENT" value="172.16.16.117 49123 22"/> <property name="user.timezone" value="Asia/Calcutta"/> <property name="sun.arch.data.model" value="32"/> <property name="java.endorsed.dirs" value="/home/uddi/mpf/jdk1.6.0_25/jre/lib/endorsed"/> <property name="sun.cpu.isalist" value=""/> <property name="sun.jnu.encoding" value="UTF-8"/> <property name="file.encoding.pkg" value="sun.io"/> <property name="env.SHLVL" value="1"/> <property name="file.separator" value="/"/> <property name="env.HOSTNAME" value="ssdg3"/> <property name="java.specification.name" value="Java Platform API Specification"/> <property name="env.QTDIR" value="/usr/lib64/qt-3.3"/> <property name="java.class.version" value="50.0"/> <property name="user.country" value="US"/> <property name="java.home" value="/home/uddi/mpf/jdk1.6.0_25/jre"/> <property name="java.vm.info" value="mixed mode"/> <property name="env.LOGNAME" value="uddi"/> <property name="os.version" value="2.6.18-194.el5"/> <property name="env.G_BROKEN_FILENAMES" value="1"/> <property name="path.separator" value=":"/> <property name="java.vm.version" value="20.0-b11"/> <property name="env.QTINC" value="/usr/lib64/qt-3.3/include"/> <property name="env.JAVA_HOME" value="/home/uddi/mpf/jdk1.6.0_25"/> <property name="java.awt.printerjob" value="sun.print.PSPrinterJob"/> <property name="env.TERM" value="xterm"/> <property name="sun.io.unicode.encoding" value="UnicodeLittle"/> <property name="user.home" value="/home/uddi"/> <property name="java.specification.vendor" value="Sun Microsystems Inc."/> <property name="env.M2_HOME" value="/home/uddi/mpf/apache-maven-2.2.1"/> <property name="java.library.path" value="/home/uddi/mpf/jdk1.6.0_25/jre/lib/i386/server:/home/uddi/mpf/jdk1.6.0_25/jre/lib/i386:/home/uddi/mpf/jdk1.6.0_25/jre/../lib/i386:/usr/java/packages/lib/i386:/lib:/usr/lib"/> <property name="java.vendor.url" value="http://java.sun.com/"/> <property name="java.vm.vendor" value="Sun Microsystems Inc."/> <property name="maven.home" value="/home/uddi/mpf/apache-maven-2.2.1"/> <property name="java.runtime.name" value="Java(TM) SE Runtime Environment"/> <property name="sun.java.command" value="org.codehaus.classworlds.Launcher "clean" "install""/> <property name="java.class.path" value="/home/uddi/mpf/apache-maven-2.2.1/boot/classworlds-1.1.jar"/> <property name="env.CVS_RSH" value="ssh"/> <property name="env.XFILESEARCHPATH" value="/usr/dt/app-defaults/%L/Dt"/> <property name="java.vm.specification.name" value="Java Virtual Machine Specification"/> <property name="java.vm.specification.version" value="1.0"/> <property name="sun.os.patch.level" value="unknown"/> <property name="sun.cpu.endian" value="little"/> <property name="com.sun.org.apache.xerces.internal.xni.parser.XMLParserConfiguration" value="com.sun.org.apache.xerces.internal.parsers.XIncludeParserConfiguration"/> <property name="java.awt.headless" value="true"/> <property name="env.HOME" value="/home/uddi"/> <property name="env.ANT_HOME" value="/home/uddi/mpf/apache-ant-1.8.4"/> <property name="surefire.test.class.path" value="/home/uddi/mpf/wso2greg-4.1.1-src/dependencies/axis2/1.6.1-wso2v1/modules/saaj/target/test-classes:/home/uddi/mpf/wso2greg-4.1.1-src/dependencies/axis2/1.6.1-wso2v1/modules/saaj/target/classes:/home/uddi/.m2/repository/org/apache/geronimo/specs/geronimo-saaj_1.3_spec/1.0.1/geronimo-saaj_1.3_spec-1.0.1.jar:/home/uddi/.m2/repository/org/apache/ws/commons/axiom/axiom-dom/1.2.11/axiom-dom-1.2.11.jar:/home/uddi/.m2/repository/org/apache/ws/commons/axiom/axiom-api/1.2.11/axiom-api-1.2.11.jar:/home/uddi/.m2/repository/org/apache/geronimo/specs/geronimo-activation_1.1_spec/1.0.2/geronimo-activation_1.1_spec-1.0.2.jar:/home/uddi/.m2/repository/org/apache/geronimo/specs/geronimo-javamail_1.4_spec/1.6/geronimo-javamail_1.4_spec-1.6.jar:/home/uddi/.m2/repository/commons-logging/commons-logging/1.1.1/commons-logging-1.1.1.jar:/home/uddi/.m2/repository/jaxen/jaxen/1.1.1/jaxen-1.1.1.jar:/home/uddi/.m2/repository/org/apache/geronimo/specs/geronimo-stax-api_1.0_spec/1.0.1/geronimo-stax-api_1.0_spec-1.0.1.jar:/home/uddi/.m2/repository/org/codehaus/woodstox/wstx-asl/3.2.9/wstx-asl-3.2.9.jar:/home/uddi/mpf/wso2greg-4.1.1-src/dependencies/axis2/1.6.1-wso2v1/modules/adb/target/axis2-adb-1.6.1-wso2v1.jar:/home/uddi/mpf/wso2greg-4.1.1-src/dependencies/axis2/1.6.1-wso2v1/modules/kernel/target/axis2-kernel-1.6.1-wso2v1.jar:/home/uddi/.m2/repository/org/apache/ws/commons/axiom/axiom-impl/1.2.11/axiom-impl-1.2.11.jar:/home/uddi/.m2/repository/org/apache/geronimo/specs/geronimo-ws-metadata_2.0_spec/1.1.2/geronimo-ws-metadata_2.0_spec-1.1.2.jar:/home/uddi/.m2/repository/org/apache/geronimo/specs/geronimo-jta_1.1_spec/1.1/geronimo-jta_1.1_spec-1.1.jar:/home/uddi/.m2/repository/javax/servlet/servlet-api/2.3/servlet-api-2.3.jar:/home/uddi/.m2/repository/commons-httpclient/commons-httpclient/3.1/commons-httpclient-3.1.jar:/home/uddi/.m2/repository/commons-codec/commons-codec/1.3/commons-codec-1.3.jar:/home/uddi/.m2/repository/commons-fileupload/commons-fileupload/1.2/commons-fileupload-1.2.jar:/home/uddi/.m2/repository/wsdl4j/wsdl4j/1.6.2/wsdl4j-1.6.2.jar:/home/uddi/.m2/repository/org/apache/ws/commons/schema/XmlSchema/1.4.7-wso2v1/XmlSchema-1.4.7-wso2v1.jar:/home/uddi/.m2/repository/org/apache/neethi/neethi/2.0.4/neethi-2.0.4.jar:/home/uddi/.m2/repository/org/apache/woden/woden-api/1.0M9/woden-api-1.0M9.jar:/home/uddi/.m2/repository/org/apache/woden/woden-impl-dom/1.0M9/woden-impl-dom-1.0M9.jar:/home/uddi/.m2/repository/org/apache/woden/woden-impl-commons/1.0M9/woden-impl-commons-1.0M9.jar:/home/uddi/.m2/repository/javax/ws/rs/jsr311-api/1.0/jsr311-api-1.0.jar:/home/uddi/.m2/repository/org/wso2/securevault/org.wso2.securevault/1.0.0/org.wso2.securevault-1.0.0.jar:/home/uddi/.m2/repository/log4j/log4j/1.2.15/log4j-1.2.15.jar:/home/uddi/.m2/repository/jline/jline/0.9.94/jline-0.9.94.jar:/home/uddi/.m2/repository/junit/junit/4.4/junit-4.4.jar:/home/uddi/.m2/repository/commons-cli/commons-cli/1.2/commons-cli-1.2.jar:/home/uddi/.m2/repository/commons-io/commons-io/1.4/commons-io-1.4.jar:/home/uddi/.m2/repository/org/apache/axis2/axis2-transport-http/1.6.1-wso2v1/axis2-transport-http-1.6.1-wso2v1.jar:/home/uddi/.m2/repository/org/apache/httpcomponents/httpcore/4.0/httpcore-4.0.jar:/home/uddi/.m2/repository/org/apache/axis2/axis2-transport-local/1.6.1-wso2v1/axis2-transport-local-1.6.1-wso2v1.jar:/home/uddi/.m2/repository/xmlunit/xmlunit/1.3/xmlunit-1.3.jar:/home/uddi/.m2/repository/jetty/jetty/5.1.10/jetty-5.1.10.jar:/home/uddi/.m2/repository/com/sun/xml/messaging/saaj/saaj-impl/1.3.2/saaj-impl-1.3.2.jar:/home/uddi/.m2/repository/com/sun/xml/parsers/jaxp-ri/1.4.2/jaxp-ri-1.4.2.jar:/home/uddi/.m2/repository/javax/xml/parsers/jaxp-api/1.4.2/jaxp-api-1.4.2.jar:"/> <property name="java.io.tmpdir" value="/tmp"/> <property name="env.LD_LIBRARY_PATH" value="/home/uddi/mpf/jdk1.6.0_25/jre/lib/i386/server:/home/uddi/mpf/jdk1.6.0_25/jre/lib/i386:/home/uddi/mpf/jdk1.6.0_25/jre/../lib/i386"/> <property name="env.LS_COLORS" value="no=00:fi=00:di=00;34:ln=00;36:pi=40;33:so=00;35:bd=40;33;01:cd=40;33;01:or=01;05;37;41:mi=01;05;37;41:ex=00;32:*.cmd=00;32:*.exe=00;32:*.com=00;32:*.btm=00;32:*.bat=00;32:*.sh=00;32:*.csh=00;32:*.tar=00;31:*.tgz=00;31:*.arj=00;31:*.taz=00;31:*.lzh=00;31:*.zip=00;31:*.z=00;31:*.Z=00;31:*.gz=00;31:*.bz2=00;31:*.bz=00;31:*.tz=00;31:*.rpm=00;31:*.cpio=00;31:*.jpg=00;35:*.gif=00;35:*.bmp=00;35:*.xbm=00;35:*.xpm=00;35:*.png=00;35:*.tif=00;35:"/> <property name="java.vendor.url.bug" value="http://java.sun.com/cgi-bin/bugreport.cgi"/> <property name="env.MAVEN_OPTS" value="-Xms256m -Xmx3072m"/> <property name="env.KDE_NO_IPV6" value="1"/> <property name="java.awt.graphicsenv" value="sun.awt.X11GraphicsEnvironment"/> <property name="os.arch" value="i386"/> <property name="java.ext.dirs" value="/home/uddi/mpf/jdk1.6.0_25/jre/lib/ext:/usr/java/packages/lib/ext"/> <property name="user.dir" value="/home/uddi/mpf/wso2greg-4.1.1-src/dependencies/axis2/1.6.1-wso2v1/modules/saaj"/> <property name="line.separator" value=" "/> <property name="env.INPUTRC" value="/etc/inputrc"/> <property name="java.vm.name" value="Java HotSpot(TM) Server VM"/> <property name="basedir" value="/home/uddi/mpf/wso2greg-4.1.1-src/dependencies/axis2/1.6.1-wso2v1/modules/saaj"/> <property name="javax.xml.soap.MessageFactory" value="org.apache.axis2.saaj.MessageFactoryImpl"/> <property name="env.M2" value="/home/uddi/mpf/apache-maven-2.2.1/bin"/> <property name="javax.xml.soap.SOAPConnectionFactory" value="org.apache.axis2.saaj.SOAPConnectionFactoryImpl"/> <property name="file.encoding" value="UTF-8"/> <property name="env.MAIL" value="/var/spool/mail/uddi"/> <property name="java.specification.version" value="1.6"/> <property name="env.KDE_IS_PRELINKED" value="1"/> <property name="env.SSH_ASKPASS" value="/usr/libexec/openssh/gnome-ssh-askpass"/> </properties> <testcase time="0.236" classname="org.apache.axis2.saaj.integration.IntegrationTest" name="testSendReceiveMessageWithEmptyNSPrefix"/> <testcase time="0.039" classname="org.apache.axis2.saaj.integration.IntegrationTest" name="testSendReceiveSimpleSOAPMessage"/> <testcase time="0.072" classname="org.apache.axis2.saaj.integration.IntegrationTest" name="testSendReceiveMessageWithAttachment"/> <testcase time="0.036" classname="org.apache.axis2.saaj.integration.IntegrationTest" name="testSendReceive_ISO88591_EncodedSOAPMessage"/> <testcase time="0.024" classname="org.apache.axis2.saaj.integration.IntegrationTest" name="testCallWithSOAPAction"/> <testcase time="0.023" classname="org.apache.axis2.saaj.integration.IntegrationTest" name="testCallMTOM"> <error message="org.apache.axiom.om.OMException: Part content ID cannot be blank for non root MIME parts" type="javax.xml.soap.SOAPException">javax.xml.soap.SOAPException: org.apache.axiom.om.OMException: Part content ID cannot be blank for non root MIME parts at org.apache.axis2.saaj.SOAPMessageImpl.<init>(SOAPMessageImpl.java:108) at org.apache.axis2.saaj.MessageFactoryImpl.createMessage(MessageFactoryImpl.java:132) at org.apache.axis2.saaj.integration.IntegrationTest.testCallMTOM(IntegrationTest.java:363) 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:597) at org.junit.internal.runners.TestMethod.invoke(TestMethod.java:59) at org.junit.internal.runners.MethodRoadie.runTestMethod(MethodRoadie.java:98) at org.junit.internal.runners.MethodRoadie$2.run(MethodRoadie.java:79) at org.junit.internal.runners.MethodRoadie.runBeforesThenTestThenAfters(MethodRoadie.java:87) at org.junit.internal.runners.MethodRoadie.runTest(MethodRoadie.java:77) at org.junit.internal.runners.MethodRoadie.run(MethodRoadie.java:42) at org.junit.internal.runners.JUnit4ClassRunner.invokeTestMethod(JUnit4ClassRunner.java:88) at org.apache.axis2.saaj.SAAJTestRunner.invokeTestMethod(SAAJTestRunner.java:134) at org.junit.internal.runners.JUnit4ClassRunner.runMethods(JUnit4ClassRunner.java:51) at org.junit.internal.runners.JUnit4ClassRunner$1.run(JUnit4ClassRunner.java:44) at org.junit.internal.runners.ClassRoadie.runUnprotected(ClassRoadie.java:27) at org.junit.internal.runners.ClassRoadie.runProtected(ClassRoadie.java:37) at org.junit.internal.runners.JUnit4ClassRunner.run(JUnit4ClassRunner.java:42) at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:62) at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:140) at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:127) at org.apache.maven.surefire.Surefire.run(Surefire.java:177) 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:597) at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:338) at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:997) Caused by: org.apache.axiom.om.OMException: Part content ID cannot be blank for non root MIME parts at org.apache.axiom.attachments.Attachments.getNextPartDataHandler(Attachments.java:648) at org.apache.axiom.attachments.Attachments.getDataHandler(Attachments.java:350) at org.apache.axiom.attachments.Attachments.<init>(Attachments.java:247) at org.apache.axiom.attachments.Attachments.<init>(Attachments.java:267) at org.apache.axis2.saaj.SOAPMessageImpl.<init>(SOAPMessageImpl.java:84) ... 29 more </error> </testcase> <testcase time="2.043" classname="org.apache.axis2.saaj.integration.IntegrationTest" name="testConnectionCleanup"/> </testsuite>
It seems test failure, try with: mvn <commands> -Dmaven.test.skip=true Regards,