Build and deploy windows service
I want to build windows service application through build definition and deploy it through Release Management.
Build definition creates _PublishedWebsites and no exe is created.
I believe Create service component in Release Management requires path (BinPath) where exe is located.
How can I achieve this? Please guide.
Hi N-SHAH,
I'd like to know whether you have build you windows service project successfully using TFS Build, and what's the version of TFS and Team Explorer(accompany with VS) you're using. If you cannot build the project successfully, please check the build
log. Make sure you can build before the deployment using Release Management. I use TFS 2013 Update 2 and have a try to build windows service project with TFS Build and it builds fine, the execution file can be generated normally.
When use Release Management for the deployment, you can create a Release template. Then set the build definition to the one that can build your project. And also configure path to package to point to drop location, add needed tools of "windows
service" to your release template to make it available for your deployment. Check this
page for more informatino about Release Management tools. And this
page for more info about Automate deployments with Release Management. And this
link
might help for managing your release.
If you don't want to use Release Management, you can also use TFS Build to deploy your windows service project. Check this
link for more information. Or using MSBuild and then integrate with TFS Build to do the deployment,
here
is the related process.
Best regards,
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey.
Similar Messages
-
SCCM 2012 R2: Build and Capture - Windows 8.1 prompting for network
I have upgraded my SCCM 2012 SP1 (CU2) to SCCM 2012 R2 and I am attempting to Build and Capture Windows 8.1 Enterprise. Everything is perfect except for the OS prompting for a network selection during the process, if I click "next" on that screen
the Capture finishes without incident. The same is true of the Deploy as well...
Is this a bug from my upgrade?
Portland Public Schools / Systems Administrator IIHi LillonelC
Can you point out how and where to do this?
When capturing with MDT 2013 on VMware I do not see this, naturaly, since the "machine" only has one network adapter.
But when deploying to a Laptop I get the wireless Setup screen...
On beforehand Thank You!
With kind regards
We aren't using MDT but what we did was create a package called Windows 8.1 - Compnents. In it placed a file named "32Bit-Unattend.xml" and 1 named "64Bit-Unattend.xml".
During the capture in the "Apply Operating System Image" I put a check in the box "Use an unattended or Sysprep answer file for a custom installation". The package was Windows 8.1 - Compnents the File name was "32Bit-Unattend.xml".
I did the same for 64-bit and used the 64-bit version.
Here is content of the 32-bit file:
<?xml version="1.0" encoding="utf-8"?>
<unattend xmlns="urn:schemas-microsoft-com:unattend">
<settings pass="oobeSystem">
<component name="Microsoft-Windows-Shell-Setup" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<OOBE>
<HideEULAPage>true</HideEULAPage>
<HideWirelessSetupInOOBE>true</HideWirelessSetupInOOBE>
<NetworkLocation>Work</NetworkLocation>
<HideOnlineAccountScreens>true</HideOnlineAccountScreens>
<HideOEMRegistrationScreen>true</HideOEMRegistrationScreen>
<HideLocalAccountScreen>true</HideLocalAccountScreen>
</OOBE>
</component>
</settings>
<cpi:offlineImage cpi:source="wim://SERVERNAME/e$/osimages/win_8.1_x86/sources/install.wim#Windows 8.1 Enterprise" xmlns:cpi="urn:schemas-microsoft-com:cpi" />
</unattend>
Here is the content of the 64-bit file:
<?xml version="1.0" encoding="utf-8"?>
<unattend xmlns="urn:schemas-microsoft-com:unattend">
<settings pass="oobeSystem">
<component name="Microsoft-Windows-Shell-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<OOBE>
<HideEULAPage>true</HideEULAPage>
<HideWirelessSetupInOOBE>true</HideWirelessSetupInOOBE>
<NetworkLocation>Work</NetworkLocation>
<HideOnlineAccountScreens>true</HideOnlineAccountScreens>
<HideOEMRegistrationScreen>true</HideOEMRegistrationScreen>
<HideLocalAccountScreen>true</HideLocalAccountScreen>
</OOBE>
</component>
</settings>
<cpi:offlineImage cpi:source="wim://SERVERNAME/e$/osimages/win_8.1_x64/sources/install.wim#Windows 8.1 Enterprise" xmlns:cpi="urn:schemas-microsoft-com:cpi" />
</unattend>
If that doesn't help I can try to clarify it a bit further.
PS You won't need to do this for the deploy, only the capture.
Portland Public Schools / Systems Administrator II -
Build and Deployment Automation
Hi,
What are the best ways to Automate the build and deployment process to reduce time and increase accuracy. are there any recommendations to make the Build & Deployment process effective?
Thanks & RegardsHi,
For the builds you can use TFS builds (if you are using VSO hosted build services), and use VS 2013 Release Management to create release pipelines through different stages (For VSO use release management services).
You can get details from below links
https://curah.microsoft.com/42805/getting-started-with-release-management
https://msdn.microsoft.com/en-us/library/dn449957.aspx
http://www.visualstudio.com/en-us/explore/release-management-vs.aspx
https://msdn.microsoft.com/en-us/library/dd793166.aspx
http://nakedalm.com/configuring-jenkins-talk-tfs-2013/
http://blogs.msdn.com/b/visualstudioalm/archive/2012/10/19/building-ios-apps-in-tfs.aspx
I just provided general information. If you have more questions when implementing, ask here and we will support you.
Cheers!
Chaminda -
How to build and deploy EJB3.0 jar on JBoss Server
Hi:
I want to create web service using EJB3.0.
For that first i have created EJB project,in that i add following code:
package com.ejb;
import javax.ejb.Stateless;
import javax.jws.WebService;
@Stateless
@WebService
public class TemperatureConverter {
public double celsiusToFarenheit(double temp){
return ((temp*1.8) + 32);
public double farenheitToCelsius(double temp){
return ((temp-32)/1.8);
}Now i want to build and deploy the jar on server.
How can i do this?
Thank You.Hi AnupDesai,
I suggest you to have a read of the [*JBoss EJB3 Documentation*|http://www.jboss.org/ejb3/docs]. -
Services in SAP management console and related window services and process
hai
can u please any one of you can send me the services in SAP management console and related window services(in adminstrator/services) and process in task manager.
thanks in advance.
Naga LaxmiHi Naga,
Please refer to this article for the processes relevant to the Java Instance:
http://help.sap.com/saphelp_nw04/helpdata/en/62/1bf03eae11e16be10000000a114084/frameset.htm
Except the processes of the Java instance you can find several processes of the IGS server and the ABAP disp+work processes.
You can easily find the relevant services by their SAP prefix.
Hope this helps.
Best Regards
Vyara -
ALUI Customization Deploying a Custom Project Step 2: Build and Deploy JARs
Hi,
I'm trying to deploy custom project after succesfully completing the installation and debug of AL UI Customization. As given in the documentation (see link below) in the step 2 Build and Deploy I see error given below on executing "ant install" command. Can somebody please identify the error in this?
http://edocs.bea.com/alui/devdoc/docs60/Plumtree_Development_Environment/UI_Customization/PlumtreeDevDoc_DevEnv_DeployProject_Java.htm
D:\plumtree_ui_source\portalui\6.1.x>ant install
Buildfile: build.xml
Trying to override old definition of task copy
global.init:
[copy] Warning: Could not find file D:\plumtree_ui_source\portalui\6.1.x\${
build.home}\thirdparty\ant-contrib\0.6\ant-contrib-0.6.jar to copy.
[echo] Ant Contrib successfully loaded.
[copy] Warning: Could not find file D:\plumtree_ui_source\portalui\6.1.x\${
build.home}\components\INTERNAL\ptanttasks\115250\cust\ptanttasks.jar to copy.
init:
[echo] Using ANT built-in compass loader
[copy] Warning: Could not find file D:\plumtree_ui_source\portalui\6.1.x\${
build.home}\components\RECENT\compass\LATEST\java-loader\compass-loader.jar to c
opy.
[echo]
[echo] Could not fine Socrates build location. Setting compass to
[echo] offline mode.
[echo]
[comp-loader] -----------------------------------------------------
[comp-loader] Compass Loader: <186756> (06/01/2005 12:52 PM)
[comp-loader] Storing loaded properties in System
[comp-loader] Stored 67 properties
[comp-loader] Loaded Compass ( 0 file(s) copied, 17 task(s) defined )
[comp-props] Version: <206776> (11/15/2005 11:59 AM)
[comp-props] [ general ]
[comp-props] Created Properties for 24 component(s)
[comp-props] [ customer-repo_ptwebui ]
[comp-props] Created Properties for 24 component(s)
[comp-props] Version: <206776> (11/15/2005 11:59 AM)
[comp-props] [ general ]
[comp-props] Created Properties for 15 component(s)
[comp-props] [ customer-repo_ptwebui_dotnet ]
[comp-props] Created Properties for 15 component(s)
install:
Duplicated project name in import. Project global defined first in D:\plumtree_u
i_source\portalui\6.1.x\_buildcommon\scripts\ant\common\include\global.xml and a
gain in D:\plumtree_ui_source\portalproduct\6.1.x\_buildcommon\scripts\ant\commo
n\include\global.xml
Trying to override old definition of task uri://plumtree.com/ant/common/properti
es:definebasicprops
Trying to override old definition of task uri://plumtree.com/ant/common/properti
es:loadprojectproperties
Trying to override old definition of task uri://plumtree.com/ant/common/cp-stage
:loadcomponentprops
global.init:
[copy] Warning: Could not find file D:\plumtree_ui_source\portalproduct\6.1
.x\${build.home}\thirdparty\ant-contrib\0.6\ant-contrib-0.6.jar to copy.
[echo] Ant Contrib successfully loaded.
[copy] Warning: Could not find file D:\plumtree_ui_source\portalproduct\6.1
.x\${build.home}\components\INTERNAL\ptanttasks\115250\cust\ptanttasks.jar to co
py.
epglobal.init:
[echo] Using ANT built-in compass loader
[copy] Warning: Could not find file D:\plumtree_ui_source\portalproduct\6.1
.x\${build.home}\components\RECENT\compass\LATEST\java-loader\compass-loader.jar
to copy.
[echo]
[echo] Could not fine Socrates build location. Setting compass to
[echo] offline mode.
[echo]
[comp-loader] -----------------------------------------------------
[comp-loader] Compass Loader: <186756> (06/01/2005 12:52 PM)
[comp-loader] Already loaded
[comp-props] Version: <206776> (11/15/2005 11:59 AM)
[comp-props] [ general ]
[comp-props] Created Properties for 1 component(s)
[comp-props] [ customer-repo_nopull ]
[comp-props] Created Properties for 1 component(s)
[comp-props] Version: <206776> (11/15/2005 11:59 AM)
[comp-props] [ general ]
[comp-props] Created Properties for 29 component(s)
[comp-props] [ customer-repo_java ]
[comp-props] Created Properties for 29 component(s)
[comp-props] Version: <206776> (11/15/2005 11:59 AM)
[comp-props] [ general ]
[comp-props] Created Properties for 14 component(s)
[comp-props] [ customer-repo_dotnet ]
[comp-props] Created Properties for 14 component(s)
[comp-props] Version: <206776> (11/15/2005 11:59 AM)
[comp-props] [ general ]
[comp-props] Created Properties for 1 component(s)
[comp-props] [ customer-repo_noarch ]
[comp-props] Created Properties for 1 component(s)
[comp-props] Version: <206776> (11/15/2005 11:59 AM)
[comp-props] [ general ]
[comp-props] Created Properties for 2 component(s)
[comp-props] [ customer-repo_win32 ]
[comp-props] Created Properties for 2 component(s)
[comp-props] Version: <206776> (11/15/2005 11:59 AM)
[comp-props] [ general ]
[comp-props] Created Properties for 1 component(s)
[comp-props] [ customer-repo_solaris32 ]
[comp-props] Created Properties for 1 component(s)
[comp-props] Version: <206776> (11/15/2005 11:59 AM)
[comp-props] [ general ]
[comp-props] Created Properties for 1 component(s)
[comp-props] [ customer-repo_linux32 ]
[comp-props] Created Properties for 1 component(s)
[comp-props] Version: <206776> (11/15/2005 11:59 AM)
[comp-props] [ general ]
[comp-props] Created Properties for 1 component(s)
[comp-props] [ customer-repo_aix32 ]
[comp-props] Created Properties for 1 component(s)
init:
clean:
[delete] Deleting directory D:\plumtree_ui_source\portalproduct\6.1.x\build
install:
[ant] Parent project doesn't contain any reference 'compass.loader'
global.init:
[copy] Warning: Could not find file D:\plumtree_ui_source\portalproduct\6.1
.x\${build.home}\thirdparty\ant-contrib\0.6\ant-contrib-0.6.jar to copy.
[echo] Ant Contrib successfully loaded.
[copy] Warning: Could not find file D:\plumtree_ui_source\portalproduct\6.1
.x\${build.home}\components\INTERNAL\ptanttasks\115250\cust\ptanttasks.jar to co
py.
epglobal.init:
[echo] Using ANT built-in compass loader
[copy] Warning: Could not find file D:\plumtree_ui_source\portalproduct\6.1
.x\${build.home}\components\RECENT\compass\LATEST\java-loader\compass-loader.jar
to copy.
[echo]
[echo] Could not fine Socrates build location. Setting compass to
[echo] offline mode.
[echo]
[comp-loader] -----------------------------------------------------
[comp-loader] Compass Loader: <186756> (06/01/2005 12:52 PM)
[comp-loader] Already loaded
[mkdir] Created dir: D:\plumtree_ui_source\portalproduct\6.1.x\build\registe
rdir
[mkdir] Created dir: D:\plumtree_ui_source\portalproduct\6.1.x\build\feature
dir
[mkdir] Created dir: D:\plumtree_ui_source\portalproduct\6.1.x\build\install
code
[comp-props] Version: <206776> (11/15/2005 11:59 AM)
[comp-props] [ general ]
[comp-props] Created Properties for 1 component(s)
[comp-props] [ customer-repo_nopull ]
[comp-props] Created Properties for 1 component(s)
[comp-props] Version: <206776> (11/15/2005 11:59 AM)
[comp-props] [ general ]
[comp-props] Created Properties for 29 component(s)
[comp-props] [ customer-repo_java ]
[comp-props] Created Properties for 29 component(s)
[comp-props] Version: <206776> (11/15/2005 11:59 AM)
[comp-props] [ general ]
[comp-props] Created Properties for 14 component(s)
[comp-props] [ customer-repo_dotnet ]
[comp-props] Created Properties for 14 component(s)
[comp-props] Version: <206776> (11/15/2005 11:59 AM)
[comp-props] [ general ]
[comp-props] Created Properties for 1 component(s)
[comp-props] [ customer-repo_noarch ]
[comp-props] Created Properties for 1 component(s)
[comp-props] Version: <206776> (11/15/2005 11:59 AM)
[comp-props] [ general ]
[comp-props] Created Properties for 2 component(s)
[comp-props] [ customer-repo_win32 ]
[comp-props] Created Properties for 2 component(s)
[comp-props] Version: <206776> (11/15/2005 11:59 AM)
[comp-props] [ general ]
[comp-props] Created Properties for 1 component(s)
[comp-props] [ customer-repo_solaris32 ]
[comp-props] Created Properties for 1 component(s)
[comp-props] Version: <206776> (11/15/2005 11:59 AM)
[comp-props] [ general ]
[comp-props] Created Properties for 1 component(s)
[comp-props] [ customer-repo_linux32 ]
[comp-props] Created Properties for 1 component(s)
[comp-props] Version: <206776> (11/15/2005 11:59 AM)
[comp-props] [ general ]
[comp-props] Created Properties for 1 component(s)
[comp-props] [ customer-repo_aix32 ]
[comp-props] Created Properties for 1 component(s)
init:
[echo]
[echo] The property BuildEnvironment.IA_HOME either is not set
[echo] in your build.properties file or is set to an incorrect
[echo] location. You will be unable to build an installer. This
[echo] does not affect developer installations. Developers can
[echo] ignore this warning.
[echo]
[echo] Current value: ${BuildEnvironment.IA_HOME}
[echo]
build-registerscripts:
[echo] Environment variables necessary for versioning not set. BUILD_MAJOR
, BUILD_MINOR, BUILD_SERVICEPACK, and BUILD_HOTFIX must be set in order to get a
ccurate version information.
[devinstall] install-portalui-java
[fastmarshall] Parent project doesn't contain any reference 'compass.loader'
global.init:
[copy] Warning: Could not find file D:\plumtree_ui_source\portalproduct\6.1
.x\${build.home}\thirdparty\ant-contrib\0.6\ant-contrib-0.6.jar to copy.
[echo] Ant Contrib successfully loaded.
[copy] Warning: Could not find file D:\plumtree_ui_source\portalproduct\6.1
.x\${build.home}\components\INTERNAL\ptanttasks\115250\cust\ptanttasks.jar to co
py.
epglobal.init:
[echo] Using ANT built-in compass loader
[copy] Warning: Could not find file D:\plumtree_ui_source\portalproduct\6.1
.x\marshallcode\${build.home}\components\RECENT\compass\LATEST\java-loader\compa
ss-loader.jar to copy.
[echo]
[echo] Could not fine Socrates build location. Setting compass to
[echo] offline mode.
[echo]
[comp-loader] -----------------------------------------------------
[comp-loader] Compass Loader: <186756> (06/01/2005 12:52 PM)
[comp-loader] Already loaded
[comp-props] Version: <206776> (11/15/2005 11:59 AM)
[comp-props] [ general ]
[comp-props] Created Properties for 1 component(s)
[comp-props] [ customer-repo_nopull ]
[comp-props] Created Properties for 1 component(s)
[comp-props] Version: <206776> (11/15/2005 11:59 AM)
[comp-props] [ general ]
[comp-props] Created Properties for 29 component(s)
[comp-props] [ customer-repo_java ]
[comp-props] Created Properties for 29 component(s)
[comp-props] Version: <206776> (11/15/2005 11:59 AM)
[comp-props] [ general ]
[comp-props] Created Properties for 14 component(s)
[comp-props] [ customer-repo_dotnet ]
[comp-props] Created Properties for 14 component(s)
[comp-props] Version: <206776> (11/15/2005 11:59 AM)
[comp-props] [ general ]
[comp-props] Created Properties for 1 component(s)
[comp-props] [ customer-repo_noarch ]
[comp-props] Created Properties for 1 component(s)
[comp-props] Version: <206776> (11/15/2005 11:59 AM)
[comp-props] [ general ]
[comp-props] Created Properties for 2 component(s)
[comp-props] [ customer-repo_win32 ]
[comp-props] Created Properties for 2 component(s)
[comp-props] Version: <206776> (11/15/2005 11:59 AM)
[comp-props] [ general ]
[comp-props] Created Properties for 1 component(s)
[comp-props] [ customer-repo_solaris32 ]
[comp-props] Created Properties for 1 component(s)
[comp-props] Version: <206776> (11/15/2005 11:59 AM)
[comp-props] [ general ]
[comp-props] Created Properties for 1 component(s)
[comp-props] [ customer-repo_linux32 ]
[comp-props] Created Properties for 1 component(s)
[comp-props] Version: <206776> (11/15/2005 11:59 AM)
[comp-props] [ general ]
[comp-props] Created Properties for 1 component(s)
[comp-props] [ customer-repo_aix32 ]
[comp-props] Created Properties for 1 component(s)
epmarshall.init:
[mkdir] Created dir: D:\plumtree_ui_source\portalproduct\6.1.x\build\warbuil
ddir
Trying to override old definition of task comp-collate
Trying to override old definition of task comp-stage
init:
epmarshall.marshall-java:
portalui.marshall-java:
[comp-collate] Version: <null> (null)
[comp-collate] Collate [java-portalui]
BUILD FAILED
D:\plumtree_ui_source\portalui\6.1.x\_buildcommon\scripts\ant\portalui\include\p
ortalui-dev.xml:34: The following error occurred while executing this line:
D:\plumtree_ui_source\portalproduct\6.1.x\devinstall.xml:1177: The following err
or occurred while executing this line:
D:\plumtree_ui_source\portalproduct\6.1.x\devinstall.xml:652: The following erro
r occurred while executing this line:
D:\plumtree_ui_source\portalproduct\6.1.x\devinstall.xml:733: The following erro
r occurred while executing this line:
D:\plumtree_ui_source\portalproduct\6.1.x\devinstall.xml:478: The following erro
r occurred while executing this line:
D:\plumtree_ui_source\portalproduct\6.1.x\marshallcode\marshall_portalui.xml:69:
No File: D:\bea\alui\_customer_repository\portalui\6.1.x\local\java-ptwebui\jav
a-ptwebui.mf
Total time: 1 minute 15 secondsaThanks for the help! It started building after commenting the DTD tag include in the xml.
But build failed with few warnings and errors.
two of the warnings are as follows (FYI I've compass folder as you suggested in other thread)
#1
[copy] Warning: Could not find file D:\plumtree_ui_source\portalui\6.1.x\pt
webui\portaluiinfrastructure\${build.home}\thirdparty\ant-contrib\0.6\ant-contri
b-0.6.jar to copy.
#2
Could not fine Socrates build location. Setting compass to
offline mode.
=============================
AND the ERROR message is as given below
precompile:
buildjava:
[javac] Compiling 154 source files to D:\plumtree_ui_source\portalui\6.1.x\ptwebui\portalpages\build\x86\classes\java
[javac] D:\plumtree_ui_source\portalui\6.1.x\ptwebui\portalpages\java\prod\src\com\plumtree\portalpages\condition\conditiontypes\ConditionTypeClientIPAddress.java:158: compareTo(java.lang.String) in java.lang.String cannot be applied to
(java.lang.Object)
[javac] if ("*".compareTo(arIPAddress) != 0 && ((XPConver
t.ToInteger(arIPAddress[i]) < 0) || ((i == 0) && (XPConvert.ToInteger(arIPAddres
s[i]) == 0)))) {
[javac] ^
[javac] Note: Some input files use or override a deprecated API.
[javac] Note: Recompile with -Xlint:deprecation for details.
[javac] 1 error
BUILD FAILED
D:\plumtree_ui_source\portalui\6.1.x\build_core.xml:103: The following error occurred while executing this line:
D:\plumtree_ui_source\portalui\6.1.x\ptwebui\build_core.xml:80: The following error occurred while executing this line:
D:\plumtree_ui_source\portalui\6.1.x\_buildcommon\scripts\ant\common\include\default-build.xml:142: The following error occurred while executing this line:
D:\plumtree_ui_source\portalui\6.1.x\_buildcommon\scripts\ant\common\antlib\java.xml:35: Compile failed; see the compiler error output for details. -
Building and Deploying Within a Directory ?
Hi Guys,
Iv just been going through the "Oracle9iAS Containers for J2EE Users Guide, Release 2 (9.0.2)" pdf and have juts gone through the Building and Deploying within a directory.
This is something, as a developer I would love or even demand to be able to do as createing war , jar and ear files each time I make a change is a total time nightmare...
Unfortunately I was'nt able to get the above working with a very simple app.
Before trying the app I made sure I could deploy it normally as a an ear file which worked.
Below follows a description of the dir structure plus info added to relavent .xml files ( gods theres so many )..
j2ee/home/applications/BalanceManager
WebModule/
WEB-INF/
lib/
classes/
web.xml
AccountHolders.jsp
META-INF
EJBModule/
META-INF/
application.xml
application.xml ( not the one in config dir but the one in the above dir struct, ear application.xml) :-
<application>
<display-name>BM</display-name>
<module>
<ejb>EJBModule</ejb>
</module>
<module>
<web>
<web-uri>WebModule</web-uri>
<context-root>BM</context-root>
</web>
</module>
</application>
server.xml ( in j2ee/home/config )
<application name="BM" path="../applications/BalanceManager" auto-start="true" />
http-web-site.xml:-
<web-app application="BM" name="BalanceManager/WebModule" root="/BM" />
The above files have been edited as of the document above, which can also be found at http://otn.oracle.com/docs/products/ias/doc_library/90200doc_otn/web.902/a95880.pdf.
When I start up OC4J the application gets deployed ( dos prompt ):-
C:\devenv\oc4j\j2ee\home>java -jar oc4j.jar
Auto-deploying BM (New server version detected)...
Copying default deployment descriptor from archive at C:
pplications\BalanceManager\BaEJBModule/META-INF/orion-ej
directory C:\devenv\oc4j\j2ee\home\application-deploymen
Auto-deploying BaEJBModule (No previous deployment found
Auto-deploying file:/C:/devenv/oc4j/j2ee/home/applicatio
odule/ (New server version detected)...
Oracle9iAS (9.0.2.0.0) Containers for J2EE initialized
and also a BM dir is created in the application-deployements dir.
So everything looks great, but when I navigate to -
http://localhost:8686/BM/AccountHolders.jsp
I get http 500 error page cannot be displayed.
So it looks like the context root BM did'nt get added to the servers web context,
but why??
Obviously AccountHolders.jsp is the jsp in the WebModule dir.
Iv been tweaking this and that and obviously tweaking never seems to work so if any ones got any ideas or suggestions on how to setup and deploy within dirs instead of ears please reply to me asap.
Look forward to your answers,
Stephen.Stephen,
The entry in the http-web-site.xml should be:
<web-app application="BM" name="WebModule" root="/BM" />
This should be the name of the web-module in the application (EAR).
regards
Debu Panda
oracle -
How to automate the build and deploy?
Is there any way to build and deploy component to UCM using command line? such as ant script? or is there anyway to run "component wizard" in a command line without GUI? I'm looking for a way to automate the build and deploy process.
ThanksHere is link for build script using ant
http://wiki.oracle.com/page/UCM+Ant+Buid+Script
there are some videos in you tube also
http://www.youtube.com/watch?v=QIT6gkEC2Tc -
Is your organization building and deploying J2EE apps? If so, Halo
can help solve one of the toughest issues facing enterprises today:
Finding the root cause of software faults.
"Halo monitors, pinpoints, reports on and provides a source-code level
root cause of software faults in deployed J2EE apps. Halo is unique
because it's the only technology that can give you a root cause
diagnosis in a fully deployed, live production application. Halo has
such low performance overhead that customers deploy their final,
production versions of their applications with Halo enabled.
Used with Web Application Servers like WebLogic, Halo helps ensure
that deployed code is reliable and able to be quickly fixed if
problems turn up. Most important, because Halo is an "always on"
technology, you get all the information you need to rapidly solve a
problem on the first fault. Problem replication and bug reports are
obsolete with Halo
"Halo has a unique ability to provide a root cause diagonosis and
understanding
of software problems in production systems, without needing to
replicate the
issue.
Test on WebLogic proved that Halo runs with extremely low overhead and
is suitable for use in deployed production systems"
Andrew Sliwkowski, Software Engineer
BEA Systems, Inc.
The key is Halo's high performance, low overhead TraceBack
instrumentation technology. Based on technology out of MIT and proven
in the field, TraceBack enables you to instrument JARs, EARs and WARs
within minutes, without touching source code.
Halo is useful throughout the entire application life cycle, from
development through test, beta and deployment.
If you have interest in learning more visit our website at
www.incer.com or email me directly at [email protected] (Rick Martin)I have two questions. We have just started developing apps using jdev9i, 9iAS v2 and are new to the j2ee environment so my questions may be very easy ones.
Question 1: We have set up Oracle pooling connection to our databases. We have a development, test and production database. When I deploy my application, it includes the connections. This is preventing me from moving the EAR files from dev to test to prod without modification and re deploying to my EAR file. Is there a way or a place that I can put my database connections that will not be included in my EAR files and the application still find them?datasources.xml is where the info regradings connection to databases is licated. If you're using 9iAS
you can use EM to create datasource entry at the global level. In OC4J standalone you could use admin.jar
or edit the file. Check out the standalone user's guide at http://otn.oracle.com/tech/java/oc4j/pdf/oc4j_so_usersguide_r2.pdf.
Also, you will othe OC4J docs on OTN.
Question 2: I have a stand alone oc4j set up for our developers to use while testing their applications. The applications include libraries supplied in jdev such as xml parser v2. I do not want to deploy those lib files with the app because I will have to redeploy all my apps if I upgrade jdev. I just want to be able to upgrade the libraries, test the apps and not have to redeploy everything. I can do this by coping the jdev lib to 9iAS but I can't seem to find the right place to put the lib for the stand alone oc4j instance. You can use the library tag within application.xml for server wide availability. Check out the article
http://otn.oracle.com/oramag/oracle/02-sep/o52oc4j_2.html specifically class loading in OC4J section
Any help would be greatly appreciated. Thanks in advance. -
"Need Weblogic Integartion" + "Build and Deployment Samples"
Hi All,
If all I m very new to Weblogic Integration. If any one of you have the experience
of building and deploying weblogic integration application please throw some light
on this and please tell me the best approach of build and deploy weblogoc integration
application. Please help me
If you have any sample integration application please send it to me
Awaiting for your reply
Thanks
SelvaHere's an example that's specific to AIR:
http://help.adobe.com/en_US/AIR/1.1/devappsflex/WS5b3ccc516d4fbf351e63e3d118666ade46-7f73. html -
Cross Farm Continuous build and deployment practice
Hi All,
What is the best practice to move the wsp deployments and content deployment from dev server to test server
and then test server to production?
powershell commands is one of the solution , but for continuous build and deployment is their any better practice?
Is there any tool which keeps track of the deployments (similar to cruise control for build)
Thanks and Regards,
Swati
SP Page: http://www.facebook.com/SharePointQ SP Blog: http://swatipoint.blogspot.comI think this is one of the way of doing this
http://www.sharepointnutsandbolts.com/2011/06/sp2010-continuous-integrationpt-1.html
SP Page: http://www.facebook.com/SharePointQ SP Blog: http://swatipoint.blogspot.com -
Hi All,
Are there automated build and deployment tools available? are there any recommendations?
Thanks
Sravzuser11138361 wrote:
Is there one which does both
1. Automatic Build
2. Automatic DeploymentYes, lots of them. Search for 'Continuous Integration' tools. We use Jenkins in our shop. -
Getting Java error when build and deploy through eclipse designer.
hello,
My while activity looks like this -
<while condition="bpws:getVariableData("integer")<=count(bpws:getVariableData('GetRCItem-GetItemResponse', 'parameters', '/schemattwebservices:GetItemResponse/schemattwebservices:return/schemattwebservices:extendedFieldList[schemattwebservices:name="LIST_OF_TASKS"]')/schemattwebservices:values)" name="ProcessRCTasks">
It passes the validation but fails when I click on build and deploy.
D:\dev\admin.console.trunk\workspace\ServiceFlow\temp\bpelc42058.tmp\BPEL-INF\src\bpel\p0\BPEL_BIN.java:2129: ';' expected.
[bpelc] return "bpws:getVariableData("integer")<=count(bpws:getVariableData('GetRCItem-GetItemResponse', 'parameters', '/schemattwebservices:GetItemResponse/schemattwebservices:return/schemattwebservices:extendedFieldList[schemattwebservices:name="LIST_OF_TASKS"]')/schemattwebservices:values)" ;
Please let me know what is wrong here and why is it giving me that java error? It should be better in reporting error and give it in BPEL terms.
- MeghanaI switched my compiler to use Oracle's bundled jre but I still get following 2 errors -
[bpelc] D:\dev\admin.console.trunk\workspace\ServiceFlow\temp\bpelc33065.tmp\BPEL-INF\src\bpel\p0\BPEL_BIN.java:2129: ';' expected.
[bpelc] return "bpws:getVariableData("integer")<=count(bpws:getVariableData('GetRCItem-GetItemResponse', 'parameters', '/schemattwebservices:GetItemResponse/schemattwebservices:return/schemattwebservices:extendedFieldList[schemattwebservices:name="LIST_OF_TASKS"]')/schemattwebservices:values)" ;
[bpelc] ^
[bpelc] D:\dev\admin.console.trunk\workspace\ServiceFlow\temp\bpelc33065.tmp\BPEL-INF\src\bpel\p0\BPEL_BIN.java:2982: ';' expected.
[bpelc] return "bpws:getVariableData("index2")<=count(bpws:getVariableData('GetRCTaskItem-GetItemResponse', 'parameters', '/schemattwebservices:GetItemResponse/schemattwebservices:return/schemattwebservices:extendedFieldList[schemattwebservices:name="ZMF_PACKAGES"]')/schemattwebservices:values)" ;
[bpelc] ^
[bpelc] 2 errors
Any idea? I have already pasted my while condition which has this condition on it. Second while is similar to first one.
Thank you.
- Meghana -
How to build and deploy ejb in j2ee!!
HI there!!
Newbie Question. I know this is very rude to ask a question "How to build and deploy ejb in j2ee server??", but please help me. I just learned some servlets worked with tomcat. Now I want to learn more about ejb, could anyone suggest me any online tutorial or book where in it is explained step by step builiding and deploying ejb's in j2ee server, please help me. I would be grateful to you.A good book to start with is Enterprise JavaBeans by Monson-Haefel (O'Reilly press). It covers deployment of EJBs on J2EE servers. Also check out sites specific to your server, sometimes they have specific requirements (like Weblogic).
-
How to Build and Deploy Flex application in EP6
Hi All,
Can anyone tell how to build and deploy Flex application in EP6.
I want to build a normal application in flex and present it through iviews. How do I configure my Iiview to have flex component running in Portal Environment.
Thanks
DeepakA good book to start with is Enterprise JavaBeans by Monson-Haefel (O'Reilly press). It covers deployment of EJBs on J2EE servers. Also check out sites specific to your server, sometimes they have specific requirements (like Weblogic).
Maybe you are looking for
-
I'm trying to buy a book I made in I-photo. I have made a 20 page book in I-photo and when I push the "buy book" button it starts to process and then pops up a sign that say'es There was a problem commucating with the apple store. Please try again.
-
Saving PSE-edited RAW files directly into my iPhoto library in JPEG format
I take photos in RAW format and like to save the edited file in iPhoto in JPEG. I'm using a pretty convoluted process--changing the PSD extension to JPG and saving to my desktop. Then dragging the file from desktop to iPhoto in the dock. The file is
-
Dear Experts, I am using SAP 4.7 with oracle 8.1 on Windows 200 server. I want to extended data file and Add data file. I think it can be via SAPDBA ,But I never use this one . So please explain me step-by step . so that I can ADD or Extended datafil
-
ITunes freezes when shutting down, playcount not saved
Okay, hey... Everytime I shut down my iTunes, it freezes, and this Windows-standard-popup shows and ask me if I want to report the error or just shut down the program. (Sorry this message is different in English, I'm currently on a Danish computer).
-
WDJ - Native Adobe Form - formating of drop-down box
Hi all, I have an Adobe Form in WDJ that was created by other consultants some months ago. Its display type is Native, but it has input fields and some static drop-downs that are ActiveX controls. I had to get the dynamic drop-downs working and I was