Project structure and deployment
Hello,
We are working on an LCDS project using JBoss under Linux.
1. It seems that no matter whether the project is to be
compiled with Flex Builder or LCDS, the project folder is always
created under the flex.war folder (choosing another location, e.g
at the same level as flex.war triggers a warning in the Flex
Builder project dialog). Is there a way to put it somewhere else ?
2. We need to write some Java adapter classes for the
RemoteObject. We created a separate Java project for this in
MyEclipse. So, we have a Flex project and a Java project. We would
like to create a single WAR file to include the output of both. Can
you do this directly with MyEclipse or do you have to use Ant ?
Thanks,
Karl Sigiscar.
Hello,
We are working on an LCDS project using JBoss under Linux.
1. It seems that no matter whether the project is to be
compiled with Flex Builder or LCDS, the project folder is always
created under the flex.war folder (choosing another location, e.g
at the same level as flex.war triggers a warning in the Flex
Builder project dialog). Is there a way to put it somewhere else ?
2. We need to write some Java adapter classes for the
RemoteObject. We created a separate Java project for this in
MyEclipse. So, we have a Flex project and a Java project. We would
like to create a single WAR file to include the output of both. Can
you do this directly with MyEclipse or do you have to use Ant ?
Thanks,
Karl Sigiscar.
Similar Messages
-
CJ20N - project structure and data import
Hello dear SAP specialists,
Does anybody ever created a ABAP program to import project structure and populate it with data?
I'm trying to start with something or get a working program to import some projects with data.
Actually the program should use BAPI_PROJECT_MAINTAIN to create WBS and GUI_UPLOAD to read a text (cvs) file (LSMW can not be used:)
Sincerely,
MeHi,
Exactly!
See you have so many tables in that BAPI, now all the data you have in your flat file you have to map to these tables.
Below is a code...similarly you'll have to do
TYPE-POOLS: truxs.
* T Y P E S
TYPES: BEGIN OF t_master_data,
MATERIAL Type MATNR ,
IND_SECTOR Type MBRSH ,
MATL_TYPE Type MTART ,
PLANT Type WERKS ,
STGE_LOC Type LGORT_D ,
MATL_DESC Type MAKTX ,
BASE_UOM Type MEINS ,
MATL_GROUP Type MATKL ,
DIVISION Type SPART ,
ITEM_CAT Type MTPOS_MARA ,
GROSS_WT Type BRGEW ,
UNIT_OF_WT Type GEWEI ,
NET_WEIGHT Type NTGEW ,
VOLUME Type VOLUM ,
SIZE_DIM Type GROES ,
BASIC_MATL Type WRKST ,
DOCUMENT Type DZEINR ,
DOC_VERS Type DZEIVR ,
PO_UNIT Type BSTME ,
PUR_GROUP Type EKGRP ,
AUTO_P_ORD Type KAUTB ,
"BATCH_MGMT Type XCHPF ,
PUR_VALKEY Type EKWSL ,
"GR_PR_TIME Type WEBAZ ,
COMM_CODE Type STAWN ,
COUNTRYORI Type HERKL ,
MRP_TYPE Type DISMM ,
REORDER_PT Type MINBE ,
MRP_CTRLER Type DISPO ,
LOTSIZEKEY Type DISLS ,
MINLOTSIZE Type BSTMI ,
MAXLOTSIZE Type BSTMA ,
FIXED_LOT Type BSTFE ,
MAX_STOCK Type MABST ,
ROUND_VAL Type BSTRF ,
PROC_TYPE Type BESKZ ,
SPPROCTYPE Type SOBSL ,
ISS_ST_LOC Type LGPRO ,
SLOC_EXPRC Type LGFSB ,
PLND_DELRY Type PLIFZ ,
GR_PR_TIME Type WEBAZ ,
SM_KEY Type FHORI ,
SAFETY_STK Type EISBE ,
PLNG_PLANT Type PRWRK ,
AVAILCHECK Type MTVFP ,
DEP_REQ_ID Type SBDKZ ,
ISSUE_UNIT Type AUSME ,
STGE_BIN Type LGPBE ,
BATCH_MGMT Type XCHPF ,
STGEPERIOD Type MAXLZ ,
STGE_PD_UN Type LZEIH ,
MINREMLIFE Type MHDRZ ,
SHELF_LIFE Type MHDHB ,
PERIOD_IND_EXPIRATION_DATE Type DATTP ,
ROUND_UP_RULE_EXPIRATION_DATE Type RDMHD ,
STOR_PCT Type MHDLP ,
QM_AUTHGRP Type QMATAUTH ,
QM_PROCMNT Type QMPUR ,
CTRL_KEY Type SSQSS ,
* Type ART ,
* Type AKTIV ,
VAL_CAT Type BWTTY_D ,
VAL_CLASS Type BKLAS ,
PRICE_CTRL Type VPRSV ,
* NEW ADDITION
STD_PRICE Type STPRS,
PRICE_UNIT Type PEINH ,
MOVING_PR Type VERPR ,
QTY_STRUCT Type CK_EKALREL ,
ORIG_GROUP Type HRKFT ,
ORIG_MAT Type HKMAT ,
VARIANCE_KEY Type AWSLS ,
PROFIT_CTR Type PRCTR ,
LANGU Type SPRAS,
END OF t_master_data.
* I N T E R N A L T A B L E S
DATA:
* Internal table of type t_master_data
ist_master_data TYPE TABLE OF t_master_data,
* Internal table of type BAPIMATHEAD
ist_headdata TYPE TABLE OF BAPIMATHEAD,
* Internal table of type BAPI_MAKT
ist_mat_desc TYPE TABLE OF BAPI_MAKT,
* Internal table of type BAPI_MAKT
ist_uom TYPE TABLE OF BAPI_MARM,
* Internal table of type BAPI_MAKTX
ist_uom_x TYPE TABLE OF BAPI_MARMX.
* G L O B A L V A R I A B L E S
DATA:
it_num TYPE num10,
* Global variable of type truxs_t_text_data
it_raw TYPE truxs_t_text_data.
* W O R K A R E A S
DATA:
* Work area of type t_master_data
wa_master_data TYPE t_master_data,
* Work area of type bapimathead
wa_bapimathead TYPE BAPIMATHEAD,
* Work area of type bapi_mara
wa_client_data TYPE BAPI_MARA,
* Work area of type bapi_marax
wa_client_data_x TYPE BAPI_MARAX,
* Work area of type bapi_marc
wa_plant_data TYPE BAPI_MARC,
* Work area of type bapi_marcx
wa_plant_data_x TYPE BAPI_MARCX,
* Work area of type bapi_mard
wa_storage_location_data TYPE BAPI_MARD,
* Work area of type bapi_mardx
wa_storage_location_data_x TYPE BAPI_MARDX,
* Work area of type bapi_mbew
wa_valuation_data TYPE BAPI_MBEW,
* Work area of type bapi_mbewx
wa_valuation_data_x TYPE BAPI_MBEWX,
* Work area of type bapi_mard
wa_mat_desc TYPE BAPI_MAKT,
* Work area of type bapi_marm
wa_uom TYPE BAPI_MARM,
* Work area of type bapi_marmx
wa_uom_x TYPE BAPI_MARMX,
* Work area of type mbapi_mpgd
wa_planning_data TYPE BAPI_MPGD,
* Work area of type mbapi_mpgdx
wa_planning_data_x TYPE BAPI_MPGDX,
* Work area of type mbapi_mpgd
wa_return TYPE BAPIRET2.
* P A R A M E T E R S
PARAMETERS:
* Parameter of type rlgrap-filename
p_file TYPE rlgrap-filename.
* A T S E L E C T I O N S C R E E N
AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_file.
CALL FUNCTION 'F4_FILENAME'
EXPORTING
field_name = 'P_FILE'
IMPORTING
file_name = p_file.
* S T A R T - O F - S E L E C T I O N.
START-OF-SELECTION.
* To upload data from flat file
CALL FUNCTION 'TEXT_CONVERT_XLS_TO_SAP'
EXPORTING
i_line_header = 'X'
i_tab_raw_data = it_raw " WORK TABLE
i_filename = p_file
TABLES
i_tab_converted_data = ist_master_data[] "ACTUAL DATA
EXCEPTIONS
conversion_failed = 1
OTHERS = 2.
IF sy-subrc = 0.
LOOP AT ist_master_data INTO wa_master_data.
it_num = wa_master_data-PROFIT_CTR.
wa_master_data-PROFIT_CTR = it_num.
MOVE-CORRESPONDING wa_master_data to wa_bapimathead.
MOVE-CORRESPONDING wa_master_data to wa_client_data.
wa_client_data_x-MATL_GROUP = 'X'.
wa_client_data_x-BASE_UOM = 'X'.
wa_client_data_x-PO_UNIT = 'X'.
wa_client_data_x-DOCUMENT = 'X'.
wa_client_data_x-SIZE_DIM = 'X'.
wa_client_data_x-BASIC_MATL = 'X'.
wa_client_data_x-PUR_VALKEY = 'X'.
wa_client_data_x-NET_WEIGHT = 'X'.
wa_client_data_x-UNIT_OF_WT = 'X'.
wa_client_data_x-DIVISION = 'X'.
wa_client_data_x-BATCH_MGMT = 'X'.
wa_client_data_x-QM_PROCMNT = 'X'.
wa_client_data_x-MINREMLIFE = 'X'.
wa_client_data_x-SHELF_LIFE = 'X'.
wa_client_data_x-STOR_PCT = 'X'.
wa_client_data_x-ROUND_UP_RULE_EXPIRATION_DATE = 'X'.
wa_client_data_x-PERIOD_IND_EXPIRATION_DATE = 'X'.
wa_client_data_x-ITEM_CAT = 'X'.
MOVE-CORRESPONDING wa_master_data to wa_plant_data.
wa_plant_data_x-PLANT = wa_master_data-plant.
wa_plant_data_x-PUR_GROUP = 'X'.
wa_plant_data_x-ISSUE_UNIT = 'X'.
wa_plant_data_x-MRP_TYPE = 'X'.
wa_plant_data_x-MRP_CTRLER = 'X'.
wa_plant_data_x-PLND_DELRY = 'X'.
wa_plant_data_x-GR_PR_TIME = 'X'.
wa_plant_data_x-LOTSIZEKEY = 'X'.
wa_plant_data_x-PROC_TYPE = 'X'.
wa_plant_data_x-SPPROCTYPE = 'X'.
wa_plant_data_x-SAFETY_STK = 'X'.
wa_plant_data_x-MINLOTSIZE = 'X'.
wa_plant_data_x-MAXLOTSIZE = 'X'.
wa_plant_data_x-FIXED_LOT = 'X'.
wa_plant_data_x-ROUND_VAL = 'X'.
wa_plant_data_x-MAX_STOCK = 'X'.
wa_plant_data_x-DEP_REQ_ID = 'X'.
wa_plant_data_x-SM_KEY = 'X'.
wa_plant_data_x-STGEPERIOD = 'X'.
wa_plant_data_x-STGE_PD_UN = 'X'.
wa_plant_data_x-CTRL_KEY = 'X'.
wa_plant_data_x-BATCH_MGMT = 'X'.
wa_plant_data_x-AVAILCHECK = 'X'.
wa_plant_data_x-AUTO_P_ORD = 'X'.
wa_plant_data_x-COMM_CODE = 'X'.
wa_plant_data_x-COUNTRYORI = 'X'.
wa_plant_data_x-PROFIT_CTR = 'X'.
wa_plant_data_x-ISS_ST_LOC = 'X'.
wa_plant_data_x-VARIANCE_KEY = 'X'.
wa_plant_data_x-SLOC_EXPRC = 'X'.
wa_plant_data_x-QM_AUTHGRP = 'X'.
MOVE-CORRESPONDING wa_master_data to wa_planning_data.
wa_planning_data_x-PLANT = wa_master_data-plant.
wa_planning_data_x-PLNG_PLANT = 'X'.
MOVE-CORRESPONDING wa_master_data to wa_storage_location_data.
wa_storage_location_data_X-PLANT = wa_master_data-plant.
wa_storage_location_data_X-STGE_LOC = wa_master_data-stge_loc.
wa_storage_location_data_X-STGE_BIN = 'X'.
MOVE-CORRESPONDING wa_master_data to wa_valuation_data.
wa_valuation_data-VAL_AREA = '1000'.
wa_valuation_data_X-VAL_AREA = '1000'.
wa_valuation_data_X-PRICE_CTRL = 'X'.
wa_valuation_data_X-MOVING_PR = 'X'.
wa_valuation_data_X-PRICE_UNIT = 'X'.
wa_valuation_data_X-STD_PRICE = 'X'.
wa_valuation_data_X-VAL_CLASS = 'X'.
wa_valuation_data_X-ORIG_GROUP = 'X'.
wa_valuation_data_X-QTY_STRUCT = 'X'.
wa_valuation_data_X-ORIG_MAT = 'X'.
MOVE-CORRESPONDING wa_master_data to wa_mat_desc.
APPEND wa_mat_desc to ist_mat_desc.
IF wa_master_data-PRICE_CTRL = 'S' AND wa_master_data-STD_PRICE IS INITIAL.
WRITE:/ 'Standard Price not maintained for material ',wa_master_data-MATERIAL.
ELSE.
CALL FUNCTION 'BAPI_MATERIAL_SAVEDATA'
EXPORTING
HEADDATA = wa_bapimathead
CLIENTDATA = wa_client_data
CLIENTDATAX = wa_client_data_x
PLANTDATA = wa_plant_data
PLANTDATAX = wa_plant_data_X
PLANNINGDATA = wa_planning_data
PLANNINGDATAX = wa_planning_data_x
STORAGELOCATIONDATA = wa_storage_location_data
STORAGELOCATIONDATAX = wa_storage_location_data_x
VALUATIONDATA = wa_valuation_data
VALUATIONDATAX = wa_valuation_data_x
IMPORTING
RETURN = wa_return
TABLES
MATERIALDESCRIPTION = ist_mat_desc.
Write:/ wa_return-message.
CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'.
Clear: wa_bapimathead
,wa_client_data
,wa_client_data_x
,wa_plant_data
,wa_plant_data_X
,wa_planning_data
,wa_planning_data_x
,wa_storage_location_data
,wa_storage_location_data_x
,wa_valuation_data
,wa_valuation_data_x.
ENDIF.
REFRESH ist_mat_desc.
ENDLOOP.
ELSE.
Write:/ text-001.
ENDIF.
In the above code note how i have taken the same names for the fields in internal table as they are in the BAPI so that the mapping of data becomes easier, since i use MOVE CORRESPONDING.
Regards,
Shraddha
Edited by: shraddha85 on Jan 31, 2011 9:49 AM -
How to create a project structure with the Business Bluprint transaction S
Hi
How to create a project structure and add the required scenarios for your SAP system to your project structure with the Business Bluprint transaction SOLAR01.
Also how to add your SAP system configuration structures to your project structure with the configuration transaction SOLAR02
Thanks,Dear fr
Have u already created a project?
select the same in solar01 and click the structure tab
On the left side select business scenarios and on the right side select the structure tab
Press F4 here and check the Busines process repository is selected
Nw you hav all the standard business process
For non-standard just type there name and press save button.
Add the relevant one's
Once added here in solar01 reflected in solar02 automatically with relevant data for standard business process.
you hav to add manually for non stand scean you have added.
Hope it clarifies.
Pls assign pts. -
Hi guys,
<p>
I'm having a problem deploying my project. I have created a project structure as so:
</p>
<p>
CLOGE 1.0
|_Source Packages
| |_rdemo
| |_ClogeGUI.java [main]
| |_ClogeRScript.java
|_Libraries
|_Swing Layout Extensions - swing-layout-1.0.jar
|_C:\CLOGE\JRclient [folder structure of classes]
| |_META-INF
| |_org.rosuda.JRclient
|_C:\CLOGE\svgSalamander-tiny [folder structure of classes]
| |_META-INF
| |_com.kitfox.svg
| |_...
|_JDK 1.6 (Default)
</p>
<p>
Now I can build and run the project in Netbeans (version 5.5) and everything operates as it should. However, if I navigate to the dist folder of the project to the CLOGE_1.0.jar file via the Windows XP Command Prompt and execute "java -jar "CLOGE_1.0.jar", I get this error:
</p>
<p>
Exception in thread "main" java.lang.NoClassDefFoundError: org/rosuda/JRclient/RSrvException<br/>
at rdemo.ClogeGUI.clogeRScript(ClogeGUI.java:134)<br/>
at rdemo.ClogeGUI.main(ClogeGUI.java:259)<br/>
</p>
<p>
What do I have to do, so I can simply double-click the CLOGE_1.0.jar file and the project runs?
</p>
<p>
Many thanks,<br/>
Chris
</p>
Edited by: raistrick on Oct 12, 2007 4:49 AMWasn't contracted. Wasn't paid. Wasn't the main focus of the software ;) - I was asked to do it for my technical expertise in statistics and bioinformatics... anyone else here mind giving me some hints other than this unspeakably pathetic excuse for a programmer.
(by the way "jwenting", if you call yourself a professional and take that attitude to other programmers you won't be in a company very long! Don't jump to assumptions and don't use the internet as some portal to exercise anger that women don't find you attractive and all you have to be cocky about is programming, it's pathetic. Grow up please.
What I am trying to work out about the answer above, is why. It could mean (1) that you don't know the answer and shunning me so is some poor attempt to save your diminishing ego, which from reading your other posts may be true. It could mean (2) you can't be arsed, which is more likely the case, but then one has to ask why the hell you came on here in the first place. Do you get a kick out of this? Is this your claim to fame - a java forum silver member?? It's not like I wasn't polite or clear in my explanation. Did some unqualified individual steal your job from you once upon a time so all "newbies" thereafter were a target for your pent up aggression? If so, don't worry I am not gunning for your position at all!)
Many thanks to anyone who can provide a solution. I doubt this is a hard problem to solve and I'd be very grateful if anyone could point me in the direction of an answer. jwentig is quite right, I am not capable of such a task. I'm not a liar, however.
Edited by: raistrick on Oct 12, 2007 7:25 AM -
Unable to Approve and deploy the Project to production in BCC
Hi ,
In BCC I created a new project in Commerce Merchanidising and then created one sample catalog .
In the below structure .
Site Catalogs >> ATG Home >> Home Catalog Folder >> Home Store Catalog >>Home Store Root >>
Here i created a new category and named it as 'products'. In that i dragged some assets .
When i am trying to "Approve and deploy to production" i am getting the following error in the BCC UI ::
An unexpected error occurred while attempting to execute task 'Approve and Deploy to Production' on Aug 8, 2013 11:20:56 AM. Please contact your administrator.
Please tel me why this is happening.
One more thing i want to add here is like i was unable to log on to the dynamo admin home page both for publishing and production server .Both the servers are Up and running .Is it causing the above problem ??
In Logs i am getting this error ::
[Flex Messaging] 08/08/2013 11:20:57.183 [ERROR] [Message.General] Exception whe
n invoking service 'remoting-service': flex.messaging.MessageException: flex.mes
saging.MessageException: atg.flex.service.RemoteOperationException : An unexpect
ed error occurred while attempting to execute task 'Approve and Deploy to Produc
tion' on Aug 8, 2013 11:20:56 AM. Please contact your administrator.
incomingMessage: Flex Message (flex.messaging.messages.RemotingMessage)
operation = fireWorkflowOutcome
clientId = 21C68527-EB0D-4902-FD4C-5F7D8672EC2D
destination = /atg/remote/assetmanager/epub/service/PublishingService
messageId = A6AF5F47-438C-C430-E21E-5C7A58A0DDE3
timestamp = 1375941056713
timeToLive = 0
body = null
hdr(DSId) = 21C67B75-020D-7E52-EAA0-7CE93977E83A
hdr(DSEndpoint) = atg-amf
Exception: flex.messaging.MessageException: flex.messaging.MessageException: a
tg.flex.service.RemoteOperationException : An unexpected error occurred while at
tempting to execute task 'Approve and Deploy to Production' on Aug 8, 2013 11:20
:56 AM. Please contact your administrator.
at flex.messaging.services.RemotingService.serviceMessage(RemotingServic
e.java:225)
at flex.messaging.MessageBroker.routeMessageToService(MessageBroker.java
:1503)
at flex.messaging.endpoints.AbstractEndpoint.serviceMessage(AbstractEndp
oint.java:884)
at flex.messaging.endpoints.amf.MessageBrokerFilter.invoke(MessageBroker
Filter.java:121)
at flex.messaging.endpoints.amf.LegacyFilter.invoke(LegacyFilter.java:15
8)
at flex.messaging.endpoints.amf.SessionFilter.invoke(SessionFilter.java:
44)
at flex.messaging.endpoints.amf.BatchProcessFilter.invoke(BatchProcessFi
lter.java:67)
at flex.messaging.endpoints.amf.SerializationFilter.invoke(Serialization
Filter.java:146)
at flex.messaging.endpoints.BaseHTTPEndpoint.service(BaseHTTPEndpoint.ja
va:278)
at flex.messaging.MessageBrokerServlet.service(MessageBrokerServlet.java
:322)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run
(StubSecurityHelper.java:227)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecuri
tyHelper.java:125)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.jav
a:301)
at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.ja
va:56)
at atg.service.configuration.ResponseWrappingConfiguration.invokeFilterC
hainWithPossibleWrapping(ResponseWrappingConfiguration.java:458)
at atg.servlet.pipeline.TailPipelineServlet.service(TailPipelineServlet.
java:174)
at atg.servlet.pipeline.PipelineableServletImpl.passRequest(Pipelineable
ServletImpl.java:157)
at atg.servlet.pipeline.DispatcherPipelineServletImpl.service(Dispatcher
PipelineServletImpl.java:275)
at atg.servlet.pipeline.PipelineableServletImpl.passRequest(Pipelineable
ServletImpl.java:157)
at atg.endeca.assembler.AssemblerPipelineServlet.service(AssemblerPipeli
neServlet.java:458)
at atg.servlet.pipeline.PipelineableServletImpl.passRequest(Pipelineable
ServletImpl.java:157)
at atg.projects.store.mobile.link.MobileDetectionInterceptor.service(Mob
ileDetectionInterceptor.java:523)
at atg.servlet.pipeline.PipelineableServletImpl.passRequest(Pipelineable
ServletImpl.java:157)
at atg.servlet.http.CookieBufferServlet.service(CookieBufferServlet.java
:119)
at atg.servlet.pipeline.PipelineableServletImpl.passRequest(Pipelineable
ServletImpl.java:157)
at atg.userprofiling.ExpiredPasswordServlet.service(ExpiredPasswordServl
et.java:383)
at atg.servlet.pipeline.PipelineableServletImpl.passRequest(Pipelineable
ServletImpl.java:157)
at atg.servlet.pipeline.MimeTyperPipelineServlet.service(MimeTyperPipeli
neServlet.java:228)
at atg.servlet.pipeline.PipelineableServletImpl.passRequest(Pipelineable
ServletImpl.java:157)
at atg.droplet.DropletEventServlet.service(DropletEventServlet.java:696)
at atg.servlet.pipeline.PipelineableServletImpl.passRequest(Pipelineable
ServletImpl.java:157)
at atg.epub.servlet.LocaleServlet.service(LocaleServlet.java:84)
at atg.servlet.pipeline.PipelineableServletImpl.passRequest(Pipelineable
ServletImpl.java:157)
at atg.epub.servlet.ProjectServlet.service(ProjectServlet.java:109)
at atg.servlet.pipeline.PipelineableServletImpl.passRequest(Pipelineable
ServletImpl.java:157)
at atg.epub.servlet.PublishingSecurityServlet.service(PublishingSecurity
Servlet.java:80)
at atg.servlet.pipeline.PipelineableServletImpl.passRequest(Pipelineable
ServletImpl.java:157)
at atg.commerce.order.CommerceCommandServlet.service(CommerceCommandServ
let.java:150)
at atg.servlet.pipeline.PipelineableServletImpl.passRequest(Pipelineable
ServletImpl.java:157)
at atg.commerce.promotion.PromotionServlet.service(PromotionServlet.java
:213)
at atg.servlet.pipeline.PipelineableServletImpl.passRequest(Pipelineable
ServletImpl.java:157)
at atg.userprofiling.AccessControlServlet.service(AccessControlServlet.j
ava:696)
at atg.servlet.pipeline.PipelineableServletImpl.passRequest(Pipelineable
ServletImpl.java:157)
at atg.servlet.sessionsaver.SessionSaverServlet.service(SessionSaverServ
let.java:2452)
at atg.servlet.pipeline.PipelineableServletImpl.passRequest(Pipelineable
ServletImpl.java:157)
at atg.userprofiling.PageEventTriggerPipelineServlet.service(PageEventTr
iggerPipelineServlet.java:191)
at atg.servlet.pipeline.PipelineableServletImpl.passRequest(Pipelineable
ServletImpl.java:157)
at atg.search.servlet.SearchClickThroughServlet.service(SearchClickThrou
ghServlet.java:418)
at atg.servlet.pipeline.PipelineableServletImpl.passRequest(Pipelineable
ServletImpl.java:157)
at atg.multisite.SiteSessionEventTriggerPipelineServlet.service(SiteSess
ionEventTriggerPipelineServlet.java:161)
at atg.servlet.pipeline.PipelineableServletImpl.passRequest(Pipelineable
ServletImpl.java:157)
at atg.userprofiling.SessionEventTrigger.service(SessionEventTrigger.jav
a:512)
at atg.servlet.pipeline.PipelineableServletImpl.passRequest(Pipelineable
ServletImpl.java:157)
at atg.userprofiling.ProfilePropertyServlet.service(ProfilePropertyServl
et.java:230)
at atg.servlet.pipeline.PipelineableServletImpl.passRequest(Pipelineable
ServletImpl.java:157)
at atg.userprofiling.ProfileRequestServlet.service(ProfileRequestServlet
.java:461)
at atg.servlet.pipeline.PipelineableServletImpl.passRequest(Pipelineable
ServletImpl.java:157)
at atg.servlet.pipeline.CachePreventionServlet.service(CachePreventionSe
rvlet.java:141)
at atg.servlet.pipeline.PipelineableServletImpl.passRequest(Pipelineable
ServletImpl.java:157)
at atg.projects.store.servlet.pipeline.ProtocolSwitchServlet.service(Pro
tocolSwitchServlet.java:309)
at atg.servlet.pipeline.PipelineableServletImpl.passRequest(Pipelineable
ServletImpl.java:157)
at atg.servlet.pipeline.DynamoPipelineServlet.service(DynamoPipelineServ
let.java:491)
at atg.servlet.pipeline.PipelineableServletImpl.passRequest(Pipelineable
ServletImpl.java:157)
at atg.servlet.pipeline.URLArgumentPipelineServlet.service(URLArgumentPi
pelineServlet.java:298)
at atg.servlet.pipeline.PipelineableServletImpl.passRequest(Pipelineable
ServletImpl.java:157)
at atg.servlet.pipeline.PathAuthenticationPipelineServlet.service(PathAu
thenticationPipelineServlet.java:392)
at atg.servlet.pipeline.PipelineableServletImpl.passRequest(Pipelineable
ServletImpl.java:157)
at atg.servlet.security.ThreadUserBinderServlet.service(ThreadUserBinder
Servlet.java:113)
at atg.servlet.pipeline.PipelineableServletImpl.passRequest(Pipelineable
ServletImpl.java:157)
at atg.dtm.TransactionPipelineServlet.service(TransactionPipelineServlet
.java:234)
at atg.servlet.pipeline.PipelineableServletImpl.passRequest(Pipelineable
ServletImpl.java:157)
at atg.servlet.pipeline.SecurityServlet.service(SecurityServlet.java:196
at atg.servlet.pipeline.PipelineableServletImpl.passRequest(Pipelineable
ServletImpl.java:157)
at atg.multisite.SiteContextPipelineServlet.service(SiteContextPipelineS
ervlet.java:367)
at atg.servlet.pipeline.PipelineableServletImpl.passRequest(Pipelineable
ServletImpl.java:157)
at atg.servlet.pipeline.HeadPipelineServlet.passRequest(HeadPipelineServ
let.java:1252)
at atg.servlet.pipeline.HeadPipelineServlet.service(HeadPipelineServlet.
java:930)
at atg.servlet.pipeline.PipelineableServletImpl.service(PipelineableServ
letImpl.java:272)
at atg.filter.dspjsp.PageFilter.innerDoFilter(PageFilter.java:348)
at atg.filter.dspjsp.PageFilter.doFilter(PageFilter.java:206)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.ja
va:56)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationActio
n.wrapRun(WebAppServletContext.java:3730)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationActio
n.run(WebAppServletContext.java:3696)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(Authenticate
dSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:
120)
at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppS
ervletContext.java:2273)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletC
ontext.java:2179)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.j
ava:1490)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)
Caused by: atg.flex.service.RemoteOperationException: flex.messaging.MessageExce
ption: atg.flex.service.RemoteOperationException : An unexpected error occurred
while attempting to execute task 'Approve and Deploy to Production' on Aug 8, 20
13 11:20:56 AM. Please contact your administrator.
at atg.flex.messaging.services.TransactionalJavaAdapter.invoke(Transacti
onalJavaAdapter.java:206)
at flex.messaging.services.RemotingService.serviceMessage(RemotingServic
e.java:183)
... 91 more
Caused by: flex.messaging.MessageException: atg.flex.service.RemoteOperationExce
ption : An unexpected error occurred while attempting to execute task 'Approve a
nd Deploy to Production' on Aug 8, 2013 11:20:56 AM. Please contact your adminis
trator.
at flex.messaging.services.remoting.adapters.JavaAdapter.invoke(JavaAdap
ter.java:447)
at atg.flex.messaging.services.TransactionalJavaAdapter.invoke(Transacti
onalJavaAdapter.java:189)
... 92 more
Caused by: atg.flex.service.RemoteOperationException: An unexpected error occurr
ed while attempting to execute task 'Approve and Deploy to Production' on Aug 8,
2013 11:20:56 AM. Please contact your administrator.
at atg.remote.assetmanager.epub.service.PublishingService.fireWorkflowOu
tcome(PublishingService.java:964)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at flex.messaging.services.remoting.adapters.JavaAdapter.invoke(JavaAdap
ter.java:421)
... 93 more
Anyone please help me on this .As i got strucked in this.
Thanks,
keerthiHi,
Check how the access rights are set in Work flow.
1. Log into ACC instance of BCC: Go to Workflow ->Publishing. Select Common/commonWorkflow. In the workflow right click on 'productionApproval', select Set Access Rights. You can see which roles have access to 'productionApproval' task.
2. Now verify that user id you used to login belongs to one of those roles.
Cheers
Gopi -
VS 2010 Pro "Other Project Types" / "Setup and Deployment": No items found
Hello,
I have VS 2010 Pro Version 10.0.40219.1 SP1 Rel. I have developed a VB.Net application and would like to deploy it. When I try to add a setup project to the solution, I get "No items found" where a list of project types should be in the "Add New Project"
dialog, "Installed Templates", "Other Project Types", "Setup and Deployment". Shouldn't the Pro version have those templates installed? If so, can I copy them from somewhere? I noticed that "Database" and "Test Projects" also have empty lists. There are lots
of templates available for the various languages.
I tried to modify the VS 2010 installation by adding support for SharePoint, but that did not help. Do I have to uninstall, reboot, and re-install? It's so cumbersome considering that I would need to redo the updates as well.
OS is Win 7 Pro, processor is Intel E8400.
Thanks!
r4Hi robertrackl,
Thanks for your post.
The Setup Project template is located in: Installed Templates >> Other Project Types >> Setup and Deployment >> Visual Studio Installer. Would you please check if the templates exists in this path?
If not, you can follow the steps below to reset your Visual Studio templates:
Please open Windows Explorer, and navigate to <Visual Studio Installation Path>\Common7\IDE
(by default is C:\Program Files \Microsoft Visual Studio 10.0\Common7\IDE);
Delete the ItemTemplatesCache, ProjectTemplatesCache
folder;
Open Visual Studio Command Prompt (2010) under Start menu -> All Programs -> Microsoft Visual Studio 2010 -> Visual Studio Tools (run it with Administrator privilege: right-click the program -> Run as administrator);
Run the devenv /InstallVSTemplates switch;
Run the devenv /Setup switch.
If you have any concerns, please feel free to let me know.
Best Regards,
Andrew Wu [MSFT]
MSDN Community Support | Feedback to us
Get or Request Code Sample from Microsoft
Please remember to mark the replies as answers if they help and unmark them if they provide no help. -
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. -
Managing Org units and Master Data in project structure
How are Org units and Master data managed at the project structure? What would be the appropriate place holders for them in the structure. Should we manage it at the top of the project structure or within the business scenarios/processes. On what basis should we decide this? How would this impact in case of a global template rollout?
Please share your experiences regarding this.
Thanks.
Mikeany talented guy do this way.
i think that ur working in E2E project work
before singoff ur business process u should give to ur users master data templets..they collect for masterdatas in before realization phase...that time u should know how many specifications is there and in spections how many in quantitative and how many qualitative u will indentify. if any query let me back.
Edited by: Lakshmiananda prasad on Oct 6, 2009 11:48 AM -
Need steps to create ant scripts for publishing and deploying projects.
Need steps to create ant scripts for publishing and deploying projects.
Have got ant, Oracle BPM Enterprise WL edition installed , Need to know what are the other configurations to be done.
Any working example would help me to understand, please do mail me at [email protected]
Thanks in advance.
-SreeSreekant,
Please find the build file to publish and deploy.
<project name="deployProject"
xmlns:fuego="antlib:fuego.tools.ant.enterprise"
xmlns:fuego.j2ee="antlib:fuego.tools.ant.j2ee" default = "publish">
<property file="./Properties/fuego_deploy.properties"/>
<fuego:passport id="fuego.passport"
directoryid="${fuego.directoryid}"
preset="engine" />
<target name="publish" description="Publish and deploy processes" depends = "takeInputs">
<!-- Open a session to the Oracle BPM directory -->
<fuego:session
passportref="fuego.passport"
verbose="true"
properties="${fuego.basedir}/conf/directory.xml"
haltonerror="true" >
<!-- Publish processes -->
<fuego:publish fpr="${fuego.project.name}"
deploy="true"
engine="${fuego.engineName}"
importdata = "${fuego.importdata}"
automaproles="${fuego.automaproles}"
automapbuspars = "${fuego.automapbuspars}"
automapvars="${fuego.automapvars}"
automapconfigs = "${fuego.automapconfigs}">
</fuego:publish>
</fuego:session>
</target>
<target name= "takeInputs" >
<input
message="Please enter admin-username:"
addproperty="fuego.participant"
/>
<input
message="Please enter admin-password:"
addproperty="fuego.password"
>
</input>
</target>
</project>
and find the properties I have used..
fuego.basedir=C:\OraBPMEnterpriseHome
fuego.directoryid=default
fuego.engineName = bpmengine
fuego.project.name = E:/antExamples/Project/CommonUtilities
# If the below property is true then ant script imports data from the project, as defined in Studio.
# This includes importing:
# •Holiday and Calendar rules
# •Organizational Units
# •Roles
# •Resource configurations
# •External Variables
fuego.importdata = true
#If the below property is true ant script automatically map abstract roles to real ones with the same name.
fuego.automaproles=true
#If the below property is true ant script automatically map business parameter variable names (as defined in the project design) to an business parameter variable id with the same name (as defined in the Fuego Enterprise directory).
fuego.automapbuspars = true
#If the below property is true ant script automatically map external variable names (as defined in the project design) to an external variable id with the same name (as defined in the Fuego Enterprise directory).
fuego.automapvars=true
#If the below property is true ant script automatically map External Resources configurations (as defined in the project design) to real Configurations with the same name (as defined in the Fuego Enterprise directory).
fuego.automapconfigs = true -
Automating Sharepoint Foundation 2013 Installation and Deployment of Project
Hi all,
I'm a long time software developer with absolutely no experience in Sharepoint.
I have just joined a new company and I was asked by the team leader to create an installer for Sharepoint Foundation 2013 and a working Sharepoint solution made by the company, preferably using HTA.
I have experimented installing it manually and deploying the solution, however, what's the best method to automate these two steps?
I was thinking of something like AutoSPInstaller, and after the end of the installation, I would run Add-SPSolution and Install-SPSolution commands for deploying the solution.
What do you think?So the only problem with SharePoint Foundation is that you cannot script the provisioning of the Search Service, you must use the wizard via Central Admin UI to create it. There is an unsupported workaround, but again, unsupported so I don't use it.
I'd stay away from HTA and go just pure PowerShell prompts, myself though.
Trevor Seward
Follow or contact me at...
  
