This discussion is archived
1 Reply Latest reply: Feb 17, 2012 3:52 AM by 918242 RSS

How to upload custom shared library to Webcenter Spaces 11.1.1.5?

Leon Newbie
Currently Being Moderated
I'm using SampleWebCenterSpacesExtensions example application
and I need customize people connections invitation. For this goal I use
     oracle.webcenter.peopleconnections.connections.ConnectionsException;
     oracle.webcenter.peopleconnections.connections.ConnectionsServiceFactory;
     oracle.webcenter.peopleconnections.connections.InvitationsManager;
classes and I put customize code into the ProfileAttributes project.
I can compile the project , but get exceptions during ant run (clear-stage):
[javac] Compiling 11 source files to c:\Work\WebCenter\ElbitWebCenterSpacesExtensions\ProfileAttributes\classes
[javac] c:\Work\WebCenter\ElbitWebCenterSpacesExtensions\ProfileAttributes\src\custom\webcenter\spaces\CustomProfileImpl.java:15: package oracle.webcenter.peopleconnections.connections does not exist
[javac] import oracle.webcenter.peopleconnections.connections.ConnectionsException;
[javac] ^
[javac] c:\Work\WebCenter\ElbitWebCenterSpacesExtensions\ProfileAttributes\src\custom\webcenter\spaces\CustomProfileImpl.java:16: package oracle.webcenter.peopleconnections.connections does not exist
[javac] import oracle.webcenter.peopleconnections.connections.ConnectionsServiceFactory;
[javac] ^
[javac] c:\Work\WebCenter\ElbitWebCenterSpacesExtensions\ProfileAttributes\src\custom\webcenter\spaces\CustomProfileImpl.java:17: package oracle.webcenter.peopleconnections.connections does not exist
[javac] import oracle.webcenter.peopleconnections.connections.InvitationsManager;

Ant clean and deploy run successfully after adding:
<pathelement location="${jdeveloper.install.home.directory}/jdeveloper/webcenter/modules/oracle.webcenter.framework_11.1.1/peopleconnections-connections-model.jar"/>
Under <path id="custom.profile.attribute.classpath"> node in WebCenterSpacesSharedLibExtension\internal-targets.xml
I can see deployments on weblogic but get:
     OracleJSP error: oracle.jsp.parse.JavaCodeException: Line # 6, oracle.jsp.parse.JspParseTagScriptlet@346b3259
     Error: Java code in jsp source files is not allowed in ojsp.next mode.
On Webcenter Spaces login page.
JDeveloper 11.1.1.5

Maybe someone neet this problem before or know how to solve it.
Thanks

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points