Tapan_Agrawal
Community profile Tapan_Agrawal Level 1
Job title here
Location here
0 BADGES
Level 1

Level 1

Learn more
Joined the community 28-07-2017 12:29:50 AM
Offline
Top badges earned by Tapan_Agrawal
Customize the badges you want to showcase on your profile
Re: Convert jars to OSGi bundles
Avatar
Level 1
Tapan_Agrawal
Level 1

Likes

0 likes

Total Posts

5 posts

Correct reply

0 solutions
View profile
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?

Views

6.9K

Likes

0

Replies

0
Re: Convert jars to OSGi bundles
Avatar
Level 1
Tapan_Agrawal
Level 1

Likes

0 likes

Total Posts

5 posts

Correct reply

0 solutions
View profile
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

Views

6.9K

Likes

0

Replies

5
Convert jars to OSGi bundles
Avatar
Level 1
Tapan_Agrawal
Level 1

Likes

0 likes

Total Posts

5 posts

Correct reply

0 solutions
View profile
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.

Views

7.2K

Likes

0

Replies

8
Re: AEM Hive error
Avatar
Level 1
Tapan_Agrawal
Level 1

Likes

0 likes

Total Posts

5 posts

Correct reply

0 solutions
View profile
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

Views

6.0K

Likes

0

Replies

0
AEM Hive error
Avatar
Level 1
Tapan_Agrawal
Level 1

Likes

0 likes

Total Posts

5 posts

Correct reply

0 solutions
View profile
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...

Views

6.1K

Likes

0

Replies

3