since ‎28-07-2017
‎10-12-2019
Tapan_Agrawal
Level 1
Re: Convert jars to OSGi bundles Tapan_Agrawal - Adobe Experience Manager
I tried to embed the "hive-jdbc" jar into my application bundle. Following were the changes I did.core pom.xmlui-apps pom.xmlmain pom.xmlHowever, the application bundle is in installed stage and found this in the error.logAnything I am missing here?
6315
Views
0
Likes
0
Replies
Re: Convert jars to OSGi bundles Tapan_Agrawal - Adobe Experience Manager
Hi, this method applies only to jar that doesn't have any dependencies. hive-jdbc has dependency on 12 other jars. please suggest
6315
Views
0
Likes
5
Replies
Convert jars to OSGi bundles Tapan_Agrawal - Adobe Experience Manager
Hi,I have a maven dependency org.apache.hive hive-jdbc 2.1.1The jar and its dependencies don't have any OSGi bundle definition like symbolic bundle name under the manifest file. How do I convert it into OSGi bundle so that the jar and its dependencies can be successfully installed into AEM.
6621
Views
0
Likes
8
Replies
Re: AEM Hive error Tapan_Agrawal - Adobe Experience Manager
I am using AEM 6.4 and have Maven Archetype 13 setup in IntelliJ. After build maven also deploys the bundles to my local instance. Not sure if updating the Manifest in bundle manually will help in the long run. Please suggest
5699
Views
0
Likes
0
Replies
AEM Hive error Tapan_Agrawal - Adobe Experience Manager
I am trying to connect to Hive through JDBC.Class.forName("org.apache.hive.jdbc.HiveDriver");Connection con = DriverManager.getConnection("jdbc:hive2://hs2prod.corp.adobe.com:10000/default", "user", "pass");Statement sql = con.createStatement();ResultSet res = sql.executeQuery("SELECT * FROM TABLE_NAME" );Have added the following dependency to pom.xml org.apache.hive hive-jdbc 2.1.1 providedBuild is success but the OSGi bundle status shows installed instead of active with an error - javax.annota...
5804
Views
0
Likes
3
Replies