[jboss-user] [Microcontainer] - Re: Install from Annotations

2009-06-24 Thread gurkanerdogdu
Hi; Is there any class responsible for creating BeanMetaData class from annotated bean ? AFAIK, there is a BeanMetaDataBuilder class, but you have to set all of its parameters. Example : @Bean(name=person) class Person(){} BeanMetaData metaData = MetaDataBuilder.parseClass(Person.class);

[jboss-user] [Microcontainer] - Re: configure and start jboss mc

2009-06-24 Thread gurkanerdogdu
cuthbe wrote : All can someone point me in the direction of the documents for configuring and starting jboss mc There are several classes you can look at BasicBootstrap,StandaloneBootstrap, AbstractBootstrap You can use Basic and Standalone using its main methods. View the original post :

[jboss-user] [Microcontainer] - Re: Install from Annotations

2009-06-24 Thread gurkanerdogdu
alesj wrote : You are already using it, see your first post. ;-) | - AnnotationToBeanMetaDataFactory | I am totally lost my way in APIs, SPIs, Plugins :) Thanks; View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4239677#4239677 Reply to the post :

[jboss-user] [Microcontainer] - Re: configure and start jboss mc

2009-06-24 Thread gurkanerdogdu
alesj And the app. server's bootstrap has also been stripped out into separate project: - [url wrote : http://anonsvn.jboss.org/repos/jbossas/projects/bootstrap/trunk/[/url] I think, for JBoss AS, basically it reads the bootstrap.xml file from the *conf/* location and start the magic from

[jboss-user] [Microcontainer] - Install from Annotations

2009-06-23 Thread gurkanerdogdu
Hi; I am trying to install bean into kernel via bean class annotations. I wrote the following code BeanMetaData meta = AnnotationToBeanMetaDataFactory.createBeanMetaData(Person.class); | KernelControllerContext context = getKernel().getController().install(meta); | I am getting exception

[jboss-user] [Microcontainer] - Re: Install from Annotations

2009-06-23 Thread gurkanerdogdu
thanks for answer. But if I do not mind to use -beans.xml, is it required to implement new plugin and register it ? Is there any other way ? Actually my question is that, is there any discovery process/class to discover annotated bean classes without configuring XML at boot time? View the

[jboss-user] [Microcontainer] - Re: Install from Annotations

2009-06-23 Thread gurkanerdogdu
BeanDeployer class gets DeploymentUnit class as an input parameter. I just want is that when there is an empty *-beans.xml file in the standalone project's META-INF folder, its configured kernel collects all of annotated classes from classpath and register them with registry. View the

[jboss-user] [Microcontainer] - Re: Install from Annotations

2009-06-23 Thread gurkanerdogdu
alesj wrote : BeanDeployer != BeanScanningDeployer ;-) Upps, I mean BeanScanningDeployer Thanks; View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4239452#4239452 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4239452

[jboss-user] [Microcontainer] - Implement a New Deployer

2009-06-16 Thread gurkanerdogdu
Hi; I am trying to implement a new deployer for my application but I confused because of MC project having a lots of interfaces, abstract classes, etc. related with deployers. Is there any clean tutorial that explains step by step to write simple deployer? Thanks; --Gurkan View the

[jboss-user] [Microcontainer] - Re: Implement a New Deployer

2009-06-16 Thread gurkanerdogdu
Hey, Thanks a lot for answers, I have just read the aforementioned link. Actually I want to do is that whenever I add jar file with ending .msar to the JBoss deploy directory, my deployer will take the responsibility. So I write a structure deployer that extends AbstractVFSStructureDeployer.

[jboss-user] [Microcontainer] - Re: Implement a New Deployer

2009-06-16 Thread gurkanerdogdu
Thanks Ales. But if there is no structure class, how do I create a meta data attachment? After the structure determineStructure returns true, how MC decides to call which deployer is responsible for? Does it look for the attached meta data class that is set on the Deployer constructor

[jboss-user] [Microcontainer] - Re: Implement a New Deployer

2009-06-16 Thread gurkanerdogdu
Ok. I got it. I add .msar suffix to JARStructure, then implement ParseDeployer and RealDeployer. Now everything works fine :) Thanks; --Gurkan View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4237815#4237815 Reply to the post :

[jboss-user] [JBoss Messaging] - IllegalStateException : Session is closed

2009-05-28 Thread gurkanerdogdu
Hi In our production system, we are sending 2 bytes 30 messages continuesly to a topic. After sending 100.000 message, serveror client throws java.jms.IllegalStateException, session is in closed state. So we catched this exception and re-creates session. Is this correct behaviour? Why the

