users@glassfish.java.net

Re: problems while deployment in case of two domains

From: shreyasd <shreyas.deshpande_at_gmail.com>
Date: Fri, 16 Apr 2010 03:48:26 -0700 (PDT)

hi

i am doing same thing but i was not using admin console asadmin.bat for
deployment.

i am doing it either by web console. or autodeployment folder.

also first one is deployed successfully.

but while deploying second one when first is deployed causes a problem.


thanks for your efforts

shreyas




alexismp wrote:
>
> I couldn't reproduce with the following steps :
>
> - install GFv3 using
> http://download.java.net/glassfish/v3/release/glassfish-v3.zip
> - asadmin create-domain --portbase 9000 domain2
> - asadmin start-domain domain1
> - asadmin start-domain domain2
> - asadmin --port 4848 deploy clusterjsp.ear
> - asadmin --port 9048 deploy clusterjsp.ear
>
> Are you doing something differently?
> What does you app look like?
>
> -Alexis
>
> On 16 avr. 2010, at 06:27, shreyasd wrote:
>
>>
>> hi
>>
>>
>>
>> yes i have distinct port ts for admins of both domains.
>>
>> fisrst domain domain1 : - 4848
>>
>> second domain domain2 :9048 (portbase 9000)
>>
>> i created domain using create domain command on asadmin.
>>
>>
>> thanks for reply
>>
>> shreyas
>>
>>
>>
>>
>> alexismp wrote:
>>>
>>> do you domains have distinct ports for admin?
>>> how did you create domain2?
>>> -Alexis
>>>
>>> On 15 avr. 2010, at 13:27, shreyasd wrote:
>>>
>>>>
>>>> hi
>>>>
>>>> i have created two domains in glassfish v3. domain 1 and domain2.
>>>>
>>>> i am deploying same ear to two different domains.
>>>>
>>>> but while deploying i get a error java:lang:interrupted exception.
>>>> transaction failure.
>>>>
>>>> if i stop other domain (domain1) and then deploy on domain2 then
>>>> deployment
>>>> is done successfully.
>>>>
>>>> so i need to stop other domain deploy and then start domain again.
>>>>
>>>> is it somehing related two same application name i am using in both
>>>> domains.
>>>>
>>>> are transactions somehow related to ear name ?
>>>>
>>>> please reply.
>>>>
>>>> this is also case in case if two applications are deployed on one
>>>> domain
>>>> --
>>>> View this message in context:
>>>> http://old.nabble.com/problems-while-deployment-in-case-of-two-domains-tp28254064p28254064.html
>>>> Sent from the java.net - glassfish users mailing list archive at
>>>> Nabble.com.
>>>>
>>>>
>>>> ---------------------------------------------------------------------
>>>> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
>>>> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>>>>
>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
>>> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>>>
>>>
>>>
>>
>> --
>> View this message in context:
>> http://old.nabble.com/problems-while-deployment-in-case-of-two-domains-tp28254064p28263033.html
>> Sent from the java.net - glassfish users mailing list archive at
>> Nabble.com.
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
>> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>
>
>

-- 
View this message in context: http://old.nabble.com/problems-while-deployment-in-case-of-two-domains-tp28254064p28265430.html
Sent from the java.net - glassfish users mailing list archive at Nabble.com.