Both jars have the source code in them.
Put port_ext_lib_jar.jar in glassfish/lib and then start glassfish.
Drop port_ext_lib.war in glassfish/dommains/domain1/autodeploy
Source code is in port_ext_lib.jar
You should see something like:
[#|2012-08-14T16:31:53.056-0400|SEVERE|44.0|javax.enterprise.system.tools.admin.org.glassfish.deployment.admin|_ThreadID=12;_ThreadName=AutoDeployer;|Exception while loading the app : WELD-001408 Unsatisfied dependencies for type [AnotherBean] with qualifiers [@Default] at injection point [[field] @Inject private port_ext_lib_jar.PELLibBean.anotherBean]
org.jboss.weld.exceptions.DeploymentException: WELD-001408 Unsatisfied dependencies for type [AnotherBean] with qualifiers [@Default] at injection point [[field] @Inject private port_ext_lib_jar.PELLibBean.anotherBean]
Both jars have the source code in them.
Put port_ext_lib_jar.jar in glassfish/lib and then start glassfish.
Drop port_ext_lib.war in glassfish/dommains/domain1/autodeploy
Source code is in port_ext_lib.jar
You should see something like:
[#|2012-08-14T16:31:53.056-0400|SEVERE|44.0|javax.enterprise.system.tools.admin.org.glassfish.deployment.admin|_ThreadID=12;_ThreadName=AutoDeployer;|Exception while loading the app : WELD-001408 Unsatisfied dependencies for type [AnotherBean] with qualifiers [@Default] at injection point [[field] @Inject private port_ext_lib_jar.PELLibBean.anotherBean]
org.jboss.weld.exceptions.DeploymentException: WELD-001408 Unsatisfied dependencies for type [AnotherBean] with qualifiers [@Default] at injection point [[field] @Inject private port_ext_lib_jar.PELLibBean.anotherBean]