BSSV - JP55HOL

w2vijay

w2vijay

Well Known Member
Guys,

To get the BSSV knowledge I am creating sample published business service JP55HOL with the help of oracle hand book. While deploying to integrated web logic server I am getting the below errors.

Can anyone tell me how to resolve the issue.


Running application DV910 on Server Instance IntegratedWebLogicServer...]
[05:35:45 PM] ---- Deployment started. ----
[05:35:45 PM] Target platform is (Weblogic 10.3).
[05:35:47 PM] Retrieving existing application information
[05:35:47 PM] Running dependency analysis...
[05:35:47 PM] Deploying 2 profiles...
[05:35:47 PM] Wrote Web Application Module to C:\Users\VKumar\AppData\Roaming\JDeveloper\system11.1.1.5.37.60.13\o.j2ee\drs\DV910\JP55HOLWebApp.war
[05:35:48 PM] Wrote Enterprise Application Module to C:\Users\VKumar\AppData\Roaming\JDeveloper\system11.1.1.5.37.60.13\o.j2ee\drs\DV910
[05:35:48 PM] Deploying Application...
<Apr 30, 2014 5:35:49 PM PDT> <Error> <Deployer> <BEA-149265> <Failure occurred in the execution of deployment request with ID '1398904548925' for task '0'. Error is: 'weblogic.management.DeploymentException: '
weblogic.management.DeploymentException:
at weblogic.application.internal.BaseDeployment.throwAppException(BaseDeployment.java:79)
at weblogic.application.internal.BaseDeployment.prepare(BaseDeployment.java:186)
at weblogic.application.internal.EarDeployment.prepare(EarDeployment.java:58)
at weblogic.application.internal.DeploymentStateChecker.prepare(DeploymentStateChecker.java:154)
at weblogic.deploy.internal.targetserver.AppContainerInvoker.prepare(AppContainerInvoker.java:60)
Truncated. see log file for complete stacktrace
Caused By: java.lang.ClassNotFoundException: oracle.e1.bssvfoundation.base.PublishedBusinessService
at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:297)
at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:270)
at weblogic.utils.classloaders.ChangeAwareClassLoader.findClass(ChangeAwareClassLoader.java:64)
at java.lang.ClassLoader.loadClass(ClassLoader.java:305)
at java.lang.ClassLoader.loadClass(ClassLoader.java:246)
Truncated. see log file for complete stacktrace
>
<Apr 30, 2014 5:35:50 PM PDT> <Warning> <Deployer> <BEA-149004> <Failures were detected while initiating deploy task for application 'DV910'.>
<Apr 30, 2014 5:35:50 PM PDT> <Warning> <Deployer> <BEA-149078> <Stack trace for message 149004
weblogic.management.DeploymentException:
at weblogic.application.internal.BaseDeployment.throwAppException(BaseDeployment.java:79)
at weblogic.application.internal.BaseDeployment.prepare(BaseDeployment.java:186)
at weblogic.application.internal.EarDeployment.prepare(EarDeployment.java:58)
at weblogic.application.internal.DeploymentStateChecker.prepare(DeploymentStateChecker.java:154)
at weblogic.deploy.internal.targetserver.AppContainerInvoker.prepare(AppContainerInvoker.java:60)
Truncated. see log file for complete stacktrace
Caused By: java.lang.ClassNotFoundException: oracle.e1.bssvfoundation.base.PublishedBusinessService
at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:297)
at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:270)
at weblogic.utils.classloaders.ChangeAwareClassLoader.findClass(ChangeAwareClassLoader.java:64)
at java.lang.ClassLoader.loadClass(ClassLoader.java:305)
at java.lang.ClassLoader.loadClass(ClassLoader.java:246)
Truncated. see log file for complete stacktrace
>
#### Cannot run application DV910 due to error deploying to IntegratedWebLogicServer.
[05:35:50 PM] #### Deployment incomplete. ####
[05:35:50 PM] Remote deployment failed (oracle.jdevimpl.deploy.common.Jsr88RemoteDeployer)
[Application DV910 stopped and undeployed from Server Instance IntegratedWebLogicServer]
 
It looks like bssv development environment hasn't been set properly.

You might just use test java class and run/debug it in JDeveloper (invoke run/debug over test java class, not the published bssv).

Copy all the standard bssv's from deployment server (or get in omw), search for string "TestBusinessService" and you will see many test classes.

Here is small custom class to run a bssv.

<font class="small">Code:</font><hr /><pre>
public class AcmeInterfaceManagerTest
{
public AcmeInterfaceManagerTest()
{
super();
}


public static void main(String[] args)
{
getAuditInfo();
}


public static void getAuditInfo()
{
try
{
// Get AuditInfo - Begin
TestBusinessService.startTest();
GetAuditInfo_voInput voInput = new GetAuditInfo_voInput();
AcmeInterfaceManager manager = new AcmeInterfaceManager();
GetAuditInfo_voOutput voOutput = new GetAuditInfo_voOutput();
System.out.println(voInput.toString());
voOutput = manager.getAuditInfo(voInput);
System.out.println(voOutput.toString());
// Get AuditInfo - End
}
catch (Exception e)
{
e.printStackTrace();
System.out.println(e.getMessage());
}
finally
{
TestBusinessService.finishTest();
}
}
}
</pre><hr />
 
Vijay,
From you post it looks like you are trying to run it locally on your fat client?. I see the class not found error in the log you posted so looks more of setup issue or intall issue on your machine as said by previous post.

Check on what class or files you are missing. Normally the line would be red where JDeveloper is not able to resolve the definition/class properly during compile.
You might have to take help from CNC on setup.
Your post is missing basic E1 info. Is this an actual instance or you are testing on demo version?.

Thanks,
Chan
 
Back
Top