Deploying XML based apps
How can one deploy xml parsing programs since it requires downloading the JAXP package to run the program
for example, making an applet parse xml, will i require bundling the whole JAXP packge with the applet?
A little assistance
you can use
http://java.sun.com/xml/downloads/javaxmlpack.html
If you can please let me know what it is.
Similar Messages
-
Hello all,
Could you possibly help me with provider-hosted app development/deployment process.
We developed SharePoint provider-hosted app that works just fine in development environment. Now we need to automate it's installation in test environment via powershell.
In AppManifest.xml that we are deploying we have key instead of explicit URL:
<App xmlns="http://schemas.microsoft.com/sharepoint/2012/app/manifest" Name="ShowAllRoomsApp" ProductID="{922a18aa-5592-b59a-4da9-4791baef02e7}" Version="1.0.0.0"
SharePointMinVersion="15.0.0.0">
<Properties>
<Title>SomeTitle</Title>
<StartPage>~remoteAppUrl/Pages/Default.aspx?{StandardTokens}</StartPage>
If we use as
https://technet.microsoft.com/en-us/library/jj655398.aspx recommends, we cannot specify Redirect Url as we can do this on
/_layouts/appinv.aspx
So now it seems like the only way to deploy this kind of solution is using appinv.aspx page.Or must we apply this URL in AppManifest on developing stage in Visual Studio?
What did I miss?
P. S. Even if I use /_layouts/appinv.aspx after powershell commandlets, I get error.hi,
to deploy provider hosted app you need 2 things
1. Client ID
2. Redirect URL.
What you can do you can generate app from visual studio using clientID and URL from developer enviornment.
Now a app file is just a simple compressed zip file if you rename it as .zip and extract you will find AppManifest
inside it. So to create an app for Testing enviornment what you have to to Get the CLient ID (from AppRegNew.aspx) in testing enviornment. Unzip .App file change the AppManifest with testing client ID and URL than again zip file and rename as .app.
Now if you upload this file it will work.
To automate this scenerio i have created a simple windows Application in which i Pass the Client ID and StartURl and an App File it unzips the app file make changes to app and again zip it.
public static class AppPackageHelper
public const string StartUrlExpression = "{0}?{1}";
public const string StandardToken = "{StandardTokens}";
public static string Publish(string appPath, string ClientId,string StartUrl)
string tempDir = string.Empty;
string outPutFile = string.Empty;
try
string parentDir = System.IO.Path.GetDirectoryName(appPath);
outPutFile = System.IO.Path.Combine(parentDir, ClientId + "-Winshuttle.app");
tempDir = System.IO.Path.Combine(parentDir, ClientId.ToString());
Directory.CreateDirectory(tempDir);
int lastInd = appPath.LastIndexOf('.');
string tempPath = string.Empty;
string targetFilePath = string.Empty;
string cabPath = System.IO.Path.Combine(tempDir, System.IO.Path.GetFileNameWithoutExtension(appPath) + ".cab");
FileInfo fInfo = new FileInfo(appPath) { IsReadOnly = false };
File.Copy(appPath, cabPath);
XDocument doc = null;
string appManifest = string.Empty;
using (ZipArchive zipArch = ZipFile.Open(cabPath, ZipArchiveMode.Update))
appManifest = string.Format(@"{0}\AppManifest.xml", Directory.GetParent(cabPath).FullName);
ZipArchiveEntry manifestEntry = zipArch.Entries.LastOrDefault(e => e.Name.ToLower() == "appmanifest.xml");
manifestEntry.ExtractToFile(appManifest);
doc = XDocument.Load(appManifest);
XNamespace ns = doc.Root.GetDefaultNamespace();
string defaultUrl = string.Format(StartUrlExpression, StartUrl.TrimEnd('/'), StandardToken);
doc.Descendants(XName.Get("StartPage", ns.NamespaceName)).First().Value = defaultUrl;
doc.Descendants(XName.Get("RemoteWebApplication", ns.NamespaceName)).First().Attribute(XName.Get("ClientId")).Value = setupInfo.ClientId.ToString();
doc.Save(appManifest);
if (manifestEntry != null)
manifestEntry.Delete();
zipArch.CreateEntryFromFile(appManifest, "AppManifest.xml");
int totEnt = zipArch.Entries.Count;
for (int e = 0; e < totEnt; e++)
if (zipArch.Entries[e].Open().Length == 0)
//if (zipArch.Entries.Count > totEnt && e >= totEnt) break;
//zipArch.CreateEntry(zipArch.Entries[e].FullName);
File.Delete(appManifest);
if (File.Exists(outPutFile))
File.Delete(outPutFile);
File.Move(cabPath, outPutFile);
return outPutFile;
catch
throw;
finally
if (System.IO.Directory.Exists(tempDir))
System.IO.Directory.Delete(tempDir, true);
return outPutFile;
using System.IO.Compression.FileSystem.dll.
Also if you want to do it using powershell You need to do the same thing unzip-> changes values-> zip
So basic thing is You need to ahve only valid AppManifest file which contains 2 valid values Client Id and StartUrl
if you changes it inside appmanifest manuall than it will also work. Using above code you can create a console Application to do it. You can use powershell it just that i dont know how to zip unzip in powershell but i am pretty sure you can easily find it
on searching.
Whenever you see a reply and if you think is helpful,Vote As Helpful! And whenever you see a reply being an answer to the question of the thread, click Mark As Answer -
Installed SP 2013 Foundation in my Hyper-V machine
Created and done all the steps mentioned here http://blogs.msdn.com/b/shariq/archive/2013/05/07/how-to-set-up-high-trust-apps-for-sharepoint-2013-amp-troubleshooting-tips.aspx && http://msdn.microsoft.com/en-us/library/office/fp179901%28v=office.15%29.aspx
for self signed certificate
copied those two certificates in my local machine(base machine) D drive
(D:\Cert)
Both VM and base machine are in same domain
Installed VS 2013 in my base machine and create a Provided hosted app with the copied certificates, (For creation i followed the above mentioned URL)
Just created and hit F5 to run in my base machine, but getting this error
Error occurred in deployment step 'Uninstall app for SharePoint': The remote server returned an error: (502) Bad Gateway.
Please help me to resolve this issue, trying to figure out from last 2 days
Thanks in Advance
ArunHi Harminder,
This happens because an app has already been deployed and you are deploying it again using the same version.
Resolution:
Open the AppManifest.xml file and change the version.
Vivek Jagga - MCTS SharePoint
SharePointExcellence -
Deploying a web app under 9.2
Hello,
I am trying to deploy a web app using bea 9.2 console and i am getting error with deployment descriptor (which 8.2 specific). So i tried to use appc and got the same error (listed below). Can anyone tell me what is wrong with my descriptor?
Thanks
sl
javax.xml.stream.XMLStreamException: ';' expected a valid beginning name character
at weblogic.xml.stax.XMLStreamReaderBase.prime(XMLStreamReaderBase.java:78)
at weblogic.xml.stax.XMLStreamReaderBase.setInput(XMLStreamReaderBase.java:101)
at weblogic.xml.stax.XMLStreamInputFactory.createXMLStreamReader(XMLStreamInputFactory.java:325)
at weblogic.xml.stax.XMLStreamInputFactory.createXMLStreamReader(XMLStreamInputFactory.java:49)
at weblogic.application.descriptor.BasicMunger2.<init>(BasicMunger2.java:107)
at weblogic.application.descriptor.BasicMunger2.<init>(BasicMunger2.java:125)
at weblogic.application.descriptor.VersionMunger.<init>(VersionMunger.java:40)
at weblogic.servlet.internal.WlsWebAppReader2.<init>(WlsWebAppReader2.java:59)
at weblogic.servlet.internal.WebAppDescriptor$MyWlsWebAppDescriptor.createXMLStreamReader(WebAppDescriptor.java:291)
at weblogic.application.descriptor.AbstractDescriptorLoader2.createDescriptorBean(AbstractDescriptorLoader2.java:369)
at weblogic.application.descriptor.AbstractDescriptorLoader2.loadDescriptorBeanWithoutPlan(AbstractDescriptorLoader2.java:720)
at weblogic.application.descriptor.AbstractDescriptorLoader2.loadDescriptorBean(AbstractDescriptorLoader2.java:729)
at weblogic.servlet.internal.WebAppDescriptor.getWeblogicWebAppBean(WebAppDescriptor.java:148)
at weblogic.servlet.jsp.JspcInvoker.parseDescriptors(JspcInvoker.java:277)
at weblogic.servlet.jsp.JspcInvoker.compile(JspcInvoker.java:187)
at weblogic.application.compiler.AppcUtils.compileWAR(AppcUtils.java:353)
at weblogic.application.compiler.WARCompiler.compile(WARCompiler.java:72)
at weblogic.application.compiler.flow.AppCompilerFlow.compileInput(AppCompilerFlow.java:118)
at weblogic.application.compiler.flow.AppCompilerFlow.compile(AppCompilerFlow.java:43)
at weblogic.application.compiler.FlowDriver$FlowStateChange.next(FlowDriver.java:69)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)
at weblogic.application.compiler.FlowDriver.nextState(FlowDriver.java:36)
at weblogic.application.compiler.FlowDriver.run(FlowDriver.java:26)
at weblogic.application.compiler.Appc.runBody(Appc.java:163)
at weblogic.utils.compiler.Tool.run(Tool.java:158)
at weblogic.utils.compiler.Tool.run(Tool.java:115)
at weblogic.application.compiler.Appc.main(Appc.java:174)
at weblogic.appc.main(appc.java:14)
Caused by: Error at line:2 col:61 ';' expected a valid beginning name character
at weblogic.xml.babel.scanner.Name.read(Name.java:33)
at weblogic.xml.babel.scanner.Name.read(Name.java:20)
at weblogic.xml.babel.scanner.OpenTag.read(OpenTag.java:58)
at weblogic.xml.babel.scanner.Scanner.startState(Scanner.java:251)
at weblogic.xml.babel.scanner.Scanner.scan(Scanner.java:178)
at weblogic.xml.babel.baseparser.BaseParser.prime(BaseParser.java:268)
at weblogic.xml.babel.baseparser.BaseParser.initScanner(BaseParser.java:118)
at weblogic.xml.babel.baseparser.BaseParser.init(BaseParser.java:244)
at weblogic.xml.babel.baseparser.BaseParser.<init>(BaseParser.java:84)
at weblogic.xml.stax.XMLStreamReaderBase.prime(XMLStreamReaderBase.java:54)
... 27 moreI have created a web application and have a jsp host.
I have 2 questions:
1-How do I deploy to the host. please explain. is this host a 3rd party? if so, ask them.
if the host is tomcat running on a machine that you have control of, create a WAR file and put it in the /webapps directory.
>
2-I also want to add a tomcat realm and have been
told to edit the server.xml file and web.xml file you should not edit the server.xml. just put a WAR file in the /webapps directory. no need to edit server.xml.
web.xml is part of the standard web app deployment. your app should have one, and it needs to be in the WEB-INF directory.
are these found on the host??
please offer a confused guy some helpYou should read "My First Web App" on the Tomcat page.
% -
Issue after deployment of ADF App into Standalone server.
Hi
I was able to run my ADF App from Integrated server, but after deploying the same APP in standalone server and when we access the Page.
I am getting the following error of " AM Definition not Found in the log". the exact log is below. Things are working fine in integrated but breaks in standalone.
<ApplicationPoolImpl><prepareApplicationModule> [378] oracle.jbo.NoDefException: JBO-25002: Definition xxplp.oracle.adf.customerservice.model.applicationModule.CustomerServiceAM of type ApplicationModule is not found.
at oracle.jbo.mom.DefinitionManager.findDefinitionObject(DefinitionManager.java:495)
at oracle.jbo.mom.DefinitionManager.findDefinitionObject(DefinitionManager.java:413)
at oracle.jbo.mom.DefinitionManager.findDefinitionObject(DefinitionManager.java:395)
at oracle.jbo.server.MetaObjectManager.findMetaObject(MetaObjectManager.java:749)
at oracle.jbo.server.ApplicationModuleDefImpl.findDefObject(ApplicationModuleDefImpl.java:279)
at oracle.jbo.server.ApplicationModuleImpl.createRootApplicationModule(ApplicationModuleImpl.java:428)
at oracle.jbo.server.ApplicationModuleHomeImpl.create(ApplicationModuleHomeImpl.java:87)
at oracle.jbo.common.ampool.DefaultConnectionStrategy.createApplicationModule(DefaultConnectionStrategy.java:158)
at oracle.jbo.common.ampool.DefaultConnectionStrategy.createApplicationModule(DefaultConnectionStrategy.java:73)
at oracle.jbo.common.ampool.ApplicationPoolImpl.instantiateResource(ApplicationPoolImpl.java:2767)
at oracle.jbo.pool.ResourcePool.createResource(ResourcePool.java:589)
at oracle.jbo.common.ampool.ApplicationPoolImpl.prepareApplicationModule(ApplicationPoolImpl.java:2327)
at oracle.jbo.common.ampool.ApplicationPoolImpl.doCheckout(ApplicationPoolImpl.java:2203)
at oracle.jbo.common.ampool.ApplicationPoolImpl.useApplicationModule(ApplicationPoolImpl.java:3101)
at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:460)
at oracle.jbo.http.HttpSessionCookieImpl.useApplicationModule(HttpSessionCookieImpl.java:234)
at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:431)
at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:426)
at oracle.adf.model.bc4j.DCJboDataControl.initializeApplicationModule(DCJboDataControl.java:512)
at oracle.adf.model.bc4j.DCJboDataControl.getApplicationModule(DCJboDataControl.java:855)
at oracle.adf.model.binding.DCDataControl.setErrorHandler(DCDataControl.java:476)
at oracle.jbo.uicli.binding.JUApplication.setErrorHandler(JUApplication.java:261)
at oracle.adf.model.BindingContext.put(BindingContext.java:1230)
at oracle.adf.model.binding.DCDataControlReference.getDataControl(DCDataControlReference.java:173)
at oracle.adf.model.BindingContext.instantiateDataControl(BindingContext.java:964)
at oracle.adf.model.dcframe.DataControlFrameImpl.doFindDataControl(DataControlFrameImpl.java:1210)
at oracle.adf.model.dcframe.DataControlFrameImpl.internalFindDataControl(DataControlFrameImpl.java:1113)
at oracle.adf.model.dcframe.DataControlFrameImpl.findDataControl(DataControlFrameImpl.java:1073)
at oracle.adf.model.BindingContext.internalFindDataControl(BindingContext.java:1085)
at oracle.adf.model.BindingContext.get(BindingContext.java:1042)
at oracle.adf.model.binding.DCParameter.evaluateValue(DCParameter.java:82)
at oracle.adf.model.binding.DCParameter.getValue(DCParameter.java:111)
at oracle.adf.model.binding.DCBindingContainer.getChildByName(DCBindingContainer.java:2682)
at oracle.adf.model.binding.DCBindingContainer.internalGet(DCBindingContainer.java:2730)
at oracle.adf.model.binding.DCExecutableBinding.get(DCExecutableBinding.java:115)
at oracle.adf.model.binding.DCUtil.findSpelObject(DCUtil.java:305)
at oracle.adf.model.binding.DCBindingContainer.evaluateParameterWithElCheck(DCBindingContainer.java:1456)
at oracle.adf.model.binding.DCBindingContainer.findDataControl(DCBindingContainer.java:1564)
at oracle.adf.model.binding.DCIteratorBinding.initDataControl(DCIteratorBinding.java:2433)
at oracle.adf.model.binding.DCIteratorBinding.getDataControl(DCIteratorBinding.java:2378)
at oracle.adf.model.binding.DCIteratorBinding.getAttributeDefs(DCIteratorBinding.java:3145)
at oracle.jbo.uicli.binding.JUCtrlValueBinding.fetchAttrDefs(JUCtrlValueBinding.java:484)
at oracle.jbo.uicli.binding.JUCtrlValueBinding.getAttributeDefs(JUCtrlValueBinding.java:436)
at oracle.jbo.uicli.binding.JUCtrlValueBinding.getAttributeDef(JUCtrlValueBinding.java:510)
at oracle.jbo.uicli.binding.JUCtrlValueBinding.getAttributeDef(JUCtrlValueBinding.java:500)
at oracle.jbo.uicli.binding.JUCtrlValueBinding$1JUAttributeDefHintsMap.<init>(JUCtrlValueBinding.java:3866)
at oracle.jbo.uicli.binding.JUCtrlValueBinding.getAttributeHintsMap(JUCtrlValueBinding.java:3961)
at oracle.jbo.uicli.binding.JUCtrlValueBinding.getHints(JUCtrlValueBinding.java:2416)
at oracle.jbo.uicli.binding.JUCtrlValueBinding.internalGet(JUCtrlValueBinding.java:2378)
at oracle.adfinternal.view.faces.model.binding.FacesCtrlAttrsBinding.internalGet(FacesCtrlAttrsBinding.java:277)
at oracle.adf.model.binding.DCControlBinding.get(DCControlBinding.java:750)
at javax.el.MapELResolver.getValue(MapELResolver.java:164)
at javax.el.CompositeELResolver.getValue(CompositeELResolver.java:143)
at com.sun.faces.el.FacesCompositeELResolver.getValue(FacesCompositeELResolver.java:72)
at com.sun.el.parser.AstValue.getValue(AstValue.java:118)
at com.sun.el.ValueExpressionImpl.getValue(ValueExpressionImpl.java:192)
at org.apache.myfaces.trinidad.bean.FacesBeanImpl.getProperty(FacesBeanImpl.java:68)
at oracle.adfinternal.view.faces.renderkit.rich.LabelLayoutRenderer.getLabel(LabelLayoutRenderer.java:880)
at oracle.adfinternal.view.faces.renderkit.rich.LabelLayoutRenderer.encodeAll(LabelLayoutRenderer.java:213)
at oracle.adfinternal.view.faces.renderkit.rich.PanelLabelAndMessageRenderer.encodeAll(PanelLabelAndMessageRenderer.java:107)
at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1369)
at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:335)
at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:765)
at org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild(CoreRenderer.java:415)
at oracle.adf.view.rich.render.RichRenderer.encodeChild(RichRenderer.java:2567)
at oracle.adfinternal.view.faces.renderkit.rich.PanelFormLayoutRenderer._encodeFormItem(PanelFormLayoutRenderer.java:1015)
at oracle.adfinternal.view.faces.renderkit.rich.PanelFormLayoutRenderer.access$100(PanelFormLayoutRenderer.java:46)
at oracle.adfinternal.view.faces.renderkit.rich.PanelFormLayoutRenderer$FormColumnEncoder.processComponent(PanelFormLayoutRenderer.java:1491)
at oracle.adfinternal.view.faces.renderkit.rich.PanelFormLayoutRenderer$FormColumnEncoder.processComponent(PanelFormLayoutRenderer.java:1410)
at org.apache.myfaces.trinidad.component.UIXComponent.processFlattenedChildren(UIXComponent.java:170)
at org.apache.myfaces.trinidad.component.UIXComponent.processFlattenedChildren(UIXComponent.java:290)
at org.apache.myfaces.trinidad.component.UIXComponent.encodeFlattenedChildren(UIXComponent.java:255)
at oracle.adfinternal.view.faces.renderkit.rich.PanelFormLayoutRenderer._encodeChildren(PanelFormLayoutRenderer.java:352)
at oracle.adfinternal.view.faces.renderkit.rich.PanelFormLayoutRenderer.encodeAll(PanelFormLayoutRenderer.java:187)
at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1369)
at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:335)
at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:765)
at org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild(CoreRenderer.java:415)
at oracle.adf.view.rich.render.RichRenderer.encodeChild(RichRenderer.java:2567)
at oracle.adfinternal.view.faces.renderkit.rich.ShowDetailItemRenderer.access$100(ShowDetailItemRenderer.java:31)
at oracle.adfinternal.view.faces.renderkit.rich.ShowDetailItemRenderer$ChildEncoderCallback.processComponent(ShowDetailItemRenderer.java:492)
at oracle.adfinternal.view.faces.renderkit.rich.ShowDetailItemRenderer$ChildEncoderCallback.processComponent(ShowDetailItemRenderer.java:465)
at org.apache.myfaces.trinidad.component.UIXComponent.processFlattenedChildren(UIXComponent.java:170)
at org.apache.myfaces.trinidad.component.UIXComponent.processFlattenedChildren(UIXComponent.java:290)
at org.apache.myfaces.trinidad.component.UIXComponent.encodeFlattenedChildren(UIXComponent.java:255)
at oracle.adfinternal.view.faces.renderkit.rich.ShowDetailItemRenderer._encodeChildren(ShowDetailItemRenderer.java:407)
at oracle.adfinternal.view.faces.renderkit.rich.ShowDetailItemRenderer.encodeAll(ShowDetailItemRenderer.java:114)
at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1369)
at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:335)
at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:765)
at org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild(CoreRenderer.java:415)
at oracle.adf.view.rich.render.RichRenderer.encodeChild(RichRenderer.java:2567)
at oracle.adf.view.rich.render.RichRenderer.encodeStretchedChild(RichRenderer.java:1963)
at oracle.adfinternal.view.faces.renderkit.rich.PanelTabbedRenderer.access$500(PanelTabbedRenderer.java:39)
at oracle.adfinternal.view.faces.renderkit.rich.PanelTabbedRenderer$BodyEncoderCallback.processComponent(PanelTabbedRenderer.java:1059)
at oracle.adfinternal.view.faces.renderkit.rich.PanelTabbedRenderer$BodyEncoderCallback.processComponent(PanelTabbedRenderer.java:1010)
at org.apache.myfaces.trinidad.component.UIXComponent.processFlattenedChildren(UIXComponent.java:170)
at org.apache.myfaces.trinidad.component.UIXComponent.processFlattenedChildren(UIXComponent.java:290)
at org.apache.myfaces.trinidad.component.UIXComponent.encodeFlattenedChildren(UIXComponent.java:255)
at oracle.adfinternal.view.faces.renderkit.rich.PanelTabbedRenderer._renderTabBody(PanelTabbedRenderer.java:606)
at oracle.adfinternal.view.faces.renderkit.rich.PanelTabbedRenderer.encodeAll(PanelTabbedRenderer.java:262)
at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1369)
at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:335)
at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:765)
at org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild(CoreRenderer.java:415)
at oracle.adf.view.rich.render.RichRenderer.encodeChild(RichRenderer.java:2567)
at oracle.adfinternal.view.faces.renderkit.rich.PanelGroupLayoutRenderer._encodeChild(PanelGroupLayoutRenderer.java:405)
at oracle.adfinternal.view.faces.renderkit.rich.PanelGroupLayoutRenderer.access$300(PanelGroupLayoutRenderer.java:30)
at oracle.adfinternal.view.faces.renderkit.rich.PanelGroupLayoutRenderer$EncoderCallback.processComponent(PanelGroupLayoutRenderer.java:654)
at oracle.adfinternal.view.faces.renderkit.rich.PanelGroupLayoutRenderer$EncoderCallback.processComponent(PanelGroupLayoutRenderer.java:573)
at org.apache.myfaces.trinidad.component.UIXComponent.processFlattenedChildren(UIXComponent.java:170)
at org.apache.myfaces.trinidad.component.UIXComponent.processFlattenedChildren(UIXComponent.java:290)
at org.apache.myfaces.trinidad.component.UIXComponent.encodeFlattenedChildren(UIXComponent.java:255)
at oracle.adfinternal.view.faces.renderkit.rich.PanelGroupLayoutRenderer.encodeAll(PanelGroupLayoutRenderer.java:330)
at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1369)
at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:335)
at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:765)
at org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild(CoreRenderer.java:415)
at oracle.adf.view.rich.render.RichRenderer.encodeChild(RichRenderer.java:2567)
at org.apache.myfaces.trinidad.render.CoreRenderer.encodeAllChildren(CoreRenderer.java:432)
at oracle.adfinternal.view.faces.renderkit.rich.FormRenderer.encodeAll(FormRenderer.java:220)
at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1369)
at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:335)
at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:765)
at org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild(CoreRenderer.java:415)
at oracle.adf.view.rich.render.RichRenderer.encodeChild(RichRenderer.java:2567)
at org.apache.myfaces.trinidad.render.CoreRenderer.encodeAllChildren(CoreRenderer.java:432)
at oracle.adfinternal.view.faces.renderkit.rich.DocumentRenderer.encodeAll(DocumentRenderer.java:1071)
at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1369)
at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:335)
at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:765)
at org.apache.myfaces.trinidad.component.UIXComponentBase.__encodeRecursive(UIXComponentBase.java:1515)
at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeAll(UIXComponentBase.java:785)
at javax.faces.component.UIComponent.encodeAll(UIComponent.java:942)
at com.sun.faces.application.ViewHandlerImpl.doRenderView(ViewHandlerImpl.java:271)
at com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:202)
at javax.faces.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:189)
at org.apache.myfaces.trinidadinternal.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:193)
at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._renderResponse(LifecycleImpl.java:710)
at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:273)
at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:205)
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:266)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:191)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:97)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:420)
at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:420)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:247)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:157)
at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:94)
at java.security.AccessController.doPrivileged(Native Method)
at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)
at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:414)
at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:138)
at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:159)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.dms.wls.DMSServletFilter.doFilter(DMSServletFilter.java:330)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.doIt(WebAppServletContext.java:3684)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3650)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2268)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2174)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1446)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
<DCBindingContainer><reportException> [379] DCBindingContainer.reportException :oracle.jbo.NoDefException
<DCBindingContainer><reportException> [380] oracle.jbo.NoDefException: JBO-25002: Definition xxplp.oracle.adf.customerservice.model.applicationModule.CustomerServiceAM of type ApplicationModule is not found.
at oracle.jbo.mom.DefinitionManager.findDefinitionObject(DefinitionManager.java:495)
at oracle.jbo.mom.DefinitionManager.findDefinitionObject(DefinitionManager.java:413)
at oracle.jbo.mom.DefinitionManager.findDefinitionObject(DefinitionManager.java:395)
at oracle.jbo.server.MetaObjectManager.findMetaObject(MetaObjectManager.java:749)
at oracle.jbo.server.ApplicationModuleDefImpl.findDefObject(ApplicationModuleDefImpl.java:279)
at oracle.jbo.server.ApplicationModuleImpl.createRootApplicationModule(ApplicationModuleImpl.java:428)
at oracle.jbo.server.ApplicationModuleHomeImpl.create(ApplicationModuleHomeImpl.java:87)
at oracle.jbo.common.ampool.DefaultConnectionStrategy.createApplicationModule(DefaultConnectionStrategy.java:158)
at oracle.jbo.common.ampool.DefaultConnectionStrategy.createApplicationModule(DefaultConnectionStrategy.java:73)
at oracle.jbo.common.ampool.ApplicationPoolImpl.instantiateResource(ApplicationPoolImpl.java:2767)
at oracle.jbo.pool.ResourcePool.createResource(ResourcePool.java:589)
at oracle.jbo.common.ampool.ApplicationPoolImpl.prepareApplicationModule(ApplicationPoolImpl.java:2327)
at oracle.jbo.common.ampool.ApplicationPoolImpl.doCheckout(ApplicationPoolImpl.java:2203)
at oracle.jbo.common.ampool.ApplicationPoolImpl.useApplicationModule(ApplicationPoolImpl.java:3101)
at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:460)
at oracle.jbo.http.HttpSessionCookieImpl.useApplicationModule(HttpSessionCookieImpl.java:234)
at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:431)
at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:426)
at oracle.adf.model.bc4j.DCJboDataControl.initializeApplicationModule(DCJboDataControl.java:512)
at oracle.adf.model.bc4j.DCJboDataControl.getApplicationModule(DCJboDataControl.java:855)
at oracle.adf.model.binding.DCDataControl.setErrorHandler(DCDataControl.java:476)
at oracle.jbo.uicli.binding.JUApplication.setErrorHandler(JUApplication.java:261)
at oracle.adf.model.BindingContext.put(BindingContext.java:1230)Please help me with the issue. I missed an aggressive deadline already :(
Is it have to do with the Deployment profile ? or any Data Control Issue ?Thanks Guys,
You won't believe if I say the issue because of a minute error.
for some reason the AMImpl.xml and its class files were getting created in different directory where as the DataControl was referencing the different directory, when I changed the proper directory for classes files to generate things started to work fine.
As long as the creating the deployment profile, I think I did right. So all is fine at my end.. thanks for your links, it was really helpful though.
Thanks
Thyagy -
Error occurred in deployment step 'Install app for SharePoint, ULS log as below:
0x0BA8 SharePoint Foundation App Deployment acjjg Medium The current user has System.Threading.Thread.CurrentPrincipal.Identity.Name
= 0#.w|perf\abraham.lincoln, System.Security.Principal.WindowsIdentity.GetCurrent().Name = NT AUTHORITY\IUSR, System.Web.HttpContext.Current.User.Identity.Name = 0#.w|perf\abraham.lincoln. dcf1d59c-94c5-5071-47bf-07cd3f2ead95
12/14/2014 23:54:27.39 w3wp.exe (0x2170) 0x0BA8 SharePoint Foundation
App Deployment ag8d6 Medium SPApp: CreateAppUsingPackageMetadata: isCabStream is false. Treating the stream as a ZIP. dcf1d59c-94c5-5071-47bf-07cd3f2ead95
12/14/2014 23:54:27.39 w3wp.exe (0x2170) 0x0BA8 SharePoint Foundation
App Deployment ahkn9 High Deleting App with fingerprint TJQrYuD5N+kEe38LZtl6wSs3Ak3yYvWcmwuNLTqtpdFzb4qSMopN3SWCRdWvntrKoM7qIS2S2llpA5omi8iHqQ==
on site 264dc389-d394-4985-a43c-ad91a383c0df dcf1d59c-94c5-5071-47bf-07cd3f2ead95
12/14/2014 23:54:27.39 w3wp.exe (0x2170) 0x0BA8 SharePoint Foundation
App Deployment ahkob High The App with fingerprint TJQrYuD5N+kEe38LZtl6wSs3Ak3yYvWcmwuNLTqtpdFzb4qSMopN3SWCRdWvntrKoM7qIS2S2llpA5omi8iHqQ==
on site 264dc389-d394-4985-a43c-ad91a383c0df was to be deleted, but it did not exist dcf1d59c-94c5-5071-47bf-07cd3f2ead95
12/14/2014 23:54:27.41 w3wp.exe (0x2170) 0x0BA8 SharePoint Foundation
App Deployment abnqa Medium App Packaging: CreatePackage: There are 10 parts in the package. There are 1 package-part relationships
in the package. dcf1d59c-94c5-5071-47bf-07cd3f2ead95
12/14/2014 23:54:27.41 w3wp.exe (0x2170) 0x0BA8 SharePoint Foundation
App Deployment afyz6 Medium SPAppResources: ParseResources: No default resource file was found. dcf1d59c-94c5-5071-47bf-07cd3f2ead95
12/14/2014 23:54:27.41 w3wp.exe (0x2170) 0x0BA8 SharePoint Foundation
App Deployment afyzx Medium SPAppResources: ParseResources: no resource file relationships were found. dcf1d59c-94c5-5071-47bf-07cd3f2ead95
12/14/2014 23:54:27.41 w3wp.exe (0x2170) 0x0BA8 SharePoint Foundation
App Deployment aebgs Medium SPPackageUtility: ExtractPart: Creating directory 'C:\Users\abraham.lincoln.PERF\AppData\Local\Temp\71345ca6-3565-43d8-9017-2d3336965d8f\extract' dcf1d59c-94c5-5071-47bf-07cd3f2ead95
12/14/2014 23:54:27.41 w3wp.exe (0x2170) 0x0BA8 SharePoint Foundation
App Deployment aebgt Medium SPPackageUtility: ExtractPart: Creating file 'C:\Users\abraham.lincoln.PERF\AppData\Local\Temp\71345ca6-3565-43d8-9017-2d3336965d8f\extract\AppManifest.xml' dcf1d59c-94c5-5071-47bf-07cd3f2ead95
12/14/2014 23:54:27.41 w3wp.exe (0x2170) 0x0BA8 SharePoint Foundation
App Deployment ajddw Medium SPPackageUtility: ExtractPart: Part stream length is '1072'. dcf1d59c-94c5-5071-47bf-07cd3f2ead95
12/14/2014 23:54:27.41 w3wp.exe (0x2170) 0x0BA8 SharePoint Foundation
App Deployment ajddz Medium SPPackageUtility: ExtractPart: Length is '1072', not locking before copying the stream. dcf1d59c-94c5-5071-47bf-07cd3f2ead95
12/14/2014 23:54:27.41 w3wp.exe (0x2170) 0x0BA8 SharePoint Foundation
App Deployment aebgt Medium SPPackageUtility: ExtractPart: Creating file 'C:\Users\abraham.lincoln.PERF\AppData\Local\Temp\71345ca6-3565-43d8-9017-2d3336965d8f\extract\AppIcon.png' dcf1d59c-94c5-5071-47bf-07cd3f2ead95
12/14/2014 23:54:27.41 w3wp.exe (0x2170) 0x0BA8 SharePoint Foundation
App Deployment ajddw Medium SPPackageUtility: ExtractPart: Part stream length is '3540'. dcf1d59c-94c5-5071-47bf-07cd3f2ead95
12/14/2014 23:54:27.41 w3wp.exe (0x2170) 0x0BA8 SharePoint Foundation
App Deployment ajddz Medium SPPackageUtility: ExtractPart: Length is '3540', not locking before copying the stream. dcf1d59c-94c5-5071-47bf-07cd3f2ead95
12/14/2014 23:54:27.41 w3wp.exe (0x2170) 0x0BA8 SharePoint Foundation
App Deployment aidi7 Medium SPIconAppPartValidator: IsSupportedFormat: image raw format is 'b96b3caf-0728-11d3-9d7b-0000f81ef32e'. dcf1d59c-94c5-5071-47bf-07cd3f2ead95
12/14/2014 23:54:27.42 w3wp.exe (0x2170) 0x0BA8 SharePoint Foundation
App Deployment afyz6 Medium SPAppResources: ParseResources: No default resource file was found. dcf1d59c-94c5-5071-47bf-07cd3f2ead95
12/14/2014 23:54:27.42 w3wp.exe (0x2170) 0x0BA8 SharePoint Foundation
App Deployment afyzx Medium SPAppResources: ParseResources: no resource file relationships were found. dcf1d59c-94c5-5071-47bf-07cd3f2ead95
12/14/2014 23:54:27.42 w3wp.exe (0x2170) 0x0BA8 SharePoint Foundation
App Deployment aebgt Medium SPPackageUtility: ExtractPart: Creating file 'C:\Users\abraham.lincoln.PERF\AppData\Local\Temp\71345ca6-3565-43d8-9017-2d3336965d8f\extract\featurecc1deab7-efdf-4cc2-80ae-60e073577d64.xml' dcf1d59c-94c5-5071-47bf-07cd3f2ead95
12/14/2014 23:54:27.42 w3wp.exe (0x2170) 0x0BA8 SharePoint Foundation
App Deployment ajddw Medium SPPackageUtility: ExtractPart: Part stream length is '321'. dcf1d59c-94c5-5071-47bf-07cd3f2ead95
12/14/2014 23:54:27.42 w3wp.exe (0x2170) 0x0BA8 SharePoint Foundation
App Deployment ajddz Medium SPPackageUtility: ExtractPart: Length is '321', not locking before copying the stream. dcf1d59c-94c5-5071-47bf-07cd3f2ead95
12/14/2014 23:54:27.42 w3wp.exe (0x2170) 0x0BA8 SharePoint Foundation
App Deployment aebgt Medium SPPackageUtility: ExtractPart: Creating file 'C:\Users\abraham.lincoln.PERF\AppData\Local\Temp\71345ca6-3565-43d8-9017-2d3336965d8f\extract\elements4d87f314-4b0a-4b89-8a7e-9cb73c99f25f.xml' dcf1d59c-94c5-5071-47bf-07cd3f2ead95
12/14/2014 23:54:27.42 w3wp.exe (0x2170) 0x0BA8 SharePoint Foundation
App Deployment ajddw Medium SPPackageUtility: ExtractPart: Part stream length is '849'. dcf1d59c-94c5-5071-47bf-07cd3f2ead95
12/14/2014 23:54:27.42 w3wp.exe (0x2170) 0x0BA8 SharePoint Foundation
App Deployment ajddz Medium SPPackageUtility: ExtractPart: Length is '849', not locking before copying the stream. dcf1d59c-94c5-5071-47bf-07cd3f2ead95
12/14/2014 23:54:27.42 w3wp.exe (0x2170) 0x0BA8 SharePoint Foundation
App Deployment aerhy Medium App Packaging - List of App Parts (count ='2'): Name='SPIconAppPart',Name='SPFeatureAppPart', dcf1d59c-94c5-5071-47bf-07cd3f2ead95
12/14/2014 23:54:27.42 w3wp.exe (0x2170) 0x0BA8 SharePoint Foundation
App Deployment aerhz Medium App Packaging - List of Deployment Groups (count ='3'): Name='SPIconDeploymentGroup',Name='SPTargetWebDeploymentGroup',Name='SPQuickLaunchDeploymentGroup', dcf1d59c-94c5-5071-47bf-07cd3f2ead95
12/14/2014 23:54:27.42 w3wp.exe (0x2170) 0x0BA8 SharePoint Foundation
App Deployment mq71 Medium Creating App with fingerprint TJQrYuD5N+kEe38LZtl6wSs3Ak3yYvWcmwuNLTqtpdFzb4qSMopN3SWCRdWvntrKoM7qIS2S2llpA5omi8iHqQ==
to site 264dc389-d394-4985-a43c-ad91a383c0df. dcf1d59c-94c5-5071-47bf-07cd3f2ead95
12/14/2014 23:54:27.44 w3wp.exe (0x2170) 0x0BA8 SharePoint Foundation
App Deployment afpd2 Medium Committing package with fingerprint TJQrYuD5N+kEe38LZtl6wSs3Ak3yYvWcmwuNLTqtpdFzb4qSMopN3SWCRdWvntrKoM7qIS2S2llpA5omi8iHqQ==
and data length 8010 to site 264dc389-d394-4985-a43c-ad91a383c0df. dcf1d59c-94c5-5071-47bf-07cd3f2ead95
12/14/2014 23:54:27.46 w3wp.exe (0x2170) 0x0BA8 SharePoint Foundation
App Deployment ajk9e Medium Writing 8010 bytes to database for app with fingerprint TJQrYuD5N+kEe38LZtl6wSs3Ak3yYvWcmwuNLTqtpdFzb4qSMopN3SWCRdWvntrKoM7qIS2S2llpA5omi8iHqQ== dcf1d59c-94c5-5071-47bf-07cd3f2ead95
12/14/2014 23:54:27.50 w3wp.exe (0x2170)Hi Jerry,
I agree with Nikhil, I think you have posted partial ULS log, we could not find effective errors for the issue.
For Provider Hosted app in SharePoint server on-premise,
the TokenHelper class will try to access your Azure Security Principle by default.
Did you have a valid Azure account?
If not, the issue may be caused that you don't have a valid account, to resolve this issue, you can use
a valid Azure account or not going to use Azure Platform for hosting the app as the article
below.
http://pratapreddypilaka.blogspot.jp/2012/12/sharepoint-2013-avoiding-azure-on-dev.html
Thanks,
Jason
Jason Guo
TechNet Community Support -
I am facing this problem while start debugging the Provider-Hosted app through VS2013. I want to deploy the app with same version. So please let me know any solution
to remove the app instance from office365 online, so that I can deploy the same app with same version on the specified "Developer Site".
Note: If I change the version in AppManifesst.xml file then this problem/error gets resolved. But I want to deploy with the same version as
per my business requirement.
The actual error renders while I click to "Start" button of the Visual Studio 2013 to deploy the provider-hosted app, for the sake
to deploying it on say "ABC" site collection (i.e. developer site). I work on office365 online. Therefore, request you to please provide the solution for SharePoint online office 365. The occurrences is:
"Error occurred in deployment step 'Install app for SharePoint': The provided App differs from another App with the
same version and product ID."
Please assist me anyone. It will be so kind of you.....
Naveen Kumar
Steria India Ltd.Did you updated the AppManifest.xml file
and change the version.
If this helped you resolve your issue, please mark it Answered -
Hi everyone,
I `m getting error message like this "Error occurred in deployment step 'Install app for SharePoint': There were errors when validating the App manifest.". when i try to debug the application with "Start Action"="Internet Explorer".This
application is an apps for office application with Oauth with Office 365
Any help in this regard is greatly appreciated
Thanks!!
Santosh SutarThanks Fei for your time.
>>>I would suggest that you create a new project and set it start action with 'Internet Explorer'
to see whether this issue could be reproduced. If no, we can compare the difference between the two menifest files.
As per your suggestion above ,With new project,I can debug with with start action "Internet Explorer" and I
could not see much difference between the manifest files.
Please find below my manifest file for the reference .
<?xml version="1.0" encoding="UTF-8"?>
<!--Created:cb85b80c-f585-40ff-8bfc-12ff4d0e34a9-->
<OfficeApp xmlns="http://schemas.microsoft.com/office/appforoffice/1.1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="TaskPaneApp">
<Id>084cd6cd-2908-44d1-a5cf-4fa029aec211</Id>
<Version>1.0.0.0</Version>
<ProviderName>[Provider name]</ProviderName>
<DefaultLocale>en-US</DefaultLocale>
<DisplayName DefaultValue="Office 365 MVC" />
<Description DefaultValue="Office 365 MVC"/>
<AppDomains>
<AppDomain>https://login.microsoftonline.com</AppDomain>
</AppDomains>
<Hosts>
<Host Name="Document" />
<Host Name="Workbook" />
</Hosts>
<DefaultSettings>
<SourceLocation DefaultValue="~remoteAppUrl/Home/Index/" />
</DefaultSettings>
<Permissions>ReadWriteDocument</Permissions>
</OfficeApp>
Please suggest on this.
Thanks !!
Santosh Sutar -
Unknown deployment tag - web-app-class-loader
I can create the ear file with jdeveloper, but when deploy in 9iAs with the ear file, the next error apaers:
Deployment failed:
Unknown deployment tag in
orion-web.xml:
<web-app-class-loader>;
nested exception is:
java.lang.InstantiationException:
when deploy the system show the web module.
I have a CMP entity bean and too show in deploy.
I don't know wath can I do.
Please Help Me
Miguel Angel Caro
[email protected]I manually hacked the EAR file generated by JDeveloper 10g and removed the offending tag from the orion-web.xml
After removing the tag I was able to deploy the EAR to 9iAS (9.0.2.3) but now I am getting runtime errors...
Anyone who has gone through this please let me know!
Thanks! -
Query regarding App V Deployment - (Deploying DriverMSI in App - V)
Hi All,
This is my query regarding deployment of a driver MSI using App V. I have tried sequencing "NMap software" which has Kernel driver as service. I have separated the Kernel driver and wrapped in an MSI and tried deploying the Kernel Driver MSI using
the DeploymentConfig.xml file but its not happening.
I have tried writing script in DeploymentConfig.xml in AddPackage Tag as shown in the below commands where I have added driver MSI in sequenced package, and tried deploying the DeploymentConfig.xml in powershell during Add-Package event but the driver
MSI is not getting installed in Client machine.
<AddPackage>
<Path>msiexec.exe</Path>
<Arguments>/i Nmap_KernelDriver.msi /qb /l*v c:\windows\system32\LogFiles\Install_Nmap.log</Arguments>
<Wait RollbackOnError="true" Timeout="30"/>
</AddPackage>
<RemovePackage>
<Path>msiexec.exe</Path>
<Arguments>/x {4BAB3E93-716E-4E18-90F0-1DA3876CBEB6} /qn</Arguments>
<Wait RollbackOnError="false" Timeout="60"/>
</RemovePackage>
</MachineScripts>
The other way I have tried is writing a vbscript for installing the driver MSI, added the vbs in sequenced package and called the same in DeploymentConfig.xml but no luck.Please find the command below.
<!--
<MachineScripts>
<PublishPackage>
<Path>wscript.exe</Path>
<Arguments>[{AppVPackageRoot}]\..\Scripts\NMap_Driver_Install.vbs -guid 7c21d1e9-0fc4-4e56-b7bf-49e54d6e523f -name Insecure_Nmap_6.4_APPV</Arguments>
<Wait RollbackOnError="true" Timeout="30"/>
</PublishPackage>
<UnpublishPackage>
<Path>\\server\share\barfoo.exe</Path>
<Arguments>-WithArgs</Arguments>
<Wait RollbackOnError="false" Timeout="30"/>
</UnpublishPackage>
Please suggest any method to make this successful or kindly let me know if there is any mistake in the script.
Thanks in advance,
Vivek VHi Nicke,
These are the following methods and steps that I have performed for installing Driver MSi.
Method 1:
1. Included the driver MSI in Package Files Tab in sequencer and called the same MSI in DeploymentConfig.xml using the below script.
<AddPackage>
<Path>msiexec.exe</Path>
<Arguments>/i Nmap_KernelDriver.msi /qb /l*v c:\windows\system32\LogFiles\Install_Nmap.log</Arguments>
<Wait RollbackOnError="true" Timeout="30"/>
</AddPackage>
<RemovePackage>
<Path>msiexec.exe</Path>
<Arguments>/x {4BAB3E93-716E-4E18-90F0-1DA3876CBEB6} /qn</Arguments>
<Wait RollbackOnError="false" Timeout="60"/>
</RemovePackage>
</MachineScripts>
2. After the above steps, deployed the AppV package along with DeploymentConfig.xml in App V Client using the commands mentioned below.
Set-ExecutionPolicy -Unrestricted
Import-module Appvclient
Set-AppVClientConfiguration -EnablePackageScripts 1
Add-AppvClientPackage -Path "Path of the AppV file" -DynamicDeploymentConfig "Path of DeploymentConfig.xml"
after trying the above steps the driver MSI is not getting installed.
Method 2:
1. Included the driver MSI and a VBS file(VBS contains script for calling the driverMSI)in Package Files tab in sequencer. Commandlines has been provided calling the vbs file in DeploymetConfig.xml as mentioned below.
<!--
<MachineScripts>
<PublishPackage>
<Path>wscript.exe</Path>
<Arguments>[{AppVPackageRoot}]\..\Scripts\NMap_Driver_Install.vbs -guid 7c21d1e9-0fc4-4e56-b7bf-49e54d6e523f -name Insecure_Nmap_6.4_APPV</Arguments>
<Wait RollbackOnError="true" Timeout="30"/>
</PublishPackage>
<UnpublishPackage>
<Path>\\server\share\barfoo.exe</Path>
<Arguments>-WithArgs</Arguments>
<Wait RollbackOnError="false" Timeout="30"/>
</UnpublishPackage>
2. after executing the above steps, tried deploying the AppV file along with DeploymentConfig.xml using the commands mentioned below,
Set-ExecutionPolicy -Unrestricted
Import-module Appvclient
Set-AppVClientConfiguration -EnablePackageScripts 1
Add-AppvClientPackage -Path "Path of the AppV file" -DynamicDeploymentConfig "Path of DeploymentConfig.xml"
evenafter trying the above methods the driver MSI is not getting installed. Hope you can understand my explanations above.
Regards,
Vivek V -
Deploy the JSF app to integrated Weblogic Server Error
Hi, All,
I just created a new ADF app and have only one single JSF page in which have one Calender component. After right click the ViewController project and select deploy to Integrated Weblogic server and i got the below error:
[01:05:25 AM] ---- Deployment started. ----
[01:05:25 AM] Target platform is (Weblogic 10.3).
[01:05:26 AM] #### Deployment incomplete. ####
[01:05:26 AM] [J2EE Deployment SPI:260010]Unable to connect to 't3://127.0.0.1:7101' as user, 'weblogic'. Error received: null
[01:05:26 AM] [J2EE Deployment SPI:260010]Unable to connect to 't3://127.0.0.1:7101' as user, 'weblogic'. Error received: null
[01:05:26 AM] [J2EE Deployment SPI:260010]Unable to connect to 't3://127.0.0.1:7101' as user, 'weblogic'. Error received: null
[01:05:26 AM] t3://127.0.0.1:7101: Destination unreachable; nested exception is:
java.net.ProtocolException: unrecognized response from proxy: 'HTTP/1.1 500 Server Error'; No available router to destination
[01:05:26 AM] Destination unreachable; nested exception is:
java.net.ProtocolException: unrecognized response from proxy: 'HTTP/1.1 500 Server Error'; No available router to destination
If right click the simple JSF page and run directly will start the wl server and seems not to deploy the demo app. the log as below:
Starting WLS with line:
C:\PROGRA~1\Oracle\MIDDLE~1\JDK160~1\bin\java -client -Xms256m -Xmx512m -XX:CompileThreshold=8000 -XX:PermSize=128m -XX:MaxPermSize=512m -Dweblogic.Name=DefaultServer -Djava.security.policy=C:\PROGRA~1\Oracle\MIDDLE~1\WLSERV~1.3\server\lib\weblogic.policy "-Djavax.net.ssl.trustStore=C:\Program Files\Oracle\Middle Ware\wlserver_10.3\server\lib\DemoTrust.jks" -Dhttp.proxyHost=www-proxy.cn.oracle.com -Dhttp.proxyPort=80 -Dhttp.nonProxyHosts= -Dhttps.proxyHost=www-proxy.cn.oracle.com -Dhttps.proxyPort=80 -Dhttps.nonProxyHosts= -Dweblogic.nodemanager.ServiceEnabled=true -Xverify:none -da -Dplatform.home=C:\PROGRA~1\Oracle\MIDDLE~1\WLSERV~1.3 -Dwls.home=C:\PROGRA~1\Oracle\MIDDLE~1\WLSERV~1.3\server -Dweblogic.home=C:\PROGRA~1\Oracle\MIDDLE~1\WLSERV~1.3\server -Djps.app.credential.overwrite.allowed=true -Ddomain.home=C:\DOCUME~1\gerry\APPLIC~1\JDEVEL~1\SYSTEM~1.60\DEFAUL~1 -Dcommon.components.home=C:\PROGRA~1\Oracle\MIDDLE~1\ORACLE~1 -Djrf.version=11.1.1 -Dorg.apache.commons.logging.Log=org.apache.commons.logging.impl.Jdk14Logger -Djrockit.optfile=C:\PROGRA~1\Oracle\MIDDLE~1\ORACLE~1\modules\oracle.jrf_11.1.1\jrocket_optfile.txt -Doracle.domain.config.dir=C:\DOCUME~1\gerry\APPLIC~1\JDEVEL~1\SYSTEM~1.60\DEFAUL~1\config\FMWCON~1 -Doracle.server.config.dir=C:\DOCUME~1\gerry\APPLIC~1\JDEVEL~1\SYSTEM~1.60\DEFAUL~1\config\FMWCON~1\servers\DefaultServer -Doracle.security.jps.config=C:\DOCUME~1\gerry\APPLIC~1\JDEVEL~1\SYSTEM~1.60\DEFAUL~1\config\fmwconfig\jps-config.xml -Djava.protocol.handler.pkgs=oracle.mds.net.protocol -Digf.arisidbeans.carmlloc=C:\DOCUME~1\gerry\APPLIC~1\JDEVEL~1\SYSTEM~1.60\DEFAUL~1\config\FMWCON~1\carml -Digf.arisidstack.home=C:\DOCUME~1\gerry\APPLIC~1\JDEVEL~1\SYSTEM~1.60\DEFAUL~1\config\FMWCON~1\arisidprovider -Dweblogic.alternateTypesDirectory=C:\PROGRA~1\Oracle\MIDDLE~1\ORACLE~1\modules\oracle.ossoiap_11.1.1,C:\PROGRA~1\Oracle\MIDDLE~1\ORACLE~1\modules\oracle.oamprovider_11.1.1 -Dweblogic.jdbc.remoteEnabled=false -Dwsm.repository.path=C:\DOCUME~1\gerry\APPLIC~1\JDEVEL~1\SYSTEM~1.60\DEFAUL~1\oracle\store\gmds -Dweblogic.management.discover=true -Dwlw.iterativeDev= -Dwlw.testConsole= -Dwlw.logErrorsToConsole= -Dweblogic.ext.dirs=C:\PROGRA~1\Oracle\MIDDLE~1\patch_wls1033\profiles\default\sysext_manifest_classpath;C:\PROGRA~1\Oracle\MIDDLE~1\patch_jdev1111\profiles\default\sysext_manifest_classpath weblogic.Server
<2010-10-15 上午01时13分40秒 VET> <Info> <WebLogicServer> <BEA-000377> <Starting WebLogic Server with Java HotSpot(TM) Client VM Version 16.0-b13 from Sun Microsystems Inc.>
<2010-10-15 上午01时13分41秒 VET> <Info> <Management> <BEA-141107> <Version: WebLogic Server 10.3.3.0 Fri Apr 9 00:05:28 PDT 2010 1321401 >
<2010-10-15 上午01时13分42秒 VET> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STARTING>
<2010-10-15 上午01时13分42秒 VET> <Info> <WorkManager> <BEA-002900> <Initializing self-tuning thread pool>
<2010-10-15 上午01时13分42秒 VET> <Notice> <LoggingService> <BEA-320400> <The log file C:\Documents and Settings\gerry\Application Data\JDeveloper\system11.1.1.3.37.56.60\DefaultDomain\servers\DefaultServer\logs\DefaultServer.log will be rotated. Reopen the log file if tailing has stopped. This can happen on some platforms like Windows.>
<2010-10-15 上午01时13分42秒 VET> <Notice> <LoggingService> <BEA-320401> <The log file has been rotated to C:\Documents and Settings\gerry\Application Data\JDeveloper\system11.1.1.3.37.56.60\DefaultDomain\servers\DefaultServer\logs\DefaultServer.log00020. Log messages will continue to be logged in C:\Documents and Settings\gerry\Application Data\JDeveloper\system11.1.1.3.37.56.60\DefaultDomain\servers\DefaultServer\logs\DefaultServer.log.>
<2010-10-15 上午01时13分42秒 VET> <Notice> <Log Management> <BEA-170019> <The server log file C:\Documents and Settings\gerry\Application Data\JDeveloper\system11.1.1.3.37.56.60\DefaultDomain\servers\DefaultServer\logs\DefaultServer.log is opened. All server side log events will be written to this file.>
<2010-10-15 上午01时13分44秒 VET> <Notice> <Security> <BEA-090082> <Security initializing using security realm myrealm.>
<2010-10-15 上午01时13分48秒 VET> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STANDBY>
<2010-10-15 上午01时13分48秒 VET> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STARTING>
<2010-10-15 上午01时13分51秒 VET> <Notice> <LoggingService> <BEA-320400> <The log file C:\Documents and Settings\gerry\Application Data\JDeveloper\system11.1.1.3.37.56.60\DefaultDomain\servers\DefaultServer\logs\DefaultDomain.log will be rotated. Reopen the log file if tailing has stopped. This can happen on some platforms like Windows.>
<2010-10-15 上午01时13分51秒 VET> <Notice> <LoggingService> <BEA-320401> <The log file has been rotated to C:\Documents and Settings\gerry\Application Data\JDeveloper\system11.1.1.3.37.56.60\DefaultDomain\servers\DefaultServer\logs\DefaultDomain.log00020. Log messages will continue to be logged in C:\Documents and Settings\gerry\Application Data\JDeveloper\system11.1.1.3.37.56.60\DefaultDomain\servers\DefaultServer\logs\DefaultDomain.log.>
<2010-10-15 上午01时13分51秒 VET> <Notice> <Log Management> <BEA-170027> <The Server has established connection with the Domain level Diagnostic Service successfully.>
<2010-10-15 上午01时13分52秒 VET> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to ADMIN>
<2010-10-15 上午01时13分52秒 VET> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to RESUMING>
<2010-10-15 上午01时13分52秒 VET> <Warning> <Server> <BEA-002611> <Hostname "gerry-cn.peoplesoft.com", maps to multiple IP addresses: 10.182.105.125, 192.168.149.1, 192.168.126.1>
<2010-10-15 上午01时13分52秒 VET> <Notice> <Server> <BEA-002613> <Channel "Default[3]" is now listening on 127.0.0.1:7101 for protocols iiop, t3, ldap, snmp, http.>
<2010-10-15 上午01时13分52秒 VET> <Notice> <Server> <BEA-002613> <Channel "Default" is now listening on 192.168.126.1:7101 for protocols iiop, t3, ldap, snmp, http.>
<2010-10-15 上午01时13分52秒 VET> <Notice> <Server> <BEA-002613> <Channel "Default[2]" is now listening on 10.182.105.125:7101 for protocols iiop, t3, ldap, snmp, http.>
<2010-10-15 上午01时13分52秒 VET> <Notice> <Server> <BEA-002613> <Channel "Default[1]" is now listening on 192.168.149.1:7101 for protocols iiop, t3, ldap, snmp, http.>
<2010-10-15 上午01时13分52秒 VET> <Notice> <WebLogicServer> <BEA-000331> <Started WebLogic Admin Server "DefaultServer" for domain "DefaultDomain" running in Development Mode>
<2010-10-15 上午01时13分52秒 VET> <Warning> <Server> <BEA-002611> <Hostname "GERRY-CN", maps to multiple IP addresses: 10.182.105.125, 192.168.149.1, 192.168.126.1>
<2010-10-15 上午01时13分52秒 VET> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to RUNNING>
<2010-10-15 上午01时13分52秒 VET> <Notice> <WebLogicServer> <BEA-000360> <Server started in RUNNING mode>
as normal there would have a URL link displayed in the weblogic log, is that right? any one can give tips?Looks like you have a proxy configured, and that proxy (of course) doesn't support routing to 127.0.0.1
[01:05:26 AM] t3://127.0.0.1:7101: Destination unreachable; nested exception is:
java.net.ProtocolException: unrecognized response from proxy: 'HTTP/1.1 500 Server Error'; No available router to destinationUnset your proxy (Tools->Preferences->Web Browser & Proxy)
John -
Connection SQLite with Flex Web Based App??
Hi! I have a problem, I create a Flex Web Based App in Flash Builder 4 and I need connect that app with my SQLite database... but I can't found the method that permit me create that connection.
My question is... exist some method or some kind of code with I can do the connection?
Can someone help me, please?SQLLite is only available in AIR apps.
The preferred method for a web-app is to use some kind service architecture to expose your data. I wouldn't be able to offer any specific advise without knowing more about your deployment environment. -
ZMM App deploy Updated VPP apps?
Not sure if this is possible or not.
If I setup an iPad/iPhone with Apple configurator and have VPP based apps on the device, yet I want to use ZMM to deploy out updated apps. Will ZMM still require the VPP codes that are already installed or is there a way to make this work. It would be nice to deploy out app updates to the devices without having them go back to a sync workstation.
Also is there any furture ability to be able to remotely control and assist someone on an ipad/iphone or even android? I ask Apple about this and was told that this is something a vendor would need to consider. If I can do this with ZCM and a laptop/desktop, why not and tablet?
Thanks
Richardrhuhman,
It appears that in the past few days you have not received a response to your
posting. That concerns us, and has triggered this automated reply.
Has your problem been resolved? If not, you might try one of the following options:
- Visit http://support.novell.com and search the knowledgebase and/or check all
the other self support options and support programs available.
- You could also try posting your message again. Make sure it is posted in the
correct newsgroup. (http://forums.novell.com)
Be sure to read the forum FAQ about what to expect in the way of responses:
http://forums.novell.com/faq.php
If this is a reply to a duplicate posting, please ignore and accept our apologies
and rest assured we will issue a stern reprimand to our posting bot.
Good luck!
Your Novell Product Support Forums Team
http://forums.novell.com/ -
Hi
We are in mid of confusion :-) between confusion between JAX RPC and XML based
web services. Now as i understand there are 2 ways of doing web service
1) JAX RPC
2) JAXM
My questiuon when do we use each of them and which would be deciding factor ?
Also say i make a service using java and servicegen. Deploy on weblogic 7.0. I
have my WSDL in place. Now can any client ( C or .NET) access my webservice as
far as they are able to grab my WSDL ?
DO we have tools like WSDL2JAVA for other languages. WSDL2C or WSDL2NET etc.
I am be too offf but am confused and need something to go ahead with weblogic
and java based sewrvice.
ThanksTo keep it simple, JAX-RPC provides an API for building web services and web service
clients that use RPC and XML. While JAXM is an API for XML-based messaging, where
using a messaging provider you can send/receive SOAP messages.
JAXM is used when you are doing a messaging (a la JMS or JavaMail) with SOAP messages.
I would suggest to refer to the following links for good starter course on web
services :
http://java.sun.com/webservices/docs/1.1/tutorial/doc/
http://dev2dev.bea.com/technologies/webservices/tutorials.jsp
In BEA WebLogic we provide "wsdl2service", which is an Ant task that takes as
input an existing WSDL file, and generates the following WebLogic Web service
components:
- the web-services.xml deployment descriptor file
- a Java source file that partially implements the Web service.
Now we probably we could have utilities provided by other vendors to generate
service components in a certain implementation from a WSDL.
Regards
Shridhar
"pranav" <[email protected]> wrote:
>
Hi
We are in mid of confusion :-) between confusion between JAX RPC and
XML based
web services. Now as i understand there are 2 ways of doing web service
1) JAX RPC
2) JAXM
My questiuon when do we use each of them and which would be deciding
factor ?
Also say i make a service using java and servicegen. Deploy on weblogic
7.0. I
have my WSDL in place. Now can any client ( C or .NET) access my webservice
as
far as they are able to grab my WSDL ?
DO we have tools like WSDL2JAVA for other languages. WSDL2C or WSDL2NET
etc.
I am be too offf but am confused and need something to go ahead with
weblogic
and java based sewrvice.
Thanks -
Deploy version-based with proxy
Hello everyone,
I try to use version-based/patching concept to deploy my application to client (approximately +3000 machines) . Now I can deploy jar file to clients by enable JnlpDownloadServlet at Tomcat server that help client to be able to use incremental update(around 12 MByte). But only incremental still consume much bandwitdh when I have many client in one branch so I desire to setup Squid proxy server in each branch to cache that incremental update. I found that my proxy didn't work well, it doesn't cache the incremental update file. When I observe in Java cache directory on client machine I see some file downloaded from web server for patch my application to a new version, it has some random number in filename eg. java-XMEpsonPOS_1.0.0.jar.24352tmp, the 24352 will change to other number in other client machine.
Does my proxy cannot cache patch file because that random number in filename? I also found some resource in http://weblogs.java.net/blog/2005/06/29/javaone-desktop-report-big-web-started-deployment-big-banking-app that similar to my case but this website didn't describe much detail about proxy so I know only they use "Download proxy servers (a single Java process)". If someone know about which proxy work with version-based/patching concept,plese guide me.
Best Regards,
Chaloempone
PS. My squid config for cache jar file like this
refresh_pattern -i \.jar(\?.*) 0 100% 4320 override-lastmod override-expire reload-into-ims ignore-reloadHello everyone,
I try to use version-based/patching concept to deploy my application to client (approximately +3000 machines) . Now I can deploy jar file to clients by enable JnlpDownloadServlet at Tomcat server that help client to be able to use incremental update(around 12 MByte). But only incremental still consume much bandwitdh when I have many client in one branch so I desire to setup Squid proxy server in each branch to cache that incremental update. I found that my proxy didn't work well, it doesn't cache the incremental update file. When I observe in Java cache directory on client machine I see some file downloaded from web server for patch my application to a new version, it has some random number in filename eg. java-XMEpsonPOS_1.0.0.jar.24352tmp, the 24352 will change to other number in other client machine.
Does my proxy cannot cache patch file because that random number in filename? I also found some resource in http://weblogs.java.net/blog/2005/06/29/javaone-desktop-report-big-web-started-deployment-big-banking-app that similar to my case but this website didn't describe much detail about proxy so I know only they use "Download proxy servers (a single Java process)". If someone know about which proxy work with version-based/patching concept,plese guide me.
Best Regards,
Chaloempone
PS. My squid config for cache jar file like this
refresh_pattern -i \.jar(\?.*) 0 100% 4320 override-lastmod override-expire reload-into-ims ignore-reload
Maybe you are looking for
-
Can I use software from two adobe accounts on the same computer?
I have a work account that has Adobe Flash and Flash Builder on it but I want a copy of Photoshop as well. The company doesn't want to pay for it but I don't mind just getting the photography package for myself on a personal adobe account. Would it b
-
Word 2007 not printing to manual tray
Word 2007 on a windows 7 64 bit machine does not use selected tray when printing previously saved documents, but he can print to the manual feed tray when creating and printing new documents. User is printing to a networked printer, which has been d
-
how is the status_code in gl_daily_rates set in front end of the oracle application. The status_code has values 'c' and 'o'. Regards sudharshan
-
Screen Sharing from Mac 2 Mac Help!!!! ASAP!!!
Hello! I have two MacBooks, how can I set up Screen Share so I can see what the other laptop is doing from my laptop without the other Macbook knowing / Needing to accept permission? I'm trying to set up all kinds of parental controls
-
I want this turned off it doesn't look too great on some images and would prefer the old default. Uncentering it would also be nice to know how to do. http://prntscr.com/5xams The old default was white background top left corner as chrome still does