[jboss-user] [JBossWS] - Re: No Content-type in the header

2009-03-30 Thread gurkanerdogdu
Thanks for answer. I have following jars in the endorsed library. jbossws-native-jaxrpc.jar,-jaxws.jar, -jaxws-ext.jar, -saaj.jar, Exception is : Exception in Thread main javax.xml.ws.WebServiceException : No Content-type in the header at

[jboss-user] [JBossWS] - Re: No Content-type in the header

2009-03-23 Thread gurkanerdogdu
Hey, Nobody cares my question ?? :) Thanks; View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4220206#4220206 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4220206 ___ jboss-user

[jboss-user] [JBossWS] - No Content-type in the header

2009-03-20 Thread gurkanerdogdu
Hi; JDK : 1.6.0_11-b03 Server : 5.0.1.GA I have developed an EJB3 class like this; @WebService(name=EchoWebService, portName=EchoPort, serviceName=EchoService) @Stateless @SOAPBinding(RPC) public class EchoServiceBean implement IEchoService { @WebMethod public String echo(String

[jboss-user] [JBoss Portal] - Re: How to redirect to a different URL on click of Maximized

2008-09-02 Thread gurkanerdogdu
Try to use Portal event and listener methods. Plase further look at Portal Reference Documenhtation Part 12, Portal API View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4173715#4173715 Reply to the post :

[jboss-user] [Microcontainer] - Examples in the User Documentation

2008-08-31 Thread gurkanerdogdu
Hi; I have downloaded all the source projects of the Microcontainer from the svn as mvn projects. I wonder this structure is different from the examples of the user guide? For example, there is a mvn dependecny in the example as jboss-container, but its source codes distributed to the

[jboss-user] [Microcontainer] - Web Beans Integration

2008-08-31 Thread gurkanerdogdu
Hi; I read EDR of the Web Beans Specification while ago, it look so much like Microcontainer stuff like components, component types, events, wiring, aspects etc I am wondering that Web Beans stuff will duplicate the same thinks with Microcontainer, or is implemented over Microcontainer

[jboss-user] [Microcontainer] - 10.2 Calling Constrcutor

2008-08-31 Thread gurkanerdogdu
Hi; There is an Important part that explains why the object instantiation is not done just using the annotations and say that loading all class for scanning decrease performance boots. is it possible to use javassist to scan all annotations and act accordingly to unloading classes into the

[jboss-user] [JBoss Portal] - IBM DB2 8.2

2008-08-12 Thread gurkanerdogdu
Hi ; There is no DB2 specific SQL *-ds file for portal configuration. Is this databaase supported in the JBoss Portal? Thanks for advance; View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4170137#4170137 Reply to the post :

[jboss-user] [JBoss Portal] - Re: IBM DB2 8.2

2008-08-12 Thread gurkanerdogdu
Ok. I will do it as soon as possible and lets to propogate Cheers; View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4170163#4170163 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4170163

[jboss-user] [JBoss Portal] - Localization

2008-08-12 Thread gurkanerdogdu
Hi; I am trying to localize all the default portal bundles. But these bundles place are distributed all of the places, so confusuded. Even you have to change some of the faces-config default locale parameters to successfully shown correct bundle. Is there any documentation that fully explains

[jboss-user] [JBoss Portal] - Portal 2.6.6 Login Dialog Prboem in IE 6 and IE 7

2008-08-10 Thread gurkanerdogdu
Hi; I have downloaded a JBoss Portal 2.6.6 GA. whenever I like to login into the system via model login dialog, login screen is not displayed correctly in internet explorer 6 and internet explorer 7 family browsers. Login buttons are not placed correctly and are not seen in the dialog. It

[jboss-user] [JBoss Portal] - Re: java.lang.OutofMemoryException

2007-08-16 Thread gurkanerdogdu
| 10:39:07,765 INFO [Server] Starting JBoss (MX MicroKernel)... | 10:39:07,765 INFO [Server] Release ID: JBoss [Trinity] 4.2.0.GA (build: SVNTag=JBoss_4_2_0_GA date=200705111440) | 10:39:07,781 INFO [Server] Home Dir: D:\jboss-4.2.0.GA | 10:39:07,781 INFO [Server] Home URL:

[jboss-user] [JBoss Portal] - java.lang.OutofMemoryException

2007-08-15 Thread gurkanerdogdu
Hi; I downloaded the 2.6 Cr1 bin, deploy sar into the JBOss 4.2.0, using mysql datasource. After deploying, lots of logging related with jboss cache into the console and get exception. I disable info log, restart the server, got same exception... Help for this is appreciated; View the

[jboss-user] [JBoss Portal] - Re: java.lang.OutofMemoryException

2007-08-15 Thread gurkanerdogdu
Hi thanks for answer, I tried to increase JBoss heap size Xmx to 1024, but the problem is still there. I started the jboss in eclipse jboss server plugin, some part of the exception trace is here; | 13:44:35,031 INFO [PortletAppDeployment] Parsing /portal-core/jboss-portlet.xml |

[jboss-user] [JBoss Portal] - Re: java.lang.OutofMemoryException

2007-08-15 Thread gurkanerdogdu
I restart the server, but this time no error; Its awesome View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4074373#4074373 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4074373

[jboss-user] [JBoss Portal] - Re: java.lang.OutofMemoryException

2007-08-15 Thread gurkanerdogdu
When request to http://localhost:8080/portal exception is | | 4:00:03,937 WARN [arjLoggerI18N] [com.arjuna.ats.arjuna.coordinator.TwoPhaseCoordinator_2] TwoPhaseCoordinator.beforeCompletion - failed for [EMAIL PROTECTED] | java.lang.OutOfMemoryError: Java heap space | 14:00:15,125

[jboss-user] [JBossCache] - Re: JBossCacheIDE 1.0 Released

2007-06-18 Thread gurkanerdogdu
You downloaded no dependency plugin so you got NPE because of library dependency of the plugin.You have to manually put all the libraries that ide requires into the lib folder of the plugin. Another solution is that you go downloaded page and download standalone version with dependency. IDE

[jboss-user] [JBossCache] - Re: Using Jboss Cache IDE on EJB3 4.0.5.GA server

2006-12-18 Thread gurkanerdogdu
Hi; First of all, last cache ide built in JBoss IDE 2.0.0Beta2 is compatible wih JBoss Cache 1.4.0 version. Be able to view cache content in the server via eclipse, you have to put jndi of TreeCache service via mbean definition in the cache-service.xml file like mbean code

[jboss-user] [JBossCache] - Re: TreeCache API auto-completion in Eclipse IDE

2006-09-04 Thread gurkanerdogdu
anonymous wrote : Then I tried JBoss Cache IDE 1.0 and created a new JBoss Cache Project You now could use the JBoss Cache IDE 2.0 version of the ide contains more functionality and improvements on the 1.0 version You could download the ide from main JBoss Eclipse IDE site:

[jboss-user] [JBossCache] - Re: TreeCache API auto-completion in Eclipse IDE

2006-09-01 Thread gurkanerdogdu
As far as I understand from your question, this is not related Eclipse JBoss Cache IDE question, just eclipse user question. If you like to see the all methods of the TreeCache class in eclipse environenment, first of all ensured that TreeCache class exist in your project classpath. And

[jboss-user] [JBoss Seam] - JSF 1.2 Implementation

2006-07-25 Thread gurkanerdogdu
To Seam stuffs; JBoss Seam uses MyFaces that is implementation of the JSF 1.1 from the Apache with apache related licence. Is there any plan to implement JSF 1.2 as LPGL that own by the JBoss? Thanks for advance; View the original post :

[jboss-user] [JBossCache] - Re: JBossCacheIDE 1.0 Released

2006-07-21 Thread gurkanerdogdu
[EMAIL PROTECTED] wrote : Gurkan, | | Do you know when 2.0beta is coming out? Or where can I download the plugin specifically? | | Ben, I did talk with Marshall and beta release is in the road and date is 4th August. [EMAIL PROTECTED] wrote : Gurkan, | Manik and I have been

[jboss-user] [JBossCache] - Re: JBossCacheIDE 1.0 Released

2006-07-21 Thread gurkanerdogdu
simontemple wrote : | Had a small problem because org.eclipse.ui.editors is missing from MANIFEST.MF | Yeap. But this plugin is come into play with *.wst. plugins with re-export dependency. So if you like to use plugin, build it from the feature plugin. Thanks for using cache ide.

[jboss-user] [JBossCache] - Re: JBossCacheIDE 1.0 Released

2006-07-20 Thread gurkanerdogdu
Hi; In fact, I finished the development on JBoss Cache IDE 2.0 version that is fully compatible with the JBoss Cache 1.4.0. This new cache ide have lots of new functionality for example; cache editor with code completion, view statisitcs on the remote cache instance etc... This new