At the startup all seems normal, i attach the log showed when I made the last "wso2server.sh -Dsetup"
De: [email protected] [mailto:[email protected]] En nombre de Nuwan Bandara Enviado el: jueves, 12 de agosto de 2010 17:48 Para: [email protected] Asunto: Re: [Carbon-dev] Status Error 500 No it doesnt seems to be normal. Gadget server populates gadgets when the server starts up, So in your case if there were errors at startup, that could result this issue. Regards /Nuwan On Thu, Aug 12, 2010 at 9:06 PM, Daniel Callejas Albalate <[email protected]> wrote: We have clean the cache and tested in 3 different browser with the same results. Additionally I have launched this query manually and returns 0 rows, it's normal? SELECT R.REG_NAME, R.REG_PATH_ID FROM REG_RESOURCE R, REG_PROPERTY P, REG_RESOURCE_PROPERTY RP, REG_PATH PA WHERE R.REG_VERSION=RP.REG_VERSION AND P.REG_NAME='unsignedUserGadget' AND P.REG_VALUE='true' AND P.REG_ID=RP.REG_PROPERTY_ID AND PA.REG_PATH_ID=R.REG_PATH_ID De: [email protected] [mailto:[email protected]] En nombre de Nuwan Bandara Enviado el: jueves, 12 de agosto de 2010 17:36 Para: [email protected] Asunto: Re: [Carbon-dev] Status Error 500 Hi, Seems the anonimous data are corrupted, can you clean the cookies and refresh the portal and check. Regards /Nuwan On Thu, Aug 12, 2010 at 7:49 PM, Daniel Callejas Albalate <[email protected]> wrote: The only error a could see is a JavaScript error in that function gadgetserver.showExtraGadgets = function() { var checkGroup = document.newGadgetForm.checkgroup; if (checkGroup.length > 0) { jQuery("#newGadgetsPane").show("slow"); } }; The error is that Error: checkGroup is undefined And the line: if (checkGroup.length > 0) { But seems a error retrieving data from the db, or at least it seems to me, but in the logs there aren't any error. De: [email protected] [mailto:[email protected]] En nombre de Daniel Callejas Albalate Enviado el: jueves, 12 de agosto de 2010 15:37 Para: [email protected] Asunto: Re: [Carbon-dev] Status Error 500 Thanks for the help! Now is working almost perfectly. The last thing that remains is, the default gadgets aren't visible and only the gadgets added by the user can be viewed and the anonymous users can't add gadgets the button to add gadgets doesn't respond. Any idea? Thanks, Daniel Callejas De: [email protected] [mailto:[email protected]] En nombre de Senaka Fernando Enviado el: jueves, 12 de agosto de 2010 10:31 Para: [email protected] Asunto: Re: [Carbon-dev] Status Error 500 On Thu, Aug 12, 2010 at 11:42 AM, Tyrell Perera <[email protected]> wrote: On Wed, Aug 11, 2010 at 6:11 PM, Daniel Callejas Albalate <[email protected]> wrote: Well, we have a partial workaround. With one server in R/W mode and the other on Read Only, the Read only server doesn't generate more error. With that in mind we mount a third server. Now two are in Read only mode, which act as front-end, and the last one are in R/W mode an isn't accessible from outside and his only work is to update the DB. Now the two front-end server doesn't generate more 500 errors, but now we have another issue, if we log in one of the front-end server and create a new tab or add a gadget this changes doesn't persist only if we make the changes on the R/W server the changes are available on the other server. There are some issue with the replication of this elements? This is because of the read-only nodes. You can't use GS nodes with read only, they all have to be R/W. You might be able to fix the concurrent modification issue by disabling registry versioning. Yep. It seems that all nodes in GS needs to be R/W. To disable versioning in Registry, you will have to yet again modify the registry.xml of each node. More information can be found at [1]. Please note that you will need to start with a fresh database after versioning has been disabled. Regarding the clustering scenario, I believe that future versions of GS, might need to have the possibility of starting against a read-only config node. [1] http://wso2.org/library/tutorials/learning-registry-xml Thanks, Senaka. Tyrell Thanks! _______________________________________________ Carbon-dev mailing list [email protected] https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev -- Nuwan Bandara WSO2 Inc. | http://wso2.com lean . enterprise . middleware http://www.nuwanbando.com _______________________________________________ Carbon-dev mailing list [email protected] https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev -- Nuwan Bandara WSO2 Inc. | http://wso2.com lean . enterprise . middleware http://www.nuwanbando.com
[2010-08-12 15:56:12,781] INFO - Setting up the system...
[2010-08-12 15:56:12,783] INFO - Initializing system...
[2010-08-12 15:56:19,601] INFO - Starting WSO2 Carbon...
[2010-08-12 15:56:19,602] INFO - Operating System : Linux 2.6.32-305-ec2, i386
[2010-08-12 15:56:19,602] INFO - Java Home : /usr/java/jre1.6.0_20
[2010-08-12 15:56:19,602] INFO - Java Version : 1.6.0_20
[2010-08-12 15:56:19,602] INFO - Java VM : Java HotSpot(TM) Server
VM 16.3-b01,Sun Microsystems Inc.
[2010-08-12 15:56:19,602] INFO - Carbon Home : /opt/wso2gs-1.1.0
[2010-08-12 15:56:19,602] INFO - Java Temp Dir : /opt/wso2gs-1.1.0/tmp
[2010-08-12 15:56:19,603] INFO - User : root, en-GB, Etc/UTC
[2010-08-12 15:56:25,482] INFO - Registry Mode : READ-WRITE
[2010-08-12 15:56:28,351] INFO - Successfully populated the default Gadget
Repository.
[2010-08-12 15:56:28,871] INFO - Successfully added default Gadgets to
Registry.
[2010-08-12 15:56:32,481] INFO - Starting Carbon initialization...
[2010-08-12 15:56:32,822] INFO - Clustering has been enabled
[2010-08-12 15:56:32,829] INFO - Running in application mode
[2010-08-12 15:56:32,830] INFO - Clustering configuration management has been
enabled
[2010-08-12 15:56:32,835] INFO - Clustering state management has been enabled
[2010-08-12 15:56:34,092] INFO - Deploying Axis2 module : wso2mex-3.0
[2010-08-12 15:56:34,209] INFO - Deploying Axis2 module : rampart-1.50-wso2v1
[2010-08-12 15:56:34,331] INFO - Deploying Axis2 module : sandesha2-3.0
[2010-08-12 15:56:34,634] INFO - Deploying Axis2 module : wso2caching-3.0
[2010-08-12 15:56:34,923] INFO - Deploying Axis2 module : wso2xfer-3.0
[2010-08-12 15:56:35,022] INFO - Deploying Axis2 module : rahas-1.50-wso2v1
[2010-08-12 15:56:35,116] INFO - Deploying Axis2 module : savan-1.10-wso2v1
[2010-08-12 15:56:35,301] INFO - Deploying Axis2 module : wso2throttle-3.0
[2010-08-12 15:56:35,555] INFO - Deploying Axis2 module :
addressing-1.6-wso2v1
[2010-08-12 15:56:40,950] INFO - Deploying Axis2 service : wso2carbon-sts
[2010-08-12 15:56:42,525] INFO - Deploying Axis2 service : XKMS
[2010-08-12 15:56:44,729] INFO - Repository :
/opt/wso2gs-1.1.0/repository/deployment/server/
[2010-08-12 15:56:46,734] INFO - HTTPS port : 8443
[2010-08-12 15:56:46,734] INFO - HTTP port : 8080
[2010-08-12 15:56:46,735] INFO - Initializing cluster...
[2010-08-12 15:56:46,736] DEBUG - Added RequestBlockingHandler between
SOAPMessageBodyBasedDispatcher & InstanceDispatcher to InFlow
[2010-08-12 15:56:46,736] DEBUG - Added RequestBlockingHandler between
SOAPMessageBodyBasedDispatcher & InstanceDispatcher to InFaultFlow
[2010-08-12 15:56:46,775] INFO - Cluster domain: xx.xxx.xxx
[2010-08-12 15:56:46,777] DEBUG - Created RPC Channel for domain xx.xxx.xxx
[2010-08-12 15:56:46,778] INFO - Using wka based membership management scheme
[2010-08-12 15:56:46,779] DEBUG - Adding Interceptors...
[2010-08-12 15:56:46,780] DEBUG - Added TCP Ping Interceptor
[2010-08-12 15:56:46,782] DEBUG - Added TCP Failure Detector
[2010-08-12 15:56:46,783] DEBUG - Added Static Membership Interceptor
[2010-08-12 15:56:46,783] DEBUG - Added Domain Filter Interceptor
[2010-08-12 15:56:46,784] DEBUG - Added At-most-once Interceptor
[2010-08-12 15:56:46,787] DEBUG - Added Message Order Interceptor
[2010-08-12 15:56:46,792] INFO - Receiver Server Socket bound
to:xxxxxxxxxxxxxxxxxxxxxx/xxxxxxxxxxx:4000
[2010-08-12 15:56:46,903] DEBUG - members.contains(member) =false
[2010-08-12 15:56:46,904] DEBUG - Is in my domain: true
[2010-08-12 15:56:46,904] DEBUG - Added static member
xxx.xxx.xxx.xxx:4000(xx.xxx.xxx)
[2010-08-12 15:56:46,904] DEBUG - Added group member
xxx.xxx.xxx.xxx:4000(xx.xxx.xxx) to domain xx.xxx.xxx
[2010-08-12 15:56:46,905] INFO - Added static member
xxx.xxx.xxx.xxx:4000(xx.xxx.xxx)
[2010-08-12 15:56:46,942] DEBUG - members.contains(member) =true
[2010-08-12 15:56:46,943] DEBUG - Is in my domain: true
[2010-08-12 15:56:46,944] INFO - Local Member xxx.xxx.xxx.xxx:4000(xx.xxx.xxx)
[2010-08-12 15:56:46,944] INFO - Members of current cluster
[2010-08-12 15:56:46,944] INFO - Member1 xxx.xxx.xxx.xxx:4000(xx.xxx.xxx)
[2010-08-12 15:56:46,945] DEBUG - Created primary membership channel xx.xxx.xxx
[2010-08-12 15:56:46,945] INFO - Sending JOIN message to WKA members...
[2010-08-12 15:56:46,982] DEBUG - Membership request received by
RpcMembershipRequestHandler for domain xx.xxx.xxx
[2010-08-12 15:56:46,982] DEBUG - Membership request received by
RpcMembershipRequestHandler for domain xx.xxx.xxx
[2010-08-12 15:56:46,985] DEBUG - local domain: xx.xxx.xxx
[2010-08-12 15:56:46,984] DEBUG - local domain: xx.xxx.xxx
[2010-08-12 15:56:46,986] INFO - Received MEMBER_LIST message from
xxx.xxx.xxx.xxx:4000(xx.xxx.xxx)
[2010-08-12 15:56:46,986] DEBUG - MembershipManager#domain: xx.xxx.xxx
[2010-08-12 15:56:46,986] INFO - Trying to add member
xxx.xxx.xxx.xxx:4000(xx.xxx.xxx)...
[2010-08-12 15:56:46,986] INFO - Received MEMBER_LIST message from
xxx.xxx.xxx.xxx:4000(xx.xxx.xxx)
[2010-08-12 15:56:46,986] INFO - Added member xxx.xxx.xxx.xxx:4000(xx.xxx.xxx)
[2010-08-12 15:56:46,986] DEBUG - MembershipManager#domain: xx.xxx.xxx
[2010-08-12 15:56:46,987] DEBUG - members.contains(member) =true
[2010-08-12 15:56:46,987] DEBUG - Is in my domain: true
[2010-08-12 15:56:46,987] INFO - Trying to add member
xxx.xxx.xxx.xxx:4000(xx.xxx.xxx)...
[2010-08-12 15:56:46,987] INFO - Added member xxx.xxx.xxx.xxx:4000(xx.xxx.xxx)
[2010-08-12 15:56:46,987] DEBUG - members.contains(member) =true
[2010-08-12 15:56:46,987] DEBUG - Is in my domain: true
[2010-08-12 15:56:46,998] DEBUG - MembershipManager#domain: xx.xxx.xxx
[2010-08-12 15:56:46,998] INFO - Trying to add member
xxx.xxx.xxx.xxx:4000(xx.xxx.xxx)...
[2010-08-12 15:56:46,998] INFO - Trying to add member
xxx.xxx.xxx.xxx:4000(xx.xxx.xxx)...
[2010-08-12 15:56:46,998] INFO - Trying to send intialization request to
xxx.xxx.xxx.xxx:4000(xx.xxx.xxx)
[2010-08-12 15:56:47,001] DEBUG - Membership request received by
RpcMembershipRequestHandler for domain xx.xxx.xxx
[2010-08-12 15:56:47,001] DEBUG - local domain: xx.xxx.xxx
[2010-08-12 15:56:47,001] INFO - Received MEMBER_JOINED message from
xxx.xxx.xxx.xxx:4000(xx.xxx.xxx)
[2010-08-12 15:56:47,001] DEBUG - MemberJoinedCommand:
org.apache.catalina.tribes.membership.MemberImpl[tcp://{10, -27, 58,
4}:4000,{10, -27, 58, 4},4000, alive=1281628607104,id={0 0 0 0 0 0 0 0 0 0 0 0
0 0 0 0 }, payload={35 10 35 84 104 117 32 65 117 ...(231)}, command={},
domain={103 115 46 102 106 101 46 101 100 ...(10)}, ]
[2010-08-12 15:56:47,005] INFO - Received configuration initialization message
[2010-08-12 15:56:47,006] INFO - Trying to send intialization request to
xxx.xxx.xxx.xxx:4000(xx.xxx.xxx)
[2010-08-12 15:56:47,094] INFO - Received state initialization message
[2010-08-12 15:56:47,094] DEBUG - Updating props in
org.apache.axis2.context.configurationcont...@d4c222
[2010-08-12 15:56:47,094] DEBUG - Added prop=tenant.config.contexts, value={}
to context org.apache.axis2.context.configurationcont...@d4c222
[2010-08-12 15:56:47,095] DEBUG - Added prop=NextMsgBeanMap, value={} to
context org.apache.axis2.context.configurationcont...@d4c222
[2010-08-12 15:56:47,095] DEBUG - Added prop=CreateSequenceBeanMap, value={}
to context org.apache.axis2.context.configurationcont...@d4c222
[2010-08-12 15:56:47,095] DEBUG - Added prop=ContainerManaged, value=true to
context org.apache.axis2.context.configurationcont...@d4c222
[2010-08-12 15:56:47,095] DEBUG - Added prop=cacheManager,
value=org.wso2.caching.cachemana...@139ad1b to context
org.apache.axis2.context.configurationcont...@d4c222
[2010-08-12 15:56:47,095] DEBUG - Added prop=UseAsyncOperations, value=true to
context org.apache.axis2.context.configurationcont...@d4c222
[2010-08-12 15:56:47,095] DEBUG - Added prop=RetransmitterBeanMap, value={} to
context org.apache.axis2.context.configurationcont...@d4c222
[2010-08-12 15:56:47,095] DEBUG - Added prop=WORK_DIR,
value=/opt/wso2gs-1.1.0/tmp/work to context
org.apache.axis2.context.configurationcont...@d4c222
[2010-08-12 15:56:47,095] DEBUG - Added prop=StorageMapBeanMap, value={} to
context org.apache.axis2.context.configurationcont...@d4c222
[2010-08-12 15:56:47,095] INFO - Cluster initialization completed.
[2010-08-12 15:56:51,463] INFO - Mgt Console URL :
https://xxxxx.xxx.xxx:8443/carbon/
[2010-08-12 15:56:51,463] INFO - Gadget Server Default Context :
http://xxxxxx.xxx.xxx:8080/portal
[2010-08-12 15:56:51,475] INFO - Started Transport Listener Manager
[2010-08-12 15:56:51,475] INFO - Server : WSO2 Gadget Server-1.1.0
[2010-08-12 15:56:51,475] INFO - WSO2 Carbon started in 37 sec
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________ Carbon-dev mailing list [email protected] https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
