Author |
Message |
|
|
rangari
Joined: Jun 18, 2015
Messages: 132
Offline
|
Hello All,
I want to create a simple dynamic task. For this,I have install Avaya-Breeze-SDK-3.2 also installed Maven.
After installing above two, I have downloaded the Avaya Engagement Designer Sdk(Avaya-ED-SDK-3.3) and installed it using below steps:
1. Unzip the SDK to a directory or folder, for example, Avaya-ED-SDK.
2. Navigate to the SDK directory.
3. For Linux or Mac OS, run bash install.sh. For Windows, run install.bat.
After that, for Creating the scaffolding
1. I just Navigate to the directory where I want to create dynamic task.
2. Run the following command: mvn archetype:generate -DarchetypeCatalog=local
After running command: mvn archetype:generate -DarchetypeCatalog=local the next step in document is:
1. Choose the archetype, by selecting local->com.avaya.workflow.sdk:task-archetype (Engagement Designer Task Archetype).
Now here I am facing the problem. From where I can select archetype. I also check my workspace of dynamic task.I am not able to find anything.
After running command: mvn archetype:generate -DarchetypeCatalog=loca, In command prompt it is asking me to choose a number (i.e. Choose a number or apply filter (format: [groupId:]artifactId, case sensitive co
ntains): :).
Please help me on this step.
Thanks in advance.
|
|
|
|
|
AnuragAggarwal
Joined: Jun 1, 2014
Messages: 154
Offline
|
when you run
mvn archetype:generate -DarchetypeCatalog=local
it should give you list from which to make your choice
one of the elements in the list should be related to tasks
pick that number
|
|
|
|
|
rangari
Joined: Jun 18, 2015
Messages: 132
Offline
|
From where I find that list. It is in the command prompt itself after running mvn archetype:generate -DarchetypeCatalog=local
Or is there in some other folder?
Please find the attached screenshot of Command prompt after running mvn archetype:generate -DarchetypeCatalog=local
Thanks
|
|
|
|
|
Eli_member
Joined: Jan 11, 2017
Messages: 8
Offline
|
The list is in the command prompt itself.
But apparently, there is an issue in your case: your screenshot shows this message :"Your filter doesn't match any archetype".
Can you try this:
1. Go to your local maven repository folder : C:\Users\<username>\.m2
2. You should see there a file named archetype-catalog.xml.
3. Copy the file archetype-catalog.xml to C:\Users\<username>\.m2\repository
4. Try the command again
Note: If you don't see archetype-catalog.xml file under C:\Users\<username>\.m2,
1. Go to C:\Users\<username>\.m2\repository
2. You should see a file named archetype-catalog.xml.
3. Copy the file archetype-catalog.xml to C:\Users\<username>\.m2
4. Try the command again
Thanks.
|
|
|
|
|
rangari
Joined: Jun 18, 2015
Messages: 132
Offline
|
Thanks Eli for replying.
I will follow the steps that you suggested and let you know my results.
Thanks
|
|
|
|
|
rangari
Joined: Jun 18, 2015
Messages: 132
Offline
|
Hello,
I have tried following steps:
1. Go to your local maven repository folder : C:\Users\<username>\.m2
2. You should see there a file named archetype-catalog.xml.
3. Copy the file archetype-catalog.xml to C:\Users\<username>\.m2\repository
4. Try the command again
I have successfully created dynamic task. After that when I Install my SampleTask-1.0.0.0.0.svar file on System manager, I am getting error 'Failed to Deploy'.
Followings are m configuration:
Avaya breeze Sdk version: Avaya-Breeze-SDK-3.1.1.1.311103
Avaya ED Sdk version : Avaya-ED-SDK-3.3.0.0.25045
Avaya Engagement Designer version : 3.3.0.0.25042
Java Version : 1.7.0_80
Please Suggest me what I need to do now.
Thanks
|
|
|
|
|
Eli_member
Joined: Jan 11, 2017
Messages: 8
Offline
|
Your SampleTask-1.0.0.0.0.svar file needs to be installed on the ED Admin Console (not on System Manager) under the "Bundles" tab: upload the SampleTask-1.0.0.0.0.svar file , then deploy it. After that, go to the ED Designer page (refresh it if it was already open) and you will see your dynamic task in the palette.
|
|
|
|
|
rangari
Joined: Jun 18, 2015
Messages: 132
Offline
|
Your SampleTask-1.0.0.0.0.svar file needs to be installed on the ED Admin Console (not on System Manager) under the "Bundles" tab: upload the SampleTask-1.0.0.0.0.svar file , then deploy it. After that, go to the ED Designer page (refresh it if it was already open) and you will see your dynamic task in the palette.
Hi Eli,
I have installed my SampleTask-1.0.0.0.0.svar file on the ED Admin Console (not on System Manager) under the "Bundles" tab. After that I have deployed it. But unfortunately I am not able to see my dynamic task in the palette. After deploying task I have also refreshed my ED Designer page but no luck. Is there, I need to reboot my cluster server.
Please suggest me on this issue.
Thanks
|
|
|
|
|
Eli_member
Joined: Jan 11, 2017
Messages: 8
Offline
|
Could you please get us the ED logs of the deployment of your task?
ssh to the Breeze server and type: ce dlogon FINE EngagementDesigner
In ED Admin Console, under Bundles tab:
- check your task and click undeloy
- check your task and click deploy
In ssh terminal
- type ce dlogoff EngagementDesigner
- go to /var/log/Avaya/services/EngagementDesigner/
- send us the file EngagementDesigner.log
Thanks.
|
|
|
|
|
rangari
Joined: Jun 18, 2015
Messages: 132
Offline
|
When I am trying to undeploye task it gives me 'internal server error'.
Suggest me on this.
Thanks
|
|
|
|
|
Eli_member
Joined: Jan 11, 2017
Messages: 8
Offline
|
Can you send the EngagementDesigner.log file so we can check why the undeploy is failing?
Also, which version of Breeze are you running? (you can run the command: swversion in an ssh terminal on Breeze to find out)
|
|
|
|
|
rangari
Joined: Jun 18, 2015
Messages: 132
Offline
|
I am using 3.3.1.1.331108 version of Breeze
|
|
|
|
|
Eli_member
Joined: Jan 11, 2017
Messages: 8
Offline
|
OK, that is good.
Did you attach the log? I can't see it.
|
|
|
|
|
rangari
Joined: Jun 18, 2015
Messages: 132
Offline
|
I have checked the logs inside system manager log viewer. There I am getting following error:
Error: Input/Output Error in SocketManager Socket Stream -FAIL
|
|
|
|
|
Eli_member
Joined: Jan 11, 2017
Messages: 8
Offline
|
The logs should contain more details, usually with a stack trace of the error/exception.
The line you mentioned doesn't have enough details to conclude what happened.
|
|
|