This post is my own opinion and does not necessarily reflect the opinion or view of Microsoft, its employees, or other MVPs. -
How to add a new Shared Variable programmatically to an existing and deployed library?
Hi there!
I am trying to accomplish this on both LabVIEW 8.6 and LabVIEW 2010 and seems like it's not any different in this situation.
My case: A project has a library with 4 Shared Variables (SVs). The library and the variables are deployed (visible in Distributed System Manager 8.6/2010). I want to add 2 more variables into this library. It is possible to do this manually from Project Explorer window's options menu. But while running an application it has to be done programmatically. Can I provide the library reference to the one currently existing without creating a new one?
"Create Or Add Library To Project" function in the Datalogging and Supervisory Control (DSC) toolkit does not help in this case. That function, as the name suggests, just tries to create a new library in the project.
Two possible methods:
The function "Add Shared Variable To Library" (DSC>EngineControl>Libraries & Processes) needs a library reference, which could be provided via "CreateOrAddLibraryToProject" function, but this function tries to create a new library, and if I provide the path of the existing library it throws an exception that the library already exists in the project (yes, as I wrote above, I need to add new variables to an existing and deployed library).
OR
The function "Create Shared Variable" (DSC>EngineControl>Variables & I/O Servers) will add Shared Variable in a process, and not physically in a library file, and the problem (limitation) with this approach is that it doesn't allow to add complex data type Shared Variables (for example in LabVIEW 8.6 it has only 4 datatype options in input parameter, and even in LV2010 it does not have "Image" datatype that I need).
The scond method is my preferred method as it allows to work on Online Shared Variables and doesn't create them physically in libraries (and this is good as the variables' scope remains only till the Variable Engine is running). But it doesn't support advanced data types, and the first method is powerful in terms that it supports to virtually any datatype, it just seems tricky to get that reference to the library.
Any tips?
Thanks ahead!
Vaibhav<<<<>>>>
As the above two images show, while a library does not exist, it is easy to use the "CreateOrAddLibraryToProject.vi" which will add a new library to the project (if it doesn't exist on file system, a new library will be created) and that way, using the reference (the green wire going out from the function and the Case Structure, can be used to add Shared Variables to the library. The problem was what to do when a library already exists in the project, how to add more variables to it. I was looking for a way to get a library reference, and somehow I could not see it inside a Project's property (VI Server functions). Hence I posted the question. And upon continuing my search, I found it on the Application's property list.
I hope it was useful for someone else as well. And thanks for the replies. Please share a better idea if you have.
Vaibhav -
Creating And Deploying A JWSDP Web Service Client to Weblogic 8.1
This setup produces an EAR containing a message driven bean in a jar file. When the MDB receives a message
it checks to see if there is any data in a database table and if so calls the web service with that data. These instructions
are for MS-Windows environments.
In my setup I have:
the weblogic domain at c:\b2b80
the jwsdp at c:\apps\jwsdp-1.3
extra jar files for the app server in c:\b2b80\lib
the main weblogic installation at c:\apps\weblogic810\
1> Download the the JWSDP version you wish to use and install it. (In this example I'm using 1.3)
2> Create a project structure for you client like this:
/project
/earbuild
/META-INF
/ejbbuild
/META-INF
/ejbsource
/wssource
3> in the /project directory you will need a build.xml file that looks something like this: (the ant build targets are described at the end of this document)
==============================================================
<?xml version="1.0"?>
<project name="svcowner" default="buildall" basedir=".">
<property file="classpath.settings"/>
<property name="wssource" value="wssource"/>
<property name="ejbsource" value="ejbsource"/>
<property name="compileejbdest" value="ejbbuild"/>
<property name="earbuilddest" value="earbuild"/>
<property name="jarfilename" value="svcownerejb.jar"/>
<property name="earfilename" value="svcowner.ear"/>
<property name="debug" value="true"/>
<property name="deprecation" value="true"/>
<!-- this runs the create.bat which has all of the wscompile parameters -->
<target name="cmdline_wscompile">
<exec executable="wssource/create.bat"/>
</target>
<target name="compileejb" depends="cmdline_wscompile">
<javac debug="${debug}" srcdir="${wssource}" classpath="${BUILD_CLASSPATH}"
destdir="${compileejbdest}" includes="**/*.java" deprecation="${deprecation}"/>
<javac debug="${debug}" srcdir="${ejbsource}" classpath="${BUILD_CLASSPATH}"
destdir="${compileejbdest}" includes="**/*.java" deprecation="${deprecation}"/>
</target>
<target name="buildejbjar" depends="compileejb">
<jar jarfile="${earbuilddest}/${jarfilename}" manifest="${compileejbdest}/META-INF/MANIFEST.txt">
<fileset dir="${compileejbdest}">
<include name="**/*.*"/>
</fileset>
</jar>
</target>
<target name="buildear" depends="buildejbjar">
<jar jarfile="${earfilename}">
<fileset dir="${earbuilddest}">
<include name="**/*.*"/>
</fileset>
</jar>
</target>
<target name="deploy">
<copy file="${earfilename}" todir="../../config/domain/applications"/>
</target>
<target name="buildall" description="build everything" depends="buildear, deploy">
</target>
</project>
==============================================================
4> You need a matching classpath.settings file in the same directory, something like this:
==============================================================
BUILD_CLASSPATH=/b2b80/lib/saaj-impl.jar;/b2b80/lib/saaj-api.jar;/b2b80/lib/jaxrpc-api.jar;/b2b80/lib/jaxrpc-impl.jar;c:/b2b80/lib/jaxrpc-spi.jar/b2b80/classes/;/b2b80/classes;/apps/weblogic810/server/lib/weblogic.jar;/apps/weblogic810/server/lib/weblogic_sp.jar;/apps/weblogic810/server/lib/xmlx.jar;/apps/weblogic810/server/ext/weblogic-tags.jar;/apps/weblogic810/server/ext/jdbc/oracle/920/ojdbc14_g.jar;/b2b80/lib/log4j.jar
==============================================================
5> In the /project/earbuild/META-INF directory you need an application.xml file:
==============================================================
<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE application PUBLIC '-//Sun Microsystems, Inc.//DTD J2EE Application 1.2//EN' 'http://java.sun.com/j2ee/dtds/application_1_2.dtd'>
<application>
<display-name>svcownerb2b</display-name>
<description>Application description</description>
<module>
<ejb>svcownerejb.jar</ejb>
</module>
</application>
==============================================================
6> The /project/ejbsource directory contains the source for the client application. In my case this is a message driven bean (note that code below isn't complete). The most important part of the code below is the setting of the javax.xml.soap.MessageFactory system property.
System.getProperties().put("javax.xml.soap.MessageFactory","com.sun.xml.messaging.saaj.soap.ver1_1.SOAPMessageFactory1_1Impl");
If you don't do this a weblogic class will be used and the code will fail.
==============================================================
package com.svcclient.ejb.svcownershipment;
import java.text.*;
import java.io.*;
import java.sql.*;
import java.util.Properties;
import javax.ejb.*;
import javax.jms.*;
import javax.naming.*;
import javax.sql.DataSource;
import com.svcclient.util.*;
import org.w3c.dom.*;
import com.svcclient.websvc.svcowner.*;
import javax.xml.rpc.Stub;
public class SvcOwnerShipmentSubscriberMDB implements MessageDrivenBean, MessageListener
private transient MessageDrivenContext mdc = null;
private static Context context;
private final static String CLASSNAME = "SvcOwnerShipmentSubscriberMDB";
private String DATASOURCE_JNDI = "svcclient.b2b";
private static DataSource mDS = null;
private SimpleDateFormat dateFormat = new SimpleDateFormat("yyyy-MM-dd");
public SvcOwnerShipmentSubscriberMDB()
System.getProperties().put("javax.xml.soap.MessageFactory","com.sun.xml.messaging.saaj.soap.ver1_1.SOAPMessageFactory1_1Impl");
try
if (context == null)
context = new InitialContext() ;
if (mDS == null)
mDS = (DataSource)context.lookup(DATASOURCE_JNDI);
catch (NamingException ex)
ex.printStackTrace();
catch(Exception ex)
ex.printStackTrace();
public void onMessage(javax.jms.Message message)
TextMessage msg = null;
String ordernumber = null;
String lineid = null;
try
if (message instanceof TextMessage)
msg = (TextMessage) message;
ordernumber = msg.getStringProperty("ordernumber");
// the JMS message contains a property that is an order number
createAndSendXML(ordernumber);
catch (Throwable ex)
ex.printStackTrace();
private void createAndSendXML(String ordernumber)
if(ordernumber==null)
return;
PreparedStatement statement = null;
ResultSet rset = null;
java.sql.Connection conn = null;
try
conn = DBHelper.getConnection(mDS,"SvcOwnerShipmentSubscriberMDB.createAndSendXML");
statement = conn.prepareStatement("select * from ..."); // you SQL here
statement.setString(1,ordernumber);
rset = statement.executeQuery();
StringBuffer data = new StringBuffer();
data.append("<? version=\"1.0\"?>\n");
data.append("<shippingRequest>\n");
while(rset.next())
data.append("\t<order_date>"+dateFormat.format(new java.util.Date(rset.getTimestamp("SCHEDULE_SHIP_DATE").getDate()))+"</order_date>\n");
data.append("\t<brand_name>svcclient</brand_name>\n");
data.append("\t<shipRequestType>Sale</shipRequestType>\n");
data.append("</shippingRequest>\n");
// call the web service with the data from the database
DataExchanger_Impl impl = new DataExchanger_Impl();
Stub stub = (Stub)(impl.getDataExchangerSoap());
DataExchangerSoap dx = (DataExchangerSoap)stub;
String resp = dx.exchangeData("svcclient", "mypassword", "Sales", data.toString());
catch(SQLException sqle)
sqle.printStackTrace();
catch(Exception e)
e.printStackTrace();
finally
try
if (rset != null)
rset.close();
if (statement != null)
statement.close();
if (conn != null)
conn.close();
catch(Exception x){}
public void ejbCreate() { System.out.println("In SvcOwnerShipmentSubscriberMDB.ejbCreate()"); }
public void setMessageDrivenContext(MessageDrivenContext mdc) { this.mdc = mdc; }
public void ejbRemove() throws javax.ejb.EJBException { System.out.println("In SvcOwnerShipmentSubscriberMDB.remove()"); }
==============================================================
7> The /project/ejbbuild/META-INF directory needs a MANIFEST.txt file.
Manifest-Version: 1.0
8> The /project/ejbbuild/META-INF directory needs a ejb-jar.xml file. This just sets up the MDB which is the client.
==============================================================
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE ejb-jar PUBLIC '-//Sun Microsystems, Inc.//DTD Enterprise JavaBeans 2.0//EN' 'http://java.sun.com/dtd/ejb-jar_2_0.dtd'>
<ejb-jar>
<display-name>SvcOwnerShipmentSubscriberMDB</display-name>
<enterprise-beans>
<message-driven>
<display-name>SvcOwnerShipmentSubscriberMDB</display-name>
<ejb-name>SvcOwnerShipmentSubscriberMDB</ejb-name>
<ejb-class>com.svcclient.ejb.svcownershipment.SvcOwnerShipmentSubscriberMDB</ejb-class>
<transaction-type>Container</transaction-type>
<message-driven-destination>
<destination-type>javax.jms.Topic</destination-type>
<subscription-durability>NonDurable</subscription-durability>
</message-driven-destination>
</message-driven>
</enterprise-beans>
<assembly-descriptor>
<container-transaction>
<method>
<ejb-name>SvcOwnerShipmentSubscriberMDB</ejb-name>
<method-name>onMessage</method-name>
<method-params>
<method-param>javax.jms.Message</method-param>
</method-params>
</method>
<trans-attribute>NotSupported</trans-attribute>
</container-transaction>
</assembly-descriptor>
</ejb-jar>
==============================================================
9> The /project/ejbbuild/META-INF directory needs a weblogic-ejb-jar.xml file.
==============================================================
<?xml version="1.0"?>
<!DOCTYPE weblogic-ejb-jar PUBLIC "-//BEA Systems, Inc.//DTD WebLogic 6.0.0 EJB//EN" "http://www.bea.com/servers/wls600/dtd/weblogic-ejb-jar.dtd">
<weblogic-ejb-jar>
<weblogic-enterprise-bean>
<ejb-name>SvcOwnerShipmentSubscriberMDB</ejb-name>
<message-driven-descriptor>
<pool>
<max-beans-in-free-pool>5</max-beans-in-free-pool>
<initial-beans-in-free-pool>1</initial-beans-in-free-pool>
</pool>
<!-- JNDI Name of the Topic that the SvcOwnerShipmentSubscriberMDB listens for messages on -->
<destination-jndi-name>jms.svcownerShipmentsTopic</destination-jndi-name>
</message-driven-descriptor>
</weblogic-enterprise-bean>
</weblogic-ejb-jar>
==============================================================
10> The /project/wssource directory needs a dataexchange.wsdl file. This is the WSDL describing the web service
we want to connect to with our client.
==============================================================
<?xml version="1.0" encoding="utf-8"?>
<wsdl:definitions
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
xmlns:tm="http://microsoft.com/wsdl/mime/textMatching/"
xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/"
xmlns:tns="https://www.svcowner.com/mfg/DataExchange/"
xmlns:s="http://www.w3.org/2001/XMLSchema"
xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/"
xmlns:http="http://schemas.xmlsoap.org/wsdl/http/"
targetNamespace="https://www.svcowner.com/mfg/DataExchange/"
xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
name="">
<wsdl:types>
<s:schema elementFormDefault="qualified"
targetNamespace="https://www.svcowner.com/mfg/DataExchange/">
<s:element name="exchangeData">
<s:complexType>
<s:sequence>
<s:element minOccurs="0" maxOccurs="1" name="sender" type="s:string" />
<s:element minOccurs="0" maxOccurs="1" name="password" type="s:string" />
<s:element minOccurs="0" maxOccurs="1" name="transactionType" type="s:string" />
<s:element minOccurs="0" maxOccurs="1" name="data" type="s:string" />
</s:sequence>
</s:complexType>
</s:element>
<s:element name="exchangeDataResponse">
<s:complexType>
<s:sequence>
<s:element minOccurs="0" maxOccurs="1" name="exchangeDataResult" type="s:string" />
</s:sequence>
</s:complexType>
</s:element>
</s:schema>
</wsdl:types>
<wsdl:message name="exchangeDataSoapIn">
<wsdl:part name="parameters" element="tns:exchangeData" />
</wsdl:message>
<wsdl:message name="exchangeDataSoapOut">
<wsdl:part name="parameters" element="tns:exchangeDataResponse" />
</wsdl:message>
<wsdl:portType name="DataExchangerSoap">
<wsdl:operation name="exchangeData">
<wsdl:input message="tns:exchangeDataSoapIn" />
<wsdl:output message="tns:exchangeDataSoapOut" />
</wsdl:operation>
</wsdl:portType>
<wsdl:binding name="DataExchangerSoap" type="tns:DataExchangerSoap">
<soap:binding transport="http://schemas.xmlsoap.org/soap/http" />
<wsdl:operation name="exchangeData">
<soap:operation soapAction="https://www.svcowner.com/mfg/DataExchange/exchangeData"
style="document" />
<wsdl:input>
<soap:body use="literal" />
</wsdl:input>
<wsdl:output>
<soap:body use="literal" />
</wsdl:output>
</wsdl:operation>
</wsdl:binding>
<wsdl:service name="DataExchanger">
<wsdl:port name="DataExchangerSoap" binding="tns:DataExchangerSoap">
<soap:address location="https://svc.svcowner.com/mfg/dataexchange.php" />
</wsdl:port>
</wsdl:service>
</wsdl:definitions>
==============================================================
10> The /project/wssource directory needs a websvc_config.xml file. This file tells wscompile where
to find the WSDL file and the package name for the generated classes.
==============================================================
<?xml version="1.0" encoding="UTF-8"?>
<configuration xmlns="http://java.sun.com/xml/ns/jax-rpc/ri/config">
<wsdl location="wssource/dataexchange.wsdl" packageName="com.svcclient.websvc.svcowner"/>
</configuration>
==============================================================
11> The /project/wssource directory needs a create.bat file. This just sets up the environment
and calls the wscompile batch file in the JWSDP. I had to tweak the wscompile.bat file to match
my environment as well.
==============================================================
SETLOCAL
SET WSDP=C:\apps\jwsdp-1.3\
SET ANT_HOME=%WSDP%;apache-ant
SET PATH=%ANT_HOME%\bin;%WSDP%jaxrpc\bin;%PATH%
SET JAVA_HOME=c:\apps\weblogic810\jrockit81sp2_141_05
call wscompile -gen:client -s ./wssource -keep -g -d ejbbuild wssource/websvc_config.xml
==============================================================
12> The /project directory needs a build.bat file. Just a way for me to make sure my
environment is set up right before doing the build.
==============================================================
SETLOCAL
SET ANT_HOME=c:\apps\jakarta-ant-1.4.1
SET PATH=%ANT_HOME%\bin;%PATH%
SET JAVA_HOME=c:\apps\weblogic810\jrockit81sp2_141_05
call ant -buildfile build.xml %1 %2 %3 %4 %5 %6 %7 %8 %9
==============================================================
13> You need to copy the following jar files from the JWSDP into a location they can be used by the
app server during run time and also for the build process. In my set up this is c:\b2b80\lib. Note that
these are pointed to by the file in step 4.
c:\apps\jwsdp-1.3\jaxrpc\lib\jaxrpc-api.jar
c:\apps\jwsdp-1.3\jaxrpc\lib\jaxrpc-impl.jar
c:\apps\jwsdp-1.3\jaxrpc\lib\jaxrpc-spi.jar
c:\apps\jwsdp-1.3\saaj\lib\saaj-api.jar
c:\apps\jwsdp-1.3\saaj\lib\saaj-impl.jar
14> You must make sure that the jar file in step 13 are at the front of the classpath for the
weblogic server. WL comes with classes that conflict with these jars.
15> I also had to add the root ssl certificate from the partners certificate authority to the java keystore
using the keytool because this service uses SSL:
C:\apps\weblogic810\jrockit81sp2_141_05\jre\bin>keytool -import -keystore ..\lib\security\cacerts -alias svcownerroot -keypass password -file c:\temp\svcownerroot.cer
==============================================================
So the idea is this, you run the /project/build.bat file from within the /project directory. This
calls ant which uses the build.xml file to create everything and copy the EAR to the weblogic deployment
directory. The default ant target is buildall.
The cmdline_wscompile target runs the /project/wssource/create.bat file which in turn runs the wscompile.bat
file from the jwsdp. This causes the dataexchange.wsdl file to processed and the client files to be generated.
The generated java files go into the /project/wssource directory. The generated class files go into the
/project/ejbbuild directory. They need to be there so the MDB can use them.
Next the compileejb ant target compiles the MDB java file and places the resulting class file into the
/project/ejbbuild directory.
Next the buildejbjar ant target takes everything in the /project/ejbbuild directory and creates the ejb jar
file that will be included in the EAR. This file is placed in the /project/earbuild directory.
Finally the buildear ant target takes everything in the /project/ejbbuild directory and produces the EAR
file for deployment. The EAR file is placed in the /project directory.
The deploy task simply copies the EAR file into the weblogic domain applications directory.It's really the web service that determines what kind of authentication is required. You can't just use any old strategy. If the web service isn't expecting it in that form, it won't work. Typically, either HTTP BASIC Auth or WS-Security is used. You'd have to contact the people responsible for the web service to know what kind of auth it requires.
-
UV-SO when partitioned and deployed
Hi there,
I have a question related to User-Visible Service
Object(UV-SO) when partitioned and deployed.
According to TechNote 9674:Service Object Visibility,
"if a partition only contains UV-SOs, there will be
one of these partitions per user". This means, if a
partition only contains a UV-SO, this UV-SO is reachable
outside its partition.
I did some tests. I let an EV-SO call a UV-SO. When I
ran it in partition workshop(EV-SO and UV-SO are in
separate server partitions), I got exception raised
complaining "Cannot resolve the distributed reference
for the UV-SO". Then I deployed this project with the
same partition configuration, and it works without any
error. It looks like there is difference between
partitioning and deploying. What the TechNote(9674)
mentions is correct for deployment, but not for
partition workshop.
Does anybody have any idea about this?It would appear that the error has now been corrected. There were three things I changed: the startup.aliases file in the startup directory on the target (home:/lvuser/natinst/bin) had "localhost" set as the alias for the controller. I changed this to the controller's IP address. Next, I had some file I/O functions in my RT application which used paths relative to the path obtained with the "Current VI's Path" VI. As this path changes depending on location / execution system, I had to create a VI which used the Application:Kind property with a case structure to appropriately strip / build the desired data file paths regardless of execution system. This may have broken my RT application. Finally, I had a property node in one of my RT SubVIs which attempted to modify an indicator in the SubVI, which is not supported in a compiled RT executable. I may have done this for debugging purposes somewhere along the way, but in any case, I removed it, and after recompiling and deploying the RT executable, everything seems to be working as intended now. The host VI on the desktop computer can connect to the RT application through the project, and when compiled into an executable, that works too.
-
Oracle Identity Manager - automated builds and deployment/Best practice
Is there a best practice as for directory structure for repository in version control system?
Do you recommend to keep the whole xellerate folder + separate structure for xml files and java code? (Considering fact that multiple upgrades can occur over the time)
How custom code is merged to the main application?
How deployment to Weblogic application server occur? (Do you create your own script or there is an out of the box script that can be reused)
I would appreciate any guidance regarding this matter.
Thank you for your help.Hi,
You can use any IDE (Eclipse, Netbeans) for development.
For, Getting started with OIM API's using Eclipse, please follow these steps
1. Creating the working folder structure
2. Adding the jar/configuration files needed
3. Creating a java project in Eclipse
4. Writing a sample java class that will call the API's
5. Debugging the code with Eclipse debugger
6. API Reference
1. Creating the working folder structure
The following structure must be created in the home directory of your project (Separate project home for each project):
<PROJECT_HOME>
\ bin
\ config
\ ext
\ lib
\ log
\ src
The folders will store:
src - source code of your project
bin - compiled code of your project
config - configuration files for the API and any of your custom configuration files
ext - external libraries (3'rd party)
lib - OIM API libraries
log - local logging folder
2. Adding the jar/configuration files needed
The easiest way to perform this task is to copy all the files from the OIM Design Console
folders respectively in the <PROJECT_HOME> folders.
That is:
<XEL_DESIGN_CONSOLE_HOME>/config -> <PROJECT_HOME>/config
<XEL_DESIGN_CONSOLE_HOME>/ext -> <PROJECT_HOME>/ext
<XEL_DESIGN_CONSOLE_HOME>/lib -> <PROJECT_HOME>/lib
3. Creating a java project in Eclipse
+ Start Eclipse platform
+ Select File->New->Project from the menu on top
+ Select Java Project and click Next
+ Type in a project name (For example OIM_API_TEST)
+ In the Contents panel select "Create project from existing source",
click Browse and select your <PROJECT_HOME> folder
+ Click Finish to exit the wizard
At this point the project is created and you should be able to browse
trough it in Package Explorer.
Setting src in the build path:
+ In Package Explorer right click on project name and select Properties
+ Select Java Build Path in the left and Source tab in the right
+ Click Add Folder and select your src folder
+ Click OK
4. Writing a sample Java class that will call the API's
+ In Package Explorer, right click on src and select New->Class.
+ Type the name of the class as FirstAPITest
+ Click Finish
Put the following sample code in the class:
import java.util.Hashtable;
import com.thortech.xl.util.config.ConfigurationClient;
import Thor.API.tcResultSet;
import Thor.API.tcUtilityFactory;
import Thor.API.Operations.tcUserOperationsIntf;
public class FirstAPITest {
public static void main(String[] args) {
try{
System.out.println("Startup...");
System.out.println("Getting configuration...");
ConfigurationClient.ComplexSetting config =
ConfigurationClient.getComplexSettingByPath("Discovery.CoreServer");
System.out.println("Login...");
Hashtable env = config.getAllSettings();
tcUtilityFactory ioUtilityFactory = new tcUtilityFactory(env,"xelsysadm","welcome1");
System.out.println("Getting utility interfaces...");
tcUserOperationsIntf moUserUtility =
(tcUserOperationsIntf)ioUtilityFactory.getUtility("Thor.API.Operations.tcUserOperationsIntf");
Hashtable mhSearchCriteria = new Hashtable();
mhSearchCriteria.put("Users.First Name", "System");
tcResultSet moResultSet = moUserUtility.findUsers(mhSearchCriteria);
for (int i=0; i<moResultSet.getRowCount(); i++){
moResultSet.goToRow(i);
System.out.println(moResultSet.getStringValue("Users.Key"));
System.out.println("Done");
}catch (Exception e){
e.printStackTrace();
Replace the "welcome1" with your own password.
+ save the class
To run the example class perform the following steps:
+ Click in the menu on top Run, and run "Create, Manage, and run Configurations" wizard. (In the menu, this can be either "run..." or "Open Run Dialog...", depending on the version of Eclipse used).
+ Right click on Java Application and select New
+ Click on arguments tab
+ Paste the following in VM arguments box:
-Djava.security.manager -DXL.HomeDir=.
-Djava.security.policy=config\xl.policy
-Djava.security.auth.login.config=config\authwl.conf
-DXL.ClientClassName=%CLIENT_CLASS%
(please replace the URL, in ./config/xlconfig.xml, to your application server if not running on localhost or not using the default port)
+ Click Apply
+ Click Run
At this point your class is executed. If everything is correct, you will see the following output in the Eclipse console:
Startup...
Getting configuration...
Login...
log4j:WARN No appenders could be found for logger (com.opensymphony.oscache.base.Config).
log4j:WARN Please initialize the log4j system properly.
Getting utility interfaces...
1
Done
Regards,
Sunny Ajmera -
Need ant script to compile, package, and deploy to Oracle AS 10.3.1
I have a test app with ADF faces/jsf for front-end and EJB 3.0 Session Facade/Entity beans for back-end. The project structure/layout is similar to the SRDEMO app in JDeveloper. I was able to compile, package, and deploy within JDeveloper 10g to Oracle AS 10g successfully. Is there a sample ant script to compile, package, and deploy to Oracle AS 10g that I can run from command line? The build.xml that came with SRDEMO only do the compilation, not packaging and deployment. I was able to modify the SRDEMO's build.xml to compile my test app though. I still need the script to package and deploy it.
Thanks,Hi,
How are you referring to the class path. I have created my custom build file and I refer like this.
<path id="classpath">
<pathelement location="${oracle.home}/lib/aia.jar"/>
<pathelement location="${oracle.common.home}/modules/org.apache.commons.logging_1.0.4.jar"/>
</path> oracle.home is the location where my aia.jar resides.
In the compile-classes target I have
<!--Target for Class path details -->
<target name="compile-classes">
<mkdir dir="${sca-inf.classes.dir}"/>
<javac destdir="${sca-inf.classes.dir}" classpathref="classpath"
debug="on" nowarn="${javac.nowarn}"
deprecation="${javac.deprecation}" encoding="Cp1252"
source="1.6" target="1.6">
<src path="${src.dir}"/>
</javac>
</target> Regards,
Neeraj Sehgal
Maybe you are looking for
-
How do I delete/forward portions of text messages in ios7?
How do I delete/forward portions of text messages in ios7
-
Submit / Approve / Reject Infopath Forms from within Outlook Email
Hi, I have a requirement where I am building workflows for a client in SP2013. I am using Infopath and Nintex. The client has a specific requirement that all end-user actions need to be handled from within the outlook email body context i.e. the Inf
-
Hi Experts, iam wrking on an upgradation from 4.7E to ECC6.0, my task is to check the upgraded transports and compare the objects in DEV and QAS (quality) systems using the tranport number, i have a plan to check every transport no in SE01( transpo
-
Say my root is set like this: root = new File(System.getProperty("user.home")+ "\\Mijn documenten\\Tekstbestanden"); The tree now shows: C:\Documents and Settings\Administrator\Mijn documenten\Tekstbestanden This line is way too long in size for my j
-
Exporting Sound Sync issue.
Hi Guys. I have a problem thats been driving me absolutely crazy all day and I really hope I can get help here. Basically a few months ago I was working on a project on final cut express. This week I had to re-open the project and make some small ame