Deploy psconsole in different container
Hey All,
Is it possible to deploy the psconsole to a different container than the portal itself? Both containers would be Sun One Web Server. Just wanted to have them on different web servers.
Thanks
You can just deploy the psconsole.war file onto another webcontainer instance.
Once you have psconsole on the new webcontainer instance functional, you can undeploying the psconsole webapplication from the webcontainer instance running the portal webapp.. using the webcontainer undeploy tool.
Similar Messages
-
Hello,
I developed a custom SharePoint 2013 Application (SharePoint hosted) and everything works fine. If I tried to update the application and I ran into the following error:
The element 'Field' in namespace 'urn:deployment-manifest-schema' cannot contain text. List
of possible elements expected: any element in namespace '##any'.
If I redeploy the application (without update, just a new instance) everything works fine. Only the update scenario throws the exception above.
I tried different things to solve that issue:
I recreated the feature
I checked all the custom field definitions, content types and lists inside the app.
I tried different O365 tenants and a SharePoint 2013 On Premise Development Server (Same problem on all systems)
Can anybody give me a tip to solve that problem?
Thanks in advanceHi,
According to your description, when you try to update your SharePoint Hosted App, an error occurs.
To narrow down the issue, I would suggest you create a simple app without other components in it, deploy it and then update it to see if this error will still occur.
Once you get a workable app without the update issue, then you can add other customizations one after one in this app and perform the update. By doing this, it would
be easier to find out the root cause.
Anyway, you can take a look at the link below about updating app for more information:
http://msdn.microsoft.com/en-us/library/office/dn265910(v=office.15).aspx
Feel free to reply if there any progress.
Thanks
Patrick Liang
Forum Support
Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support,
contact [email protected]
Patrick Liang
TechNet Community Support -
Deploy MDBs in Different WL Instances Subscribed to Same Topic
Let's say I have MDBs X, Y, and Z, each needing to be deployed to a different Weblogic
server. All need to subscribe to the same Topic. How is this done? Specifically,
how is the Topic configured and how are the MBDs deployed?
Thanks,
Jim Goodwin
For your reading enjoyment, I'm posting some of my
internal notes on durable subscriber MDB's. This consolidates
newsgroup information in one place.
Jim Goodwin wrote:
> "Jim Goodwin" <[email protected]> wrote:
>
>>Let's say I have MDBs X, Y, and Z, each needing to be deployed to a different
>>Weblogic
>>server. All need to subscribe to the same Topic. How is this done? Specifically,
>>how is the Topic configured and how are the MBDs deployed?
>>
>>Thanks,
>>
>>Jim Goodwin
>
>
> Bah! Nevermind. I found the information I was looking for in other threads.
A durable topic subscriber MDB uses its name to generate its client-id.
Since JMS enforces uniqueness on this client-id, this means that if a durable
subscriber MDB is deployed to multiple servers only one server will be able
to connect. Some applications want a different behavior where
each MDB pool on each server gets its own durable subscription.
The MDB durable subscription id, which must be unique on its topic, comes from:
1) <jms-client-id>MyClientID</jms-client-id>
(the weblogic dtd)
2) if (1) is not set then the client-id
comes from the ejb name.
The durable subscription is uniquely identified within a cluster by a
combination of "connection-id" and "subscription-id". Only one active
connection may use a particular "connection-id" within a WebLogic cluster.
The connection id comes from:
1) The "ClientId" attribute configured on the WebLogic connection factory.
This defaults to null. Note that if the ClientId is set on a connection
factory, only one connection created by the factory
may be active at a time.
2) If (1) is not set, then, as with the subscriber-id,
the connection-id is derived from jms-client-id descriptor attribute:
<jms-client-id>MyClientID</jms-client-id>
(the weblogic dtd)
3) If (1) and (2) are not set, then, as with the subscriber-id,
the connection-id is derived from the ejb name.
Work-around:
A) Create a custom connection-factory for each server:
1) configure "JNDIName" to the same value across all servers
("myMDBCF" in this example)
2) configure "ClientId" to a unique value per server
3) enable "UserTransactionsEnabled"
4) enable "XAConnectionFactoryEnabled"
5) set "AcknowledgePolicy" to "ACKNOWLEDGE_PREVIOUS"
6) target the CF at a single WebLogic server
(Number 5 is required for non-transactional topic MDBs)
B) In the MDB's weblogic-ejb-jar.xml descriptor, set the MDB's connection
factory to the JNDI name of the custom connection factories configured in
(A). Optionally, also specify the subscriber-id via the jms-client-id
attribute.
<weblogic-ejb-jar>
<weblogic-enterprise-bean>
<ejb-name>exampleBean</ejb-name>
<message-driven-descriptor>
<connection-factory-jndi-name>myMDBCF</connection-factory-jndi-name>
<jms-client-id>myClientID</jms-client-id>
</message-driven-descriptor>
</weblogic-enterprise-bean>
</weblogic-ejb-jar>
C) Target the application at the same servers that have the custom connection
factories targeted at them.
Notes/Limitations:
1) If the MDB is moved from one server to another, the MDB's corresponding
connection-factory must be moved with it.
2) This work-around will not work if the destination is not in the same
cluster as the MDB. (The MDB can not use the local connection factory, which
contains the connection-id, as connection factories do not work unless they
are in the same cluster as the destination.)
3) This work-around will not work for non-WebLogic JMS topics.
-
Deploying a WAR file containing .jsp and servlets (also uses JNI)
Deploying a WAR file containing .jsp and servlets (also uses JNI) on Windows 2000
We had problems making it initially work on Sun ONE Web Server 6.0 Service Pack 1 because of lack of good iPlanet Web
Server documentation on deploying such files.
This is how we went about it:
1) Make one of the servlet and JSP (must call another Java Class) web application (.war) examples work with iPlanet Web
Server.
C:\iPlanet\Servers\plugins\servlets\examples\web-apps\HelloWorld\HelloWorld.war
and
C:\iPlanet\Servers\plugins\servlets\examples\web-apps\jakarta-examples\jarkarta-examples.war
a) Go to your Web Server Administration to deploy the application using GUI Web Application Deploy.
(We usually use command line, we experienced some issues with the GUI version, but maybe it is fixed in the new Web Server
service packs)
From browser, open http://yourserver:8888/
Click on Select a Server:Manage
Click on Virtual Server Class
Click on https-yourserver
Click on the Web Applications Tab
Then, click on Deploy Web Application
Enter the following -
WAR File On: Local
WAR File Path: C:\iPlanet\Servers\plugins\servlets\examples\web-apps\jakarta-examples\jarkarta-examples.war
Application URI: /jakarta
Installation Directory: c:\iPlanet\examples\jakarta-examples
By clicking on OK it deployed the application.
I can verify that it is deployed by selecting "Edit Web Applications" and I see the following entry:
Edit /jakarta c:/iPlanet/examples/jakarta-examples
Also, c:/iPlanet/examples/jakarta-examples should have the similar following directory structure ..
- [images]
- [jsp]
- index.html
- [servlets]
- [META-INF]
- [WEB-INF]
- [classes]
- [tlds]
- web.xml
- index.html
I restarted the server and accessed it using the following URL from my IE browser:
http://yourserver/jakarta/index.html
Then I clicked on the JSP Examples and tried some JSP examples.
b) Alternatively, you can also deploy the same example from the command-line.
Make sure C:\iPlanet\Servers\bin\https\httpadmin\bin\ is in your path
wdeploy deploy -u /jakarta
-i yourserver
-v https-yourserver
-d c:\iplanet\examples\jakarta-examples
C:\iPlanet\Servers\plugins\servlets\examples\web-apps\jakarta-examples\jarkarta-examples.war
Restart the web server (I don't think you have to restart, but .. might as well).
2)Deploy your web-application
My Foo.war has the following structure.
You can use jar tf Foo.war to look at the file contents from command line (assuming you have JDK installed and the bin is
in your PATH)
Foo.war
- [META-INF]
- [WEB-INF]
- web.xml
- [classes]
- Bar.class
- MoServlet.class
- [lib]
- ThirdParty.jar
- [natlib]
- extlib.dll
- foo.jsp
Here is our application scenario:
foo.jsp uses a class call Bar (it is not in any package). The Bar java class uses classes from ThirdParty.jar. The
ThirdParty.jar in turn uses JNI to load library extlib.dll. foo.jsp also calls /servlet/Mo as well.
Now to deploy it, do the following:
(a) Make sure that within foo.jsp, you import the Bar class ( I don't know why you have to do it, but if you don't you get
JSP compile error).
<%@page language="java" import="Bar" contentType="text/html"%>
(b) Check web.xml (for Servlets)
Within web.xml, make sure you have the following mappings:
<servlet>
<servlet-name> MoLink </servlet-name>
<servlet-class> MoServlet </servlet-class>
</servlet>
<servlet-mapping>
<servlet-name> MoLink </servlet-name>
<url-pattern> /servlet/Mo </url-pattern>
</servlet-mapping>
(c) Deploy the application
Using command line:
wdeploy deploy -u /foo
-i yourserver
-v https-yourserver
-d c:\iplanet\examples\foo-dir
Foo.war
(d) Change web-apps.xml file (for picking up ThirdParty.jar)
It is located in
C:\iPlanet\Servers\https-yourserver\config
You should see something similar to following after successful deployment.
<web-app uri="/foo" dir="C:\iPlanet\examples\foo-dir" enable="true"/>
Change it to look like following to pick up the ThirdParty.jar
<web-app uri="/foo" dir="C:\iPlanet\examples\foo-dir" enable="true">
<class-loader reload-interval="300"
classpath="C:/iPlanet/examples/foo-dir/WEB-INF/lib/ThirdParty.jar"
delegate="false"/>
</web-app>
(e) Change jvm12.conf file (for JNI)
It is located in
C:\iPlanet\Servers\https-yourserver\config
Add or uncomment the following lines:
#optional - just helps with instrumenting the jsp and servlet code
jvm.include.CLASSPATH=1
jvm.enableDebug=1
nes.jsp.enabledebug=1
jvm.trace=7
jvm.verboseMode=1
#required for JNI
java.compiler=NONE
jvm.classpath=.;C:\JDK1.3.1\lib\tools.jar;C:/iPlanet/Servers/plugins/servlets/examples/legacy/beans.10/SDKBeans10.jar;
jvm.option=-Xrs
jvm.option=-Xnoagent
# not sure if this is needed for iPlanet web server
jvm.option=-Djava.library.path=C:/iPlanet/examples/foo-dir/natlib/ -Djava.compiler=NONE
(f) Change magnus.conf file (for JNI)
We HAD to change this file in order for ThirdParty.jar file to pick up the native C++ code using JNI. Apparently, the
iPlanet Web Server doesn't pick the Environment Variable Path. Because when we had the directory containing the DLL just
in Path, it didn't work.
Change Extrapath directive:
ExtraPath C:/iPlanet/Servers/bin/https/bin;${NSES_JRE_RUNTIME_LIBPATH}
to
ExtraPath c:/iPlanet/examples/foo-dir/natlib;C:/iPlanet/Servers/bin/https/bin;${NSES_JRE_RUNTIME_LIBPATH}
(g) Apply changes from the Web Server Administration Console and Restart the web server.
You should be able to see the behaviour that you want from your application.
http://yourserver/foo/foo.jsp
Hope this was helpful!!!
SonuDeploying a WAR file containing .jsp and servlets (also uses JNI) on Windows 2000
We had problems making it initially work on Sun ONE Web Server 6.0 Service Pack 1 because of lack of good iPlanet Web
Server documentation on deploying such files.
This is how we went about it:
1) Make one of the servlet and JSP (must call another Java Class) web application (.war) examples work with iPlanet Web
Server.
C:\iPlanet\Servers\plugins\servlets\examples\web-apps\HelloWorld\HelloWorld.war
and
C:\iPlanet\Servers\plugins\servlets\examples\web-apps\jakarta-examples\jarkarta-examples.war
a) Go to your Web Server Administration to deploy the application using GUI Web Application Deploy.
(We usually use command line, we experienced some issues with the GUI version, but maybe it is fixed in the new Web Server
service packs)
From browser, open http://yourserver:8888/
Click on Select a Server:Manage
Click on Virtual Server Class
Click on https-yourserver
Click on the Web Applications Tab
Then, click on Deploy Web Application
Enter the following -
WAR File On: Local
WAR File Path: C:\iPlanet\Servers\plugins\servlets\examples\web-apps\jakarta-examples\jarkarta-examples.war
Application URI: /jakarta
Installation Directory: c:\iPlanet\examples\jakarta-examples
By clicking on OK it deployed the application.
I can verify that it is deployed by selecting "Edit Web Applications" and I see the following entry:
Edit /jakarta c:/iPlanet/examples/jakarta-examples
Also, c:/iPlanet/examples/jakarta-examples should have the similar following directory structure ..
- [images]
- [jsp]
- index.html
- [servlets]
- [META-INF]
- [WEB-INF]
- [classes]
- [tlds]
- web.xml
- index.html
I restarted the server and accessed it using the following URL from my IE browser:
http://yourserver/jakarta/index.html
Then I clicked on the JSP Examples and tried some JSP examples.
b) Alternatively, you can also deploy the same example from the command-line.
Make sure C:\iPlanet\Servers\bin\https\httpadmin\bin\ is in your path
wdeploy deploy -u /jakarta
-i yourserver
-v https-yourserver
-d c:\iplanet\examples\jakarta-examples
C:\iPlanet\Servers\plugins\servlets\examples\web-apps\jakarta-examples\jarkarta-examples.war
Restart the web server (I don't think you have to restart, but .. might as well).
2)Deploy your web-application
My Foo.war has the following structure.
You can use jar tf Foo.war to look at the file contents from command line (assuming you have JDK installed and the bin is
in your PATH)
Foo.war
- [META-INF]
- [WEB-INF]
- web.xml
- [classes]
- Bar.class
- MoServlet.class
- [lib]
- ThirdParty.jar
- [natlib]
- extlib.dll
- foo.jsp
Here is our application scenario:
foo.jsp uses a class call Bar (it is not in any package). The Bar java class uses classes from ThirdParty.jar. The
ThirdParty.jar in turn uses JNI to load library extlib.dll. foo.jsp also calls /servlet/Mo as well.
Now to deploy it, do the following:
(a) Make sure that within foo.jsp, you import the Bar class ( I don't know why you have to do it, but if you don't you get
JSP compile error).
<%@page language="java" import="Bar" contentType="text/html"%>
(b) Check web.xml (for Servlets)
Within web.xml, make sure you have the following mappings:
<servlet>
<servlet-name> MoLink </servlet-name>
<servlet-class> MoServlet </servlet-class>
</servlet>
<servlet-mapping>
<servlet-name> MoLink </servlet-name>
<url-pattern> /servlet/Mo </url-pattern>
</servlet-mapping>
(c) Deploy the application
Using command line:
wdeploy deploy -u /foo
-i yourserver
-v https-yourserver
-d c:\iplanet\examples\foo-dir
Foo.war
(d) Change web-apps.xml file (for picking up ThirdParty.jar)
It is located in
C:\iPlanet\Servers\https-yourserver\config
You should see something similar to following after successful deployment.
<web-app uri="/foo" dir="C:\iPlanet\examples\foo-dir" enable="true"/>
Change it to look like following to pick up the ThirdParty.jar
<web-app uri="/foo" dir="C:\iPlanet\examples\foo-dir" enable="true">
<class-loader reload-interval="300"
classpath="C:/iPlanet/examples/foo-dir/WEB-INF/lib/ThirdParty.jar"
delegate="false"/>
</web-app>
(e) Change jvm12.conf file (for JNI)
It is located in
C:\iPlanet\Servers\https-yourserver\config
Add or uncomment the following lines:
#optional - just helps with instrumenting the jsp and servlet code
jvm.include.CLASSPATH=1
jvm.enableDebug=1
nes.jsp.enabledebug=1
jvm.trace=7
jvm.verboseMode=1
#required for JNI
java.compiler=NONE
jvm.classpath=.;C:\JDK1.3.1\lib\tools.jar;C:/iPlanet/Servers/plugins/servlets/examples/legacy/beans.10/SDKBeans10.jar;
jvm.option=-Xrs
jvm.option=-Xnoagent
# not sure if this is needed for iPlanet web server
jvm.option=-Djava.library.path=C:/iPlanet/examples/foo-dir/natlib/ -Djava.compiler=NONE
(f) Change magnus.conf file (for JNI)
We HAD to change this file in order for ThirdParty.jar file to pick up the native C++ code using JNI. Apparently, the
iPlanet Web Server doesn't pick the Environment Variable Path. Because when we had the directory containing the DLL just
in Path, it didn't work.
Change Extrapath directive:
ExtraPath C:/iPlanet/Servers/bin/https/bin;${NSES_JRE_RUNTIME_LIBPATH}
to
ExtraPath c:/iPlanet/examples/foo-dir/natlib;C:/iPlanet/Servers/bin/https/bin;${NSES_JRE_RUNTIME_LIBPATH}
(g) Apply changes from the Web Server Administration Console and Restart the web server.
You should be able to see the behaviour that you want from your application.
http://yourserver/foo/foo.jsp
Hope this was helpful!!!
Sonu -
Viewing the deployed application in different browser
How to view the deployed content in different browsers rather than the default one ?
And how to run the Weblogic Server without running the jDeveloper. and how to view the deployed content from WLS in the browser?Hi,
How to view the deployed content in different browsers rather than the default one ?
You can change the browser to use in the preferences (Tools -- Preferences - Browser and Proxy settings)
And how to run the Weblogic Server without running the jDeveloper.
2 Options:
==========
a) download a stand alone Weblogic Server from OTN
b) Find the JDeveloper System directory in the user directory of your laptop. Search for startWebLogic.cmd and start it from the console
and how to view the deployed content from WLS in the browser?
Request it from a URL
host:port/java_ee_path/faces/view
Frank -
Sort order in Java Application (deploy in Oracle oc4j container)
I have a Java application deploy in Oracle OC4J container (EAR file).
In my Java application (jsp), I have a SQL statement who return data but the
sort order is wrong. The letters "é" and all characters with accents
appears at the end of the result.
I tried many things to change the sort order (NLS parameters in database
and OAS10g parameter files).
When I use SQL*plus on database server, that's working.
The sort order is wrong when I use the java application.
Somebody can tell me what and where is the NLS parameters to change ?
Thanks
RobinRobin,
I'm only guessing, but it could either be related to the java locale or the CHARSET attribute of the HTML header -- and nothing to do with the NLS parameters.
Maybe you should try the Globalization Support forum?
Good Luck,
Avi. -
(266758030) Q(asked by Lalit Sudan): Can WebLogic Workshop Web Services be deployed
on a different Application Server?
A(by Adam Fitzgerald): .jws files are not yet an accepted standard so you can expect
that the WebLogic Workshop Web Services cannot be ported to other Application Servers,
however, it is a general goal to expand the functionality of the Workshop tool for
other App Servers.Just so you'll know Oracle9iAS also includes apache as the HTTP server.
As Suncan said, if you want to use Forms on the Web you need the Forms Server engine, and it comes bundled in Oracle9iAS. You'll save yourself a lot of headache if you just install Oracle9iAS and have everything pre-configured for you thus reducing maintanance costs. -
Ear deploy problems if dir contains '.' in the name
Is there a fix that will allow Weblogic 8.1 SP for RedHat to deploy an ear that contains directory structure containing '.' in the name?
We currently have to extract the ear and modify the application.xml to deploy the app in question due to this limitation."Don Maxwell" <[email protected]> wrote in message news:27286804.1095364176807.JavaMail.root@jserv5...
Is there a fix that will allow Weblogic 8.1 SP for RedHat to deploy an ear that contains directory structure containing '.' in thename?
>
We currently have to extract the ear and modify the application.xml to deploy the app in question due to this limitation.What is the problem? Can you show a stacktrace?
óÌÁ×Á -
PS 7.1 (JES 5u1-Linux) - Can't deploy psconsole
Hi,
I've installed Portal 7.1 for Redhat Linux (JES 5 u1) using the Application Server as the web container. I know from reading the forums that the installer doesn't install the PSconsole and that it needs to be deployed manually after installation. The problem is that I can't deploy it.
Note: After trying this, I then applied the patch 124303-11 (ps71u2), and tried again but it produced the same errors.
Here's how I try to deploy the psconsole.war:
/opt/sun/portal/bin/psadmin deploy-portlet -u amadmin -f /opt/sun/passfile -p portal1 -g /opt/sun/portal/admin/psconsole.war
Invalid Portlet war file. Possible reason can be error reading WEB-INF/portlet.xml from portlet war file,
please check the cli debug logs or MBean debug logs for more details.
Here's a snip from the log file /var/opt/sun/portal/logs/admin/portal.0.0.log:
<snip>
[#|2008-08-28T16:33:34.762-0400|SEVERE|SJS Portal Server|debug.com.sun.portal.portlet.admin.mbeans|ThreadID=14; ClassName=com.sun.portal.portlet.admin.mbeans.PortletAdmin;
MethodName=deploy; |PSPL_CSPPAM0004 : PortletDeployerException:
com.sun.portal.portlet.admin.mbeans.tasks.PortletDeployerException: invalidWar
at com.sun.portal.portlet.admin.mbeans.tasks.PDDeploy.process(Unknown Source)
at com.sun.portal.portlet.admin.mbeans.PortletAdmin.deploy(Unknown Source)
at com.sun.portal.portlet.admin.mbeans.PortletAdmin.deployAll(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at com.sun.jmx.mbeanserver.StandardMetaDataImpl.invoke(StandardMetaDataImpl.java:414)
at com.sun.jmx.mbeanserver.MetaDataImpl.invoke(MetaDataImpl.java:220)
at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:815)
at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:784)
at com.sun.jdmk.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:203)
at com.sun.jdmk.interceptor.MBeanServerInterceptorWrapper.invoke(MBeanServerInterceptorWrapper.java:512)
at com.sun.portal.admin.server.PortalServerLoggingInterceptor.invoke(Unknown Source)
at com.sun.cacao.agent.DispatchInterceptor.invoke(DispatchInterceptor.java:736)
at com.sun.cacao.agent.auth.impl.AccessControlInterceptor.invoke(AccessControlInterceptor.java:618)
at com.sun.jdmk.JdmkMBeanServerImpl.invoke(JdmkMBeanServerImpl.java:764)
at com.sun.cacao.common.instrum.impl.InstrumDefaultForwarder.invoke(InstrumDefaultForwarder.java:106)
at javax.management.remote.generic.ServerIntermediary.handleRequest(ServerIntermediary.java:280)
at javax.management.remote.generic.ServerIntermediary$PrivilegedRequestJob.run(ServerIntermediary.java:951)
at java.security.AccessController.doPrivileged(Native Method)
at javax.management.remote.generic.ServerIntermediary$RequestHandler.handleMBSReqMessage(ServerIntermediary.java:727)
at javax.management.remote.generic.ServerIntermediary$RequestHandler.execute(ServerIntermediary.java:629)
at com.sun.jmx.remote.generic.ServerSynchroMessageConnectionImpl$RemoteJob.run(ServerSynchroMessageConnectionImpl.java:266)
at com.sun.jmx.remote.opt.util.ThreadService$ThreadServiceJob.run(ThreadService.java:208)
at com.sun.jmx.remote.opt.util.JobExecutor.run(JobExecutor.java:59)
Caused by: java.lang.NullPointerException
at java.util.zip.ZipFile.getInputStream(ZipFile.java:286)
at java.util.jar.JarFile.getInputStream(JarFile.java:387)
... 26 more
|#]
</snip>
and snip from log file /var/opt/sun/portal/logs/admin/portal.admin.cli.0.0.log:
<snip>
[#|2008-08-28T16:33:34.782-0400|SEVERE|SJS Portal Server|debug.com.sun.portal.admin.cli.commands|ThreadID=10; ClassName=com.sun.portal.admin.cli.commands.portlet.DeployPort
letCommand; MethodName=runCommand; |PSALI_CSPACCP0001:Exception
com.sun.portal.admin.common.PSMBeanException: java.lang.NullPointerException
at com.sun.portal.portlet.admin.mbeans.PortletAdmin.deploy(Unknown Source)
at com.sun.portal.portlet.admin.mbeans.PortletAdmin.deployAll(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at com.sun.jmx.mbeanserver.StandardMetaDataImpl.invoke(StandardMetaDataImpl.java:414)
at com.sun.jmx.mbeanserver.MetaDataImpl.invoke(MetaDataImpl.java:220)
at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:815)
at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:784)
at com.sun.jdmk.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:203)
at com.sun.jdmk.interceptor.MBeanServerInterceptorWrapper.invoke(MBeanServerInterceptorWrapper.java:512)
at com.sun.portal.admin.server.PortalServerLoggingInterceptor.invoke(Unknown Source)
at com.sun.cacao.agent.DispatchInterceptor.invoke(DispatchInterceptor.java:736)
at com.sun.cacao.agent.auth.impl.AccessControlInterceptor.invoke(AccessControlInterceptor.java:618)
at com.sun.jdmk.JdmkMBeanServerImpl.invoke(JdmkMBeanServerImpl.java:764)
at com.sun.cacao.common.instrum.impl.InstrumDefaultForwarder.invoke(InstrumDefaultForwarder.java:106)
at javax.management.remote.generic.ServerIntermediary.handleRequest(ServerIntermediary.java:280)
at javax.management.remote.generic.ServerIntermediary$PrivilegedRequestJob.run(ServerIntermediary.java:951)
at java.security.AccessController.doPrivileged(Native Method)
at javax.management.remote.generic.ServerIntermediary$RequestHandler.handleMBSReqMessage(ServerIntermediary.java:727)
at javax.management.remote.generic.ServerIntermediary$RequestHandler.execute(ServerIntermediary.java:629)
at com.sun.jmx.remote.generic.ServerSynchroMessageConnectionImpl$RemoteJob.run(ServerSynchroMessageConnectionImpl.java:266)
at com.sun.jmx.remote.opt.util.ThreadService$ThreadServiceJob.run(ThreadService.java:208)
at com.sun.jmx.remote.opt.util.JobExecutor.run(JobExecutor.java:59)
Caused by: java.lang.NullPointerException
at java.util.zip.ZipFile.getInputStream(ZipFile.java:286)
at java.util.jar.JarFile.getInputStream(JarFile.java:387)
at com.sun.portal.portlet.admin.mbeans.tasks.PDDeploy.process(Unknown Source)
... 25 more
|#]
</snip>
Does anybody have any suggestions?
Thanks,
KevinI believe you are simply using the incorrect port number. Port 4849 is the port reserved for use by the App Server Domain Administration Server console. A default installation of Sun App Server creates another instance using ports 8080/8181 for HTTP/S respectively. You should be able to reach psconsole with:
http://host.domain:8080/psconsole
https://host.domain:8181/psconsoleLog in using the amadmin account credentials that were configured for Access Manager.
You can also run psadmin list-portals to see where the portal was deployed.
- Jim -
Handling deployment dependency across different solution files
I have multiple BizTalk solution files containing multiple projects. These solution files have deployment
dependency, i.e. before deploying one solution i need to deployed the solution on which it is dependent first.
How can i handle this dependency across different solution files?
VarunWhy don't you look deeper into writing a BTTask batch file to handle your deployments in a more automated fashion?
http://msdn.microsoft.com/en-us/library/aa559686.aspx
That way you have complete control over how your BizTalk Applications are deployed and configured, and in the required order. Within Visual Studio, you will be limited to only working with the currently opened solution.
Another more robust option would be to investigate the BizTalk Deployment Framework.
http://biztalkdeployment.codeplex.com/
Both of these options have the additional benefit of being portable from one environment to another. You can apply the same scripts, with different bindings, to your QA and even Production environments. It's worth the up-front effort in complex scenarios. -
Deployed application does not contain javascript files
Hello,
I am a unexperienced user of the BPM Studio. When I start my application in Oracle BPM my application does not contain the javascript files. It is quite weird, because the path to the .js files is proper - the application works on other computers. I have observed several weird things:
- when I lookup the application in Firebug, when I try to lookup the source of the .js files, firebug console presents something like this (i deleted most of the html so that it is easy to read):
<html><head><title>Apache Tomcat/5.5.15 - Error report</title>
<body>HTTP Status 404 - /workspace//webRoot/webResources/js/jquery-1.4.2.min.js
Status report message /workspace//webRoot/webResources/js/jquery-1.4.2.min.js
The requested resource (/workspace//webRoot/webResources/js/jquery-1.4.2.min.js) is not available.
<h3>Apache Tomcat/5.5.15</h3></body></html>- as i said - the application works just fine on other computers, without having to edit the path to the .js files
- the application doesn't deploy the application (at least I think it does not) in the OraBPMStudioHome - the application is in the following folder:
C:\Users\<username>\AppData\Local\VirtualStore\Program Files\OraBPMStudioHome\webapps\workspace\webRoot
I am using OracleBPM Studio 10gR3, my system is Windows 7 Proffessional 64bit. Could the fact, that my system is 64 bit, cause the error?
I haven't changed anything in the web.xml, workspace.properties files.
It looks as if the server didn't include my js files. What may be causing this? I tried to locate the folder where the Tomcat Server deployes the application, and copying the js files where they should be manually, but that didn't work out well - the web application still does not see them.
By the way, the double // slashes in the path to the .js file are fine on other computers, but is that proper?
My application uses other scripts, not only jQuery, so changing the link to the jQuery file, won't work.
I'd be very happy for any solution, thanks in advance!
Chris Mejka
Edited by: 789731 on 2010-08-20 01:20Nope, that's not the case; all the imports are handled by the <fuego:webResources /> tag, like this:
<script type="text/javascript" src="<fuego:webResources relativePath='js/jquery-1.4.2.min.js'/>"></script>If that helps, the folder structure, with the .js files is as follows: ../webRoot/webResources/js/ ....
As I said before - none of my colleagues, who use this application, has this problem, the application runs fine on other computers. The only (or at least that's what I think) difference, is that I use a 64 bit OS... Maybe that's the problem? Or maybe something is wrong in one of my BPM configuration files?
Edited by: 789731 on 2010-08-20 02:29
Edited by: 789731 on 2010-08-20 04:42 -
How to deploy a simple .jar (containing Helper classes) in Weblogic?
Hi,
I have created multiple .jar files.
1) MDB.jar containing all my MDB classes.
2) Bean.jar containing all my Session Bean classes.
3) Utility.jar containing remaining Helper,utility classes.
I had deployed MDB.jar, Bean.jar by using Weblogic Console, under 'Deployments'-> 'EJB Module'. How can i deploy Utility.jar ? First of all, do i need to deploy Utility.jar? Only EJB JARs need to be deployed?
If we do not deploy a non-EJB JARs, how this code will be available and is executed?
Thanks in advance.I'd recommend you deploy these 3 components together in an EAR file. THe utility jar file could go in APP-INF/lib, or you could reference it via manifest class-path entries.
-- Rob
WLS Blog http://dev2dev.bea.com/blog/rwoollen/ -
List of deployed applications. Different results for different MBean hierarchies
Hello there,
When I list the deployed applications, I am getting different results depending what MBean hierarchy I am querying:
serverConfig():
wls:/MY_WEBLOGIC_DOMAIN/serverConfig> listApplications() APPLICATION_1APPLICATION_2
domainRuntime():
wls:/MY_WEBLOGIC_DOMAIN/domainRuntime/AppRuntimeStateRuntime/AppRuntimeStateRuntime> ls()
-r-- ApplicationIds java.lang.String[APPLICATION_1, APPLICATION_2, APPLICATION_3]
Any idea why is APPLICATION_3 in the list?
Thanks in advance,
Luis
ps: if I ask directly to the managed server:
wls:/MY_WEBLOGIC_DOMAIN/domainRuntime/ServerRuntimes/prodGAD_1> ls('ApplicationRuntimes')
dr-- bea_wls9_async_response
dr-- bea_wls_cluster_internal
dr-- bea_wls_deployment_internal
dr-- bea_wls_diagnostics
dr-- bea_wls_internal
dr-- APPLICATION_1
dr-- APPLICATION_2Hello Vijaya,
Thanks for your answer, yes you are right, in my config.xml I can see that application:
<app-deployment>
<name>APPLICATION_3</name>
<target>...</target>
<module-type>ear</module-type>
<source-path>...ear</source-path>
<security-dd-model>DDOnly</security-dd-model>
</app-deployment>
But at the moment that I read your response I had already restarted the AdminServer. This re-start has solved the issue.
Thanks,
Luis -
Deployment of Web application containing only Servlets
I want to deploy my web application on Weblogic which contains only servlets
and html files.
All I know is that I have to write the DTD file. Once i am done with the DTD
file i do not how the further steps to deploy my web application.
can somebody point out the steps or some site where i can get any help. Is
this documented anywhere?
thanks in advance,
Nitin
Hi
You don't write DTD file. It's in weblogic installation.
You must write a web.xml file and weblogic.xml file. See how to do this in
the documento "Write Web Applications" of WebLogic 5.1
nitin <[email protected]> escribió en el mensaje de noticias
[email protected]..
> I want to deploy my web application on Weblogic which contains only
servlets
> and html files.
>
> All I know is that I have to write the DTD file. Once i am done with the
DTD
> file i do not how the further steps to deploy my web application.
>
> can somebody point out the steps or some site where i can get any help. Is
> this documented anywhere?
>
> thanks in advance,
> Nitin
>
>
-
Essbase Server and Deployment Server on different boxes
Hi,We're currently testing Hyperion Essbase 7.1.2 and we were wondering if it was possible to have the Essbase (Analytic) Server on one machine and Deployment Server on a different one. At first sight, it seemed so, so we did just that.Now, we'd like to test our setup by signing on through the ESS command line prompt (on the Deployment Server machine) but seem to miss something since the connection ("signon") is refused. The funny thing is that on the machine on which the Essbase Server is installed, we've also installed the Administration Services: through the Administration Console, we can indeed connect to the Deployment Server and interact with it.So my first question is: is our setup possible (that is, having the Deployment and Essbase servers on distinct boxes)?If so, what is the meaning of all the parameters needed for the "signon" command of the ESS command line prompt?Any guidance would be greatly appreciated.Thanks,A. Lepage
Yes, you can configure it that way and we have many customers with that setup.You have to login to the EDS console the first time using the 'default' admin username/password (system/password) and setup a username, with admin privileges, that also is on your Essbase server. Logout, then login with the 'real' username. Select the domain object ('essbase at the top of the tree'), right mouse click and add an analytic server. Type in the name of your Essbase server and it should be added (and you should be able to browse objects on the Essbase server). Finally, select the server, right mouse click and 'sync security'.Tim TowApplied OLAP, Inc
Maybe you are looking for
-
Can't play music and be on old network at the same time?
I just want to use this device to play music and connect to my original wireless network. I assume since I'm not using an Airport Extreme to connect to the internet then I can't get the Airport Express to connect either. I can't listen to music and b
-
I USED to see the airplay symbol on my ipad. I don't see it anymore what's wrong? My system is up to date, I reset my Apple TV and everything else I can think of. What am I missing? Please help!
-
Error using DBMS_XMLQuery() with XMLElement().
Select dbms_xmlquery.getXML('Select SYS_XMLAGG( 2 XMLElement("SDI", 3 active_flag)) ' || 4 'from Sdi s where s.sdi_num = 22261')
-
Converting jstring to const char * using JNI
Hi Folks, Almost complete with the registry access dll and passing to java. My last question is how do I convert a jstring in a const char * ? There may be a method of the JNIEnv that I can use. Can anyone assist? Thanks.
-
Can't Install Photoshop CS6 Trial?
Hello, I'm having trouble installing the trial mode for Photoshop CS6. I have already logged in through the installer then clicked the download link again, but it asks me to log in again (the installer) instead of installing it. Please help me out! T