Solution Deployment Problem (Administrative Framework Object Dependencies)
I'm having a problem with the deployment of a SharePoint workflow solution - hopefully someone can help me out.
Here is the sequence of STSADM commands and their output from the console:
C:\Workflows>stsadm -o deactivatefeature -name IL.SharePoint.Workflows -url http://localhost/ -force
Operation completed successfully.
C:\Workflows>stsadm -o uninstallfeature -name IL.SharePoint.Workflows -force
Operation completed successfully.
C:\Workflows>stsadm -o retractsolution -name IL.SharePoint.Workflows.wsp -local
DeploymentSucceeded : server : The solution was successfully deployed.
il.sharepoint.workflows.wsp: Operation completed with errors.
C:\Workflows>stsadm -o deletesolution -name IL.SharePoint.Workflows.wsp
Operation completed successfully.
C:\Workflows>stsadm -o addsolution -filename IL.SharePoint.Workflows.wsp
An object in the SharePoint administrative framework, "SPSolutionLanguagePack Name=0 Parent=SPSolution Name=il.sharepoint.workflows.wsp", depends on other objects which do not exist. Ensure that all of the objects dependencies are created and retry this operation.
IL.SharePoint.Workflows.wsp: The Solution installation failed.
Here is the related log info from the SharePoint logs:
error-redacted.txt
As far as I can see, SP is attempting to insert a "SPSolutionLanguagePack" object into the configuration database, with an invalid foreign key reference to the solution. Obviously there is already something fishy going on during solution retraction as well..
The only possible cause I can think of:
The virtual machine(s) on which I'm trying to do this deployment (a test environment) were created from the production environment. Somehow, in the process of creating the virtuals, their OS's regional settings got reset to English/US from their desired setting. I've also got a warning in the event log (event id 2486) of the SP host, that the system locale has changed. Weird thing is that another test environment, created from the same set of virtuals and using the same solution package, is not experiencing this problem. Granted, that environment's regional settings were changed back to the desired values at some point, but I've tried doing the same in the problem environment without success.
Needless to say it's critical for me to be able to test a deployment.. but what's more worrying is that this could occur in the production environment before I've figured out how to solve it.
Any help much appreciated! :)
we can deploy any components using solution package (WSP). The below steps ensures that Config refresh timer service occurs.
1. Stop the Windows SharePoint Timer Service
2. Open C:\Documents and Settings\All Users\Application Data\Microsoft\SharePoint\Config\<<GUID>> folder
3. Take backup of Cache.ini file
4. Delete all the XML files in the GUID folder
5. Open the Cache.ini file in edit mode and delete the contents of it.
6. Type 1.Save and close the file.
7. Start the Windows SharePoint Timer Service.
Thanks
Similar Messages
-
Terracotta: application deploy problem (WLP 9.2)
hi,
when i try to deploy a Portal application on a bea weblogic server (9.2.1), that is enabled for terracotta (added the java startup arguments to the bea server and the client is visible in the Terracotta Administrator Console), the deployment fails and a lot of compile errors are shown concerning bea classes (from netuix.jar and content.jar, see bottom for snippet). for some reason bea wants to compile these classes on deployment.
has anybody seen this same problem and does anybody have a solution or workaround for this problem? must the classes be compiled on the fly during development?
regards,
erik
log snippet:
####<Oct 4, 2007 6:48:49 PM CEST> <Error> <Deployer> <opteron-w2k3> <AdminServer> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1191516529616> <BEA-149205> <Failed to initialize the application 'ps' due to error weblogic.application.ModuleException: Exception preparing module: EJBModule(netuix.jar)
Unable to deploy EJB: netuix.jar from netuix.jar:
There are 1 nested errors:
java.io.IOException: Compiler failed executable.exec:
D:\beas\bea921\user_projects\domains\eo_domain\servers\AdminServer\cache\EJBCompilerCache\-1qrbdkqefeo8m\com\bea\wsrp\services\persistence\internal\ProducerPersistenceManager_7vyoe8_Impl.java:11: com.bea.wsrp.services.persistence.internal.ProducerPersistenceManager_7vyoe8_Impl is not abstract and does not override abstract method __tc_setmanagedfield(java.lang.String,java.lang.Object) in com.bea.wsrp.services.persistence.internal.ProducerPersistenceManager_7vyoe8_Intf
public final class ProducerPersistenceManager_7vyoe8_Impl
^
D:\beas\bea921\user_projects\domains\eo_domain\servers\AdminServer\cache\EJBCompilerCache\-1qrbdkqefeo8m\com\bea\netuix\application\manager\persistence\jdbc\BookDefinitionManager_1xzrxc_Impl.java:11: com.bea.netuix.application.manager.persistence.jdbc.BookDefinitionManager_1xzrxc_Impl is not abstract and does not override abstract method __tc_setmanagedfield(java.lang.String,java.lang.Object) in com.bea.netuix.application.manager.persistence.jdbc.BookDefinitionManager_1xzrxc_Intf
public final class BookDefinitionManager_1xzrxc_Impl
^
D:\beas\bea921\user_projects\domains\eo_domain\servers\AdminServer\cache\EJBCompilerCache\-1qrbdkqefeo8m\com\bea\netuix\application\manager\persistence\jdbc\PortletCategoryManager_uhkdka_Impl.java:11: com.bea.netuix.application.manager.persistence.jdbc.PortletCategoryManager_uhkdka_Impl is not abstract and does not override abstract method __tc_setmanagedfield(java.lang.String,java.lang.Object) in com.bea.netuix.application.manager.persistence.jdbc.PortletCategoryManager_uhkdka_Intf
public final class PortletCategoryManager_uhkdka_Impl
[MORE CLASSES HERE]
D:\beas\bea921\user_projects\domains\eo_domain\servers\AdminServer\cache\EJBCompilerCache\-1qrbdkqefeo8m\com\bea\netuix\application\manager\persistence\jdbc\PortalDefinitionManager_d875a8_Impl.java:11: com.bea.netuix.application.manager.persistence.jdbc.PortalDefinitionManager_d875a8_Impl is not abstract and does not override abstract method __tc_setmanagedfield(java.lang.String,java.lang.Object) in com.bea.netuix.application.manager.persistence.jdbc.PortalDefinitionManager_d875a8_Intf
public final class PortalDefinitionManager_d875a8_Impl
^
D:\beas\bea921\user_projects\domains\eo_domain\servers\AdminServer\cache\EJBCompilerCache\-1qrbdkqefeo8m\com\bea\netuix\application\manager\persistence\jdbc\PageDefinitionManager_c4el9c_Impl.java:11: com.bea.netuix.application.manager.persistence.jdbc.PageDefinitionManager_c4el9c_Impl is not abstract and does not override abstract method __tc_setmanagedfield(java.lang.String,java.lang.Object) in com.bea.netuix.application.manager.persistence.jdbc.PageDefinitionManager_c4el9c_Intf
public final class PageDefinitionManager_c4el9c_Impl
^
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
25 errors
at weblogic.utils.compiler.CompilerInvoker.compileMaybeExit(CompilerInvoker.java:435)
at weblogic.utils.compiler.CompilerInvoker.compile(CompilerInvoker.java:295)
at weblogic.utils.compiler.CompilerInvoker.compile(CompilerInvoker.java:303)
at weblogic.ejb.container.ejbc.EJBCompiler.doCompile(EJBCompiler.java:309)
at weblogic.ejb.container.ejbc.EJBCompiler.compileEJB(EJBCompiler.java:497)
at weblogic.ejb.container.ejbc.EJBCompiler.compileEJB(EJBCompiler.java:464)
at weblogic.ejb.container.deployer.EJBDeployer.runEJBC(EJBDeployer.java:430)
at weblogic.ejb.container.deployer.EJBDeployer.compileJar(EJBDeployer.java:752)
at weblogic.ejb.container.deployer.EJBDeployer.compileIfNecessary(EJBDeployer.java:655)
at weblogic.ejb.container.deployer.EJBDeployer.prepare(EJBDeployer.java:1199)
at weblogic.ejb.container.deployer.EJBModule.prepare(EJBModule.java:354)
at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:93)
at weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(DeploymentCallbackFlow.java:360)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)
at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:56)
at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:46)
at weblogic.application.internal.BaseDeployment$1.next(BaseDeployment.java:615)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)
at weblogic.application.internal.BaseDeployment.prepare(BaseDeployment.java:191)
at weblogic.application.internal.DeploymentStateChecker.prepare(DeploymentStateChecker.java:147)
at weblogic.deploy.internal.targetserver.AppContainerInvoker.prepare(AppContainerInvoker.java:61)
at weblogic.deploy.internal.targetserver.AppDeployment.prepare(AppDeployment.java:137)
at weblogic.management.deploy.internal.DeploymentAdapter$1.doPrepare(DeploymentAdapter.java:38)
at weblogic.management.deploy.internal.DeploymentAdapter.prepare(DeploymentAdapter.java:177)
at weblogic.management.deploy.internal.AppTransition$1.transitionApp(AppTransition.java:21)
at weblogic.management.deploy.internal.ConfiguredDeployments.transitionApps(ConfiguredDeployments.java:233)
at weblogic.management.deploy.internal.ConfiguredDeployments.prepare(ConfiguredDeployments.java:165)
at weblogic.management.deploy.internal.ConfiguredDeployments.deploy(ConfiguredDeployments.java:122)
at weblogic.management.deploy.internal.DeploymentServerService.resume(DeploymentServerService.java:173)
at weblogic.management.deploy.internal.DeploymentServerService.start(DeploymentServerService.java:89)
at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:181)the deployment problem is solved by putting the bea packages in the exclude section of the Terracotta configuration file.
-
How to achieve no-downtime solution deployment on farms with multiple WFEs and LB
Taking SharePoint Solution Deployer, my opensource PowerShell deployment script, to the next level,
Bill Simser got me the idea of making the deployment even more smooth on farms with multiple WFEs and load balancer in order to achieve a no-downtime deployment
The basic idea is to deploy the solutions on each WFEs one-by-one by
1. Taking one WFE offline
2. Installing the solution with the -local switch
//Solution deployment
Install-SPSolution -Identity <solutionname>.wsp –GACDeployment –CASPolicies –Local
// Solution upgrade
Update-SPSolution -Identity <solutionname>.wsp -LiteralPath LocalPathOfTheSolution.wsp -GacDeployment -Local
3. Run post-deployment actions on the WFE (ie. restart services, recycle apppools or IIS reset, warmup server), which my script already does for each server
4. Take WFE online again
5. Repeat step 1-4 for all other WFEs
I am struggling with three things here:
1. The whole deployment process could be quite risky when something goes wrong in between. And in order to roll back I would require the original solution if it was already deployed before (which I can back up of course before I replace
it)
Anything which involves changing the content dbs should of course be done after the solutions is deployed to the whole farm, so this should not hurt in this case.
Anyway MSDN says that the "DeployLocal" method (which I assume is the same as the -local switch in PS ) should be only used
for
troubleshooting purposes.
So it would be great to hear about anyones experiences with it
2. As there can be different types of load balancers (hardware, software) which might not be configurable through my script I assume that taking out the WFE from the the load balancer may not always be possible.
So I thought about just taking the server offline.
I haven't found an option yet to take only one server in the farm offline (without removing it from the farm of course), so maybe I miss something. Any ideas?
3. Before taking a single WFE offline, I would like to assure that this server does not have any open sessions, operations of users ongoing. Unfortunately I found only the possibility to quiesce the whole farm, but not a single
server. Am I missing something?
Appreciate any ideas which might point me in the direction to solve the overall goal!
SharePoint Architect, Speaker, MCP, MCPD, MCITP, MCSA, MCTS, Scrum Master/Product Owner
Blog: www.matthiaseinig.de, Twitter:
@mattein
CodePlex: SharePoint Software Factory,
SharePoint Solution DeployerHi Mike,
unfortunately not. I tried several different approaches but didn't really success reliably with any of them. So eventually I gave up on it.
Interesting idea though that Eric Hasley is commenting on the blog post you mentioned.
"There is another approach that has worked for me in the past. Because the deployment to each server is handled through a timer job,
by stopping the timer service in a controlled fashion you can rollout your solution without incurring any user outage."
It could work like that (in theory).
Stop the SPTimerV4 on all servers in the farm apart from one.
Take out the one to deploy to from the NLB
Wait until it has no connections
Deploy the solutions on it in the ordinary way (eg. with my
SharePoint Solution Deployer ;))
Put it back into the NLB and take the others out
Wait until they have no connections left
Activate the timer service on the others servers and let them deploy
Put them back into the NLB
No clue if this is actually working and you still have the problem with the NLB, so it could take a while.
Also I am not certain what happens in state 5 if users use different versions of your solutions at the same time (old version on the remaining open connections, new version on the updated server)
I do not have a suitable farm at hand to play with it though, so can't test it.
Cheers
Matthias
Matthias Einig, CEO, SharePoint MVP
Blog: www.matthiaseinig.de, Twitter:
@mattein
Projects: SharePoint Code Analysis Framework (SPCAF),SharePoint Code Check (SPCop),
SharePoint Software Factory,
SharePoint Solution Deployer -
CORBA Server Deployment Problem
Hi,
I was trying to run the Hello CORBA Tutorial example included
in Jdeveloper2.0. I got stuck with the "Deploying the CORBA
Server Object" where Step 7 needed to use 2481 as IIOP port
and Step 8 needed testing. Since I only configure 1521 TCP
port in listner, I always got 'Can not find resource' error
message when testing the connection. (I have pasted these
two steps from the tutorial below).
where/How do I configure the IIOP 2481 connection/listner?
Where do I get IIOP? Please advise. Thanks.
Mei
============================================================
Step7 : For your ORB Connection Information, provide the host
name of your database, the Service (SID), and port number(the
default port for IIOP is 2481). If you do not know the values
for these fields, contact your database administrator.
Step 8: Test the connection by clicking Test Connection. The
message, "Success!" appears if all goes well. Click OK to
close the dialog box. MyCORBAConnection database connection
is now selected in the connection list, and summary
information appears below it. Click Next. ... ...
==============================================================
nullHi
If it is NT machine you can use 'Net8 Configuration Assistant' to
create a listerner which can take IIOP connections. By default
the listener listens on port 2481.
Did you try putting 2481 as port number in the connection manager
Check out the messages with subject
' Invincible iiop connection problem '
and
'How to get IIOP to work with port 2481'
on this forum they have very useful info..
Also check the Net8 documention for more info.
regards
mei (guest) wrote:
: Hi,
: I was trying to run the Hello CORBA Tutorial example
included
: in Jdeveloper2.0. I got stuck with the "Deploying the CORBA
: Server Object" where Step 7 needed to use 2481 as IIOP port
: and Step 8 needed testing. Since I only configure 1521 TCP
: port in listner, I always got 'Can not find resource' error
: message when testing the connection. (I have pasted these
: two steps from the tutorial below).
: where/How do I configure the IIOP 2481 connection/listner?
: Where do I get IIOP? Please advise. Thanks.
: Mei
: ============================================================
: Step7 : For your ORB Connection Information, provide the host
: name of your database, the Service (SID), and port number(the
: default port for IIOP is 2481). If you do not know the values
: for these fields, contact your database administrator.
: Step 8: Test the connection by clicking Test Connection. The
: message, "Success!" appears if all goes well. Click OK to
: close the dialog box. MyCORBAConnection database connection
: is now selected in the connection list, and summary
: information appears below it. Click Next. ... ...
: ==============================================================
null -
RE: [iPlanet-JATO] Re: Deployment problem
Chidu,
I think that you are mired in the very common confusion of the default
behavior of the ApplicationServletBase.parsePathInfo() which will determine
the controlling/handling ViewBean via a URL design pattern. Lets take a look
at the URL
/NASApp/MigtoolboxSampleAppWar/MigtoolboxSample/IndexPage.jsp
is decomposed as follows:
/NASApp -> well, this is long story but is absolutely necessary, welcome to
iAS
/MigtoolboxSampleAppWar -> is the web application name, taken as the name of
the WAR file when there is no EAR file (this allows the Servlet/JSP
container to deferences the web application root under
<ias>/APPS/modules/MigtoolboxSampleAppWar) I think this part of the URL is
called th Context Path
/MigtoolboxSample -> is the Servlet Path, and will either directly reference
or match a Servlet Mapping
for instance
<servlet-mapping>
<servlet-name>MigtoolboxSampleServlet</servlet-name>
<url-pattern>/MigtoolboxSample/*</url-pattern>
</servlet-mapping>
tells the Servlet Container that the Servlet Path
/MigtoolboxSample
maps to the Module Servlet MigtoolboxSampleServlet
This is how EVERY request makes its way to the "front controller" pattern in
JATO. It is fundamental to JATO Applicatioan that every request pass
through the ModuleServlet.
every else on the URL past the Servlet Path is the PATH INFO. Based on this
understanding, you will see why the
ApplicationServletBase.parsePathInfo()
is so important. In parsePathInfo() the PATH INFO is compared to the design
pattern
/VIEWBEANNAME*
to determine the handling ViewBean from the first String Token in the path
info. For instance, the starting URL of the Sample Application is
/NASApp/MigtoolboxSampleAppWar/MigtoolboxSample/IndexPage
The PATH INFO is [IndexPage]
and IndexPage[ViewBean] is the handling ViewBean. Therefore, any simiarl
URL like
/NASApp/MigtoolboxSampleAppWar/MigtoolboxSample/IndexPage.jsp
/NASApp/MigtoolboxSampleAppWar/MigtoolboxSample/IndexPage.matt
/NASApp/MigtoolboxSampleAppWar/MigtoolboxSample/IndexPage.mike
/NASApp/MigtoolboxSampleAppWar/MigtoolboxSample/IndexPage.chidu
/NASApp/MigtoolboxSampleAppWar/MigtoolboxSample/IndexPage.XXX
will all result in the same handling View Bean
IndexPageViewBean
It is very important to understand that you CANNOT hit the JATO JSPs
directly. You must hit the "front controller" ModuleServlet which will
always delegate control to the handling ViewBean (a la, the "service to
workers" pattern)
You can attempt to hit the JSP directly but you need the right J2EE URL
/NASApp/MigtoolboxSampleAppWar/MigtoolboxSampleApp/MigtoolboxSample/IndexPag
e.jsp
this URL will directly hit the JSP. However, you will recieve an error
because the JATO framework quickly determines that there is no
RequestContext in the HttpRequest attributes and assumes that the "front
controller" was bypassed. Try it. You will get ERROR.
Lets go back to what you are trying to do, place Models and Viewbeans in
separate directories. I recommend that you move the Models. Models are
ONLY referenced by TYPE via the ModelManager, the compiler will ensure that
your code is correct and matches the packages, file locations, import
statements, etc. ViewBeans, on the other hand are related to the
ModuleServlet their are contained in and are loaded via type names according
to a design pattern.
if you want to separate models and Viewbean then simply move the Model and
make sure everything compiles.
you cannot move the ViewBeans
if you do want to move the JSP peers of the Viewbeans, then you can put them
anywhere in the web application doc root. When you do, update the
DEFAULT_DISPLAY_URL as Mike suggested
matt
-----Original Message-----
From: Mike Frisino [mailto:<a href="/group/SunONE-JATO/post?protectID=174176219122158198138082063148231088239026066196217193234150166091061">Michael.Frisino@S...</a>]
Sent: Thursday, July 26, 2001 10:48 PM
Subject: Re: [iPlanet-JATO] Re: Deployment problem
Chidu,
Did you have it running fine in the original default configuration, before
you started changing things around? The URL should not access the .jsp
directly. The URL should look more like this
"/NASApp/MigtoolboxSampleAppWar/MigtoolboxSample/IndexPage", without the
.jsp.
Also, please read the "Migration Tech Notes" document that is
linked to the
main doc index page. There is some information in there related
to trying to
run the sample application under iAS (see Tech Note 4 in
particular, "Note
on running the iMT "MigtoolboxSample" in iPlanet Application Server )
----- Original Message -----
From: <<a href="/group/SunONE-JATO/post?protectID=219015020150194233215218164140244063078048234051197">chidusv@y...</a>>
Sent: Thursday, July 26, 2001 7:27 PM
Subject: [iPlanet-JATO] Re: Deployment problem
Hi Mike,
I tried changing the url in all the viewbeans to reflect the new sub-
directory for the viewbeans(I have placed the jsps and viewbeans in
a sub-directory under MigtoolboxSampleApp/MigtoolboxSample). But I'm
still not able to get access to the jsps. I basically see the
message "GX Error Socket Error Code missing!!" error on the browser
thrown by iPlanet, but the log doesn't tell me anything. Does the url
which I give to access the jsp change accordingly, i.e., should I
give something other
than /NASApp/MigtoolboxSampleAppWar/MigtoolboxSample/IndexPage.jsp.
If I try to use any other url other
than /NASApp/MigtoolboxSampleAppWar/MigtoolboxSample/IndexPage.jsp, I
see the FileNotFoundException in the log.
I guess I'm still missing something.
Thanks for your help.
--Chidu.
--- In <a href="/group/SunONE-JATO/post?protectID=210083235237078198050118178206047166136158139046209">iPlanet-JATO@y...</a>, "Mike Frisino" <<a href="/group/SunONE-JATO/post?protectID=174176219122158198138082063148231088239026066196217130152150">Michael.Frisino@S...</a>> wrote:
Chidu.
Did you also adjust the following member in each of the ViewBeans?
public static final String DEFAULT_DISPLAY_URL=
"/jatosample/module1/Index.jsp";
Try adjusting this to be consistent with your new hierarchy.
Also, if you still have problems, send us the error message thatyou recieve
when you try to access the page. That would help.
----- Original Message -----
From: <<a href="/group/SunONE-JATO/post?protectID=219015020150194233215218164036129208">chidusv@y...</a>>
Sent: Thursday, July 26, 2001 4:48 PM
Subject: [iPlanet-JATO] Deployment problem
Hi,
We have a requirement to seperate the models and viewbeans and
keep
them in seperate directories. Is it possible to seperate the
viewbeans and models not be in the same directory?
I tried seperating the two in the MigtoolboxSampleApp application
provided by JATO. I changed the package and import statements
accordingly in the viewbeans, jsps and the models. But when I
deployed the application, I'm not able to access the Index page or
any of the jsps. Does the ApplicationServletBase always look forthe
viewbean in the same path as that of the module servlet?
Any help will be appreciated.
Thanks,
Chidu.
<a href="/group/SunONE-JATO/post?protectID=210083235237078198050118178206047166215146166214017110250006230056039126077176105140127082088124241215002153">[email protected]</a>
<a href="/group/SunONE-JATO/post?protectID=210083235237078198050118178206047166215146166214017110250006230056039126077176105140127082088124241215002153">[email protected]</a>
<a href="/group/SunONE-JATO/post?protectID=210083235237078198050118178206047166215146166214017110250006230056039126077176105140127082088124241215002153">[email protected]</a>Hi Mike,
I tried changing the url in all the viewbeans to reflect the new sub-
directory for the viewbeans(I have placed the jsps and viewbeans in
a sub-directory under MigtoolboxSampleApp/MigtoolboxSample). But I'm
still not able to get access to the jsps. I basically see the
message "GX Error Socket Error Code missing!!" error on the browser
thrown by iPlanet, but the log doesn't tell me anything. Does the url
which I give to access the jsp change accordingly, i.e., should I
give something other
than /NASApp/MigtoolboxSampleAppWar/MigtoolboxSample/IndexPage.jsp.
If I try to use any other url other
than /NASApp/MigtoolboxSampleAppWar/MigtoolboxSample/IndexPage.jsp, I
see the FileNotFoundException in the log.
I guess I'm still missing something.
Thanks for your help.
--Chidu.
--- In iPlanet-JATO@y..., "Mike Frisino" <Michael.Frisino@S...> wrote:
>
Chidu.
Did you also adjust the following member in each of the ViewBeans?
public static final String DEFAULT_DISPLAY_URL=
"/jatosample/module1/Index.jsp";
Try adjusting this to be consistent with your new hierarchy.
Also, if you still have problems, send us the error message that you recieve
when you try to access the page. That would help.
----- Original Message -----
From: <chidusv@y...>
Sent: Thursday, July 26, 2001 4:48 PM
Subject: [iPlanet-JATO] Deployment problem
Hi,
We have a requirement to seperate the models and viewbeans and
keep
them in seperate directories. Is it possible to seperate the
viewbeans and models not be in the same directory?
I tried seperating the two in the MigtoolboxSampleApp application
provided by JATO. I changed the package and import statements
accordingly in the viewbeans, jsps and the models. But when I
deployed the application, I'm not able to access the Index page or
any of the jsps. Does the ApplicationServletBase always look for the
viewbean in the same path as that of the module servlet?
Any help will be appreciated.
Thanks,
Chidu.
[email protected] -
I cretaed a Visual web part in SP 2013. It needs a SharePoint list. So wrote below code in web part feature receiver. When I deploy the solution I get error says Error occurred in deployment step 'Activate Features': Object reference not set to an instance
of an object. I set ActivateOnDefault="FALSE" and AlwaysForceInstall="TRUE" . Take a look on my feature manifest file.
I cretaed a Visual web part in SP 2013. It needs a SharePoint list. So wrote below code in web part feature receiver. When I deploy the solution I get error says Error occurred in deployment step 'Activate Features': Object reference not set to an instance
of an object. I set ActivateOnDefault="FALSE" and AlwaysForceInstall="TRUE" . Take a look on my feature manifest file.
<Feature xmlns="http://schemas.microsoft.com/sharepoint/" Title="SharePointProject1 Feature1" ActivateOnDefault="FALSE" AlwaysForceInstall="TRUE" Id="8f7163d5-6c65-40d8-9045-8f74192f07d7" ReceiverAssembly="SharePointProject1, Version=1.0.0.0, Culture=neutral, PublicKeyToken=9c2f0c3a8e22f6a0" ReceiverClass="SharePointProject1.Features.Feature1.Feature1EventReceiver" Scope="Site">
<ElementManifests>
<ElementManifest Location="VisualWebPart1\Elements.xml" />
<ElementFile Location="VisualWebPart1\VisualWebPart1.webpart" />
</ElementManifests>
</Feature>
This is my Feature1EventReceiver code.
SPWeb spWeb = properties.Feature.Parent as SPWeb;
SPList laptopList = spWeb.Lists["Laptops"];
if (laptopList != null)
laptopList.Delete();
SPListCollection lists = spWeb.Lists;
lists.Add("Laptops", "The Laptops", SPListTemplateType.GenericList);
laptopList = spWeb.Lists["Laptops"];
laptopList.Fields.Add("Name", SPFieldType.Text, true);
laptopList.Fields.Add("Model", SPFieldType.Text, true);
laptopList.Fields.Add("Image", SPFieldType.URL, false);
I can deploy if I have only below code
SPWeb spWeb = properties.Feature.Parent as SPWeb;hi
features containing webparts must be site scoped, so you must get spweb as bellow:
SPSite spSite = properties.Feature.Parent as SPSite;
SPWeb spWeb = spSite.RootWeb;
yaşamak bir eylemdir -
Variant configuration-- syntax error in creation of object dependencies
In variant configuration when i try to create object dependency (tcode=cu01), after entering the dependency and also description when i enter the syntax in the source code it is giving error: error in syntax check for simple condition
I have entered syntax as : engine_cap in ('1000','1400','2000'), pls guide me with the solution to create object dependencyDear, Shakeer
Please follow along with my very own config guide of variant config.
1) Create a configurable Material Using KMAT u2013Material Type. Item Category 0002 and Item Category Group 0002. Go to classification tab-here you maintain the class type 300 and assign the class, we will create this shortly. (So after creating class come back into MM02 and input the class that you create in step 2.)
2) Create a class in T-Code CL01. Use class type 300 for Variants. In this we assign the characteristics we will create shortly.
3) Create characteristics in T-Code CT04. Create your characteristic like for example, Z_Type, Z_Model, and Z_Color.
4) We must create a characteristic for the pricing. Example, Z_CarPrice inside this characteristic we must maintain. Table Name SDCOM, Field Name VKOND in the additional data tab. Also, go to restrictions tab and enter the class type 300 Variants. Now in order to make this pricing work for you, you must maintain (enter) all the values from the characteristics. For example, Red, Blue, Black, Honda, Toyota, GLI, XLI, and 2.0D.
5) Now going back to the characteristics in CT04 change mode. Make sure Basic Data has *Multiple Selections circled. * Character Format has 26 and a check in case sensitive. Make sure in restrictions tab class type 300 Variants is present. Go back to Values and highlight the first one. Example, Red then go to Extras->Object Dependencies->Assignments You must maintain this code $self.Z_CarPrice=u2019Redu2019 in basic data make sure itu2019s released & procedure is filled in. Go back to dependency editor and paste the same code there after 000010 $self.Z_CarPrice=u2019Redu2019 and do this for each and every value. Very Important * Maintain configuration profile in T-Code CU41 for the material -> Priority 01, Variant Configuration, Class 300, status, Released 1, then click save. Note: If 2 conditions are inactive use class group A instead of B in SPRO for Condition type VA00.
6) Go to T-Code VK11 and enter VA00 condition type. Enter all the values maintained in the characteristics for example, Red, Blue, Black, Toyota, Etc and enter the price then click on save. Now it should work fine in VA01. Make sure you have assigned the VA00 condition type in the pricing procedure.
Good Luck,
Muhammad Ali Lozada -
Function modules (and the like) for testing Object Dependencies
Hi all,
I've created an upload program for characteristic values to AUSP, but I need to <b>check the object dependencies</b> (as shown in transaction CU03) before saving the data.
I have the list of the dependencies for the characteristic in question, but how can I perform a dependency check in program code? Is there any <b>function modules</b> (and the like) which I can use?
All helpful answers will be rewarded!
- Mari VirikHi,
How did you solve this problem?
I have the same.
Thanks. -
BDC selecting component - Assigning object dependencies
Hi,
I am facing a problem in developing a BDC program. In transaction CS02, for a configurable material there may be n number of components. The number of components may vary from material to material. My requirement is to assign object dependency Q & S to all the components for a given material.
Through BDC program how can i pick the components one by one and assign object dependencies Q and S at runtime??? Dynamically on what basis do i have to pick the component? Any supporting code will be more helpfull. Very thankfull to you for solving the issue.
Thanks,
RAMI have a program which does exactly this. What it does it excepts a flat comma-delimited file and uses this to chose the component and assign the obj dep. Now that I'm looking at it, it looks that it will allow up to three obj dep to be added for a single component. The file layout will need to have......
material number
plant
item number
component material lnumber
object dep 1
object dep 2
object dep 3
I can send you the code if you email me at the address on my business card.
Regards
Rich Heilman -
Hi,
I have the following issue when deploying:
Solution Deployment : Missing one or more of the following attributes from the root node in solution .wsp: assembly '', type ''
The solution is a farm solution (was never sandbox) and it deploys fine.
It was updated several times with success. We did not see this issue until recently when we had some other issue (unrelated) and looked at the logs. The solution is updated without problem and updates are available for the user. But we can see this error
in the logs at the update time.
Any idea what might cause this?
Pop AnisiaHi,
This error is wide meaning, as it can come from differences between SP versions, variables types used, bad manifest file, WebConfiguration ...
You can try to redeploy the solution.
retracted the solution,removed all the previous ref, removed dll from GAC and folder from 14\features and reset the iis, deploying it again.
Here are some similar issue post, you can use as a reference:
https://social.technet.microsoft.com/Forums/office/en-US/72ac9a02-3a51-48b8-9e36-3b24a2d4da74/missing-one-or-more-of-the-following-attributes-from-the-root-node-in-solution-alertbdcwsp?forum=sharepointgeneralprevious
https://social.technet.microsoft.com/Forums/office/en-US/331af288-5ba6-48a7-9e9d-ac4e4bc8f8fa/missing-one-or-more-of-the-following-attributes-from-the-root-node-in-solution-xxxwsp-assembly-?forum=sharepointdevelopmentprevious
In additional, you can check the ULS log (C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\LOGS) to get the detailed information.
I hope this helpful.
Best Regards,
Lisa Chen
TechNet Community Support
Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
[email protected] -
I am trying to handle Producer not available situation in which I am using Interceptor IWSDLInterceptor in WLP 10.3.4. I am able to retrieve exception using onWSDLException but from here if I have to forward my pageURL object I need httpservlet request and response. I tried my own filter class to have its own customize request and also tried it out all other Interceptor to see if any one can handle IOException. I did manage to throw my own Customize exception but that also did not work out as Page does not have any backing file or any supportive Controller class.
Does any one implemented solution for httpservlet request/response object in IWSDLInterceptor implemented class? or do we have any specific documentation in regards to this? As I am not able to find much martial on IWSDLInterceptor except Java API from Oracle and article defining Two way SSL handshake Producer.
Any kind of help is appreciated.
Thanks
PTThanks Emmanuel for your response but render behavior is not available for IWSDLRequestContext/IWDSLResponseContext object which IWSDLInterceptor uses for implementation.
Let me put my question in little simpler manner. May be my approach to the problem is not proper.
Problem : Handle Producer Not available (no application exists on server) on consumer side.
So far tried approach : Producer is not running then I am able to handle that TransportException at IInitCookieInterceptor/IHandleEventInterceptor onFault behaviour but in the case of Producer not even exists Consumer try to get WSDL fetch operation and failed with FileNotFoundException.
To handle this exception, I used IWSDLInterceptor which is available under IWSDLInterceptor.OnWSDLException (Oracle Fusion Middleware Java API for Oracle WebLogic Portal)
I am able to catch the exception but problem arise when application needs to forward at specific page/render portlet for this situation. For that it required request/response object but IWSDLInterceptor does not give any kind of instances to redirect request as there is no direct access to HTTPServlet request/response object.
I tried my custom request object to use there. I tried out custom filter object of IWSDLrequestContext. nothing works.
One approach works is to put producer WSDL file at consumer level. But in that, you need to handle different producer files for different environment. Which I don't think its a good approach.
eAny one Let me know if my approach to the problem/scenario is wrong. Or if I am missing out any other supporting interface which also required to handle this scenario. or I am using wrong interface for this scenario.
Thanks for your help in advance.
PT. -
Select bom items with object dependencies
Hello everyone,
this is my problem: during bom explosion from production order I want to select
a bom item (eg 0020) only if not selected the previous item (eg 0010). there any way? what's the syntax for this object dependencies?
Thanks to all!Hi,
As per my knowledge we can use selection condition in the BOM with reference to the Characteristics value only. I don't think so, there are options based on previous item selection.
Let's wait for PP Guru's Answers.
Thanks,
R.Loganathan -
Bug - Database Object Dependencies report and Interactive Reports
Hello,
I think I found a bug, perhaps that not the right word, in the Database Object Dependencies report. I don't think it's including problems in Interactive Report regions.
Regards,
Dan
http://danielmcghan.us
http://sourceforge.net/projects/tapigenScott,
Sorry, that was a useless bug report... ;)
What I was actually referring to was the little Parsing Errors report at the bottom of the page/report. I've come to rely on this quite a bit but I had an Interactive Report that was based in part on a table that was dropped and it was not displayed in the parsing errors. I believe the main report is working fine.
Regards,
Dan
http://danielmcghan.us
http://sourceforge.net/projects/tapigen -
Urgent: Problem serializing server objects
hi there
i have deployed an application in jboss. it uses instances of javax.media.rtp.RTPManager which is not serializable. now jboss requires each in-memory object to be Serializable. and i have to accomplish the transmission task on server side. so whats the solution? because trying these objects to serialize server throws NotSerializableException
thanx in advance
ra4aMaybe you can define:
Class MyRTPManager extends javax.media.rtp.RTPManager implements Serializable {
You can have this empty definition and then replace all RTPManager with myRTPManager.
PC -
Function to copy BOM object dependencies
Hi everyone.
I've had to create a program to copy (or extend) BOMs to other plants, like CS01 and CS07 transactions.
I did it like in the sample program MAT_BOMGROUP_CREATE_SAMPLE, replacing function ALE_MATERIAL_BOM_GROUP_CREATE with the bapi BAPI_MATERIAL_BOM_GROUP_CREATE.
The problem is that this functions cannot handle object dependencies. (leaves field STPO-KNOBJ empty)
I got this two sap notes, but for now it was useless:
488765
545676
Do you know any FM or bapi that do it?
Thank you.
Alberto
Edited by: A. Tabernero on May 21, 2009 4:56 PMAny sugestion please?
Now i'm trying to use the function CS_BI_BOM_CREATE_BATCH_INPUT1 to create a new BOM, but i have a problem: only one item is created. ¿Anybody knows how to create all of them?
(The table contain all the items)
CALL FUNCTION 'CS_BI_BOM_CREATE_BATCH_INPUT1'
EXPORTING
BDC_FLAG = ' '
bom_header = wa_bicsk
CLOSE_GROUP = ' '
commit_work = 'X'
group_data = wa_bgr00
NEW_GROUP = ' '
tcode_mode = 'N'
TCODE_UPDATE = 'S'
IMPORTING
msgid = v_msgid
msgno = v_msgno
msgty = v_msgty
msgv1 = v_msgv1
msgv2 = v_msgv2
msgv3 = v_msgv3
msgv4 = v_msgv4
TABLES
bom_item = it_bom_items
bom_sub_item = it_bicsu.
Thanks,
regards
A.Tabernero.
Maybe you are looking for
-
Creative Zen products and "Frozen" probl
Hi, I'm one of many owners of the zen micro who faces this very problem. I don't really want to caveman it but it seems like creative is intent on not really helping as I don't see a FAQ or an answer to this oh-so-common problem anywhere on the websi
-
Biller Direct Fields: FUNCTION 'FSCM_FICA_TFISCOMMFLAG_GET'
Hi Guys, I am working on CAA1/CAA2 enhancement. Here once user presses SAVE button I need to validate Biller Direct fields (i.e. SMS/PAPER BILL/EMAIL Checkboxes). For that I am using CUSTOM FM on: transaction CAWM -> Contract Account Control -> Scree
-
GPF in ORACOMMON8.DLL when SELECTing a BLOB w/OCI
Hello, This may not be the right Forum for this topic but I didn't know where else to post this... I am using OCI with Oracle 8.1.5 drivers and I am trying to perform a SELECT on a BLOB and a CHAR. When I try to SELECT the BLOB, ORACOMMON8.DLL throws
-
I'm getting an error message (no. 11) saying I have to uninstall and reinstall InDesign. What will happen to all my files created?
-
What is the name of the App with the Teddy Bear icon on the countdown page?
What is the name of the App with the Teddy Bear icon on the countdown page? http://www.apple.com/itunes/25-billion-app-countdown/