hmislk / hmis

This is an Open Source Java EE based Hospital Information Management System
Other
143 stars 91 forks source link

İnstallation #418

Closed mehmetsarr closed 3 weeks ago

mehmetsarr commented 4 years ago

Hello, thank you very much to everyone who contributed to the project. Is there a tutorial video you can recommend for installation?

buddhika75 commented 4 years ago

The details of the installation are described in the wiki. We would love to do a video, but no resources available yet. Will do an update here. Thank you.

mehmetsarr commented 4 years ago

Thank you 🙂👍

mehmetsarr commented 4 years ago

Kurulumun detayları wikide açıklanmıştır. Video çekmeyi çok isterdik, ancak henüz kaynak yok. Burada bir güncelleme yapacak. Teşekkür ederim.

@buddhika75 So can we run it on windows 7 xampp?

buddhika75 commented 4 years ago

Kurulumun detayları wikide açıklanmıştır. Video çekmeyi çok isterdik, ancak henüz kaynak yok. Burada bir güncelleme yapacak. Teşekkür ederim.

@buddhika75 So can we run it on windows 7 xampp?

No. We can not use plane xampp. You have to convert Tomcat in to Tomee. Please refer to the wiki for details.

https://github.com/hmislk/hmis/wiki/Deployment-in-a-Development-Environment

simendipeter commented 4 years ago

hie. how do i get to the login screen

tamerrab2003 commented 3 years ago

when you finish installation/configuration and deploy it by netbeans on glassfish, it should open your default browser with the following URI: http://localhost:8080/hmis-master/

If its not opened then you have issue with your installation/configuration.

azharshaikh7866 commented 3 years ago

when you finish installation/configuration and deploy it by netbeans on glassfish, it should open your default browser with the following URI: http://localhost:8080/hmis-master/

If its not opened then you have issue with your installation/configuration.

No it goes to http://localhost:8080/hmis/

teeveekay commented 3 years ago

HI iam new to java.i did whatever said in installation manual.but when i run the program getting following error.

Severe: Exception while deploying the app [arogya] : Exception [EclipseLink-4002] (Eclipse Persistence Services - 2.6.1.v20150605-31e8258): org.eclipse.persistence.exceptions.DatabaseException Internal Exception: java.sql.SQLException: Error in allocating a connection. Cause: Class name is wrong or classpath is not set for : com.mysql.jdbc.jdbc2.optional.MysqlDataSource Error Code: 0 Warning:
can you explain what i did wrong.

buddhika75 commented 3 years ago

Please use payara or glassfish to create a connection pool. Then create a connection. Give its connection name in the persistence file. I will upload a video and give you the link.

teeveekay commented 3 years ago

Thanks for a reply.i will try.

teeveekay commented 3 years ago

hi i used glassfish server and created connection pool successfully. but when i run the project its not open on browser .just getting BUILD SUCCESS and created war file. here i share some screenshot.

kindly explain what i did wrong. per1 per

teeveekay commented 3 years ago

when i change RUN configuration, project run in browser but get an following error. error

teeveekay commented 3 years ago

hi finally successfully run the application and go to administration page but here i can't add the user getting You are NOT authorized message. kindly share the details where to start from.

buddhika75 commented 3 years ago

Thank you so much for your effort. Will add a script to run if there is not data in the system and push today itself.

On Sun, 24 Oct 2021 at 18:48, teeveekay @.***> wrote:

hi finally successfully run the application and go to administration page but here i can't add the user getting You are NOT authorized message. kindly share the details where to start from.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/hmislk/hmis/issues/418#issuecomment-950324087, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAJLRQTHGZI6ZTYWIHWV6VLUIQBRBANCNFSM4SKNEZYA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

teeveekay commented 3 years ago

Thank you for your reply,I'll waiting for.

teeveekay commented 3 years ago

Hi Waiting for your reply,kindly share the data.

teeveekay commented 3 years ago

HI,Waiting for your reply.After successful run i can add institution,departments but i can't add user so i need your support where to start from..or kindly share the demo data if you have.

teeveekay commented 2 years ago

Hello , I am waiting for your reply , not to able to use the application and getting an error "NOT AUTHORISED" kindly help me out and need your support Thank you

teeveekay commented 2 years ago

I successfully logged into the application and gone through the admin module, pharmacy etc., but I do not know how to use some of the modules like lab, HRM modules in your software, So I need your support for user training. Kindly update me .

ippezshelby commented 2 years ago

Hey all, thanks for the great work.... However am trying to setup development environment but am getting errors as below: Any assistance will be highly appreciated

Am using:- Windows 11 Netbean 12.6 GlassFish Server 4.1.2 MySQL Server 5.0.90

**_Severe: Exception during lifecycle processing java.lang.RuntimeException: EJB Timer Service is not available at com.sun.ejb.containers.BaseContainer.startApplication(BaseContainer.java:4009) at org.glassfish.ejb.startup.EjbApplication.start(EjbApplication.java:163) at org.glassfish.internal.data.EngineRef.start(EngineRef.java:122) at org.glassfish.internal.data.ModuleInfo.start(ModuleInfo.java:291) at org.glassfish.internal.data.ApplicationInfo.start(ApplicationInfo.java:352) at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:500) at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:219) at org.glassfish.deployment.admin.DeployCommand.execute(DeployCommand.java:491) at com.sun.enterprise.v3.admin.CommandRunnerImpl$2$1.run(CommandRunnerImpl.java:539) at com.sun.enterprise.v3.admin.CommandRunnerImpl$2$1.run(CommandRunnerImpl.java:535) at java.security.AccessController.doPrivileged(Native Method) at javax.security.auth.Subject.doAs(Subject.java:360) at com.sun.enterprise.v3.admin.CommandRunnerImpl$2.execute(CommandRunnerImpl.java:534) at com.sun.enterprise.v3.admin.CommandRunnerImpl$3.run(CommandRunnerImpl.java:565) at com.sun.enterprise.v3.admin.CommandRunnerImpl$3.run(CommandRunnerImpl.java:557) at java.security.AccessController.doPrivileged(Native Method) at javax.security.auth.Subject.doAs(Subject.java:360) at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:556) at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:1464) at com.sun.enterprise.v3.admin.CommandRunnerImpl.access$1300(CommandRunnerImpl.java:109) at com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1846) at com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1722) at com.sun.enterprise.v3.admin.AdminAdapter.doCommand(AdminAdapter.java:534) at com.sun.enterprise.v3.admin.AdminAdapter.onMissingResource(AdminAdapter.java:224) at org.glassfish.grizzly.http.server.StaticHttpHandlerBase.service(StaticHttpHandlerBase.java:189) at com.sun.enterprise.v3.services.impl.ContainerMapper$HttpHandlerCallable.call(ContainerMapper.java:459) at com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:167) at org.glassfish.grizzly.http.server.HttpHandler.runService(HttpHandler.java:206) at org.glassfish.grizzly.http.server.HttpHandler.doHandle(HttpHandler.java:180) at org.glassfish.grizzly.http.server.HttpServerFilter.handleRead(HttpServerFilter.java:235) at org.glassfish.grizzly.filterchain.ExecutorResolver$9.execute(ExecutorResolver.java:119) at org.glassfish.grizzly.filterchain.DefaultFilterChain.executeFilter(DefaultFilterChain.java:283) at org.glassfish.grizzly.filterchain.DefaultFilterChain.executeChainPart(DefaultFilterChain.java:200) at org.glassfish.grizzly.filterchain.DefaultFilterChain.execute(DefaultFilterChain.java:132) at org.glassfish.grizzly.filterchain.DefaultFilterChain.process(DefaultFilterChain.java:111) at org.glassfish.grizzly.ProcessorExecutor.execute(ProcessorExecutor.java:77) at org.glassfish.grizzly.nio.transport.TCPNIOTransport.fireIOEvent(TCPNIOTransport.java:536) at org.glassfish.grizzly.strategies.AbstractIOStrategy.fireIOEvent(AbstractIOStrategy.java:112) at org.glassfish.grizzly.strategies.WorkerThreadIOStrategy.run0(WorkerThreadIOStrategy.java:117) at org.glassfish.grizzly.strategies.WorkerThreadIOStrategy.access$100(WorkerThreadIOStrategy.java:56) at org.glassfish.grizzly.strategies.WorkerThreadIOStrategy$WorkerThreadRunnable.run(WorkerThreadIOStrategy.java:137) at org.glassfish.grizzly.threadpool.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:591) at org.glassfish.grizzly.threadpool.AbstractThreadPool$Worker.run(AbstractThreadPool.java:571) at java.lang.Thread.run(Thread.java:748)

Severe: Exception while loading the app Severe: Undeployment failed for context /hmis Warning: EJB Timer Service is not available. Timers for application with id 107940896189644800 will not be deleted Info: /file:/D:/hmis/target/arogya-2.0-SNAPSHOT/WEB-INF/classes/hmisPU logout successful Severe: Exception while loading the app : EJB Timer Service is not available Warning:**

Thanks and regards

buddhika75 commented 2 years ago

Please arrange google meet any day, except between 6am to 9am ISP and 5pm to 10pm ISP. I will explain.

On Sat, 12 Mar 2022 at 07:15, Ippez Robert @.***> wrote:

Hey all, thanks for the great work.... However am trying to setup development environment but am getting errors as below: Any assistance will be highly appreciated

Am using:- Windows 11 Netbean 12.6 GlassFish Server 4.1.2 MySQL Server 5.0.90

**_Severe: Exception during lifecycle processing java.lang.RuntimeException: EJB Timer Service is not available at com.sun.ejb.containers.BaseContainer.startApplication(BaseContainer.java:4009) at org.glassfish.ejb.startup.EjbApplication.start(EjbApplication.java:163) at org.glassfish.internal.data.EngineRef.start(EngineRef.java:122) at org.glassfish.internal.data.ModuleInfo.start(ModuleInfo.java:291) at org.glassfish.internal.data.ApplicationInfo.start(ApplicationInfo.java:352) at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:500) at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:219) at org.glassfish.deployment.admin.DeployCommand.execute(DeployCommand.java:491) at com.sun.enterprise.v3.admin.CommandRunnerImpl$2$1.run(CommandRunnerImpl.java:539) at com.sun.enterprise.v3.admin.CommandRunnerImpl$2$1.run(CommandRunnerImpl.java:535) at java.security.AccessController.doPrivileged(Native Method) at javax.security.auth.Subject.doAs(Subject.java:360) at com.sun.enterprise.v3.admin.CommandRunnerImpl$2.execute(CommandRunnerImpl.java:534) at com.sun.enterprise.v3.admin.CommandRunnerImpl$3.run(CommandRunnerImpl.java:565) at com.sun.enterprise.v3.admin.CommandRunnerImpl$3.run(CommandRunnerImpl.java:557) at java.security.AccessController.doPrivileged(Native Method) at javax.security.auth.Subject.doAs(Subject.java:360) at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:556) at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:1464) at com.sun.enterprise.v3.admin.CommandRunnerImpl.access$1300(CommandRunnerImpl.java:109) at com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1846) at com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1722) at com.sun.enterprise.v3.admin.AdminAdapter.doCommand(AdminAdapter.java:534) at com.sun.enterprise.v3.admin.AdminAdapter.onMissingResource(AdminAdapter.java:224) at org.glassfish.grizzly.http.server.StaticHttpHandlerBase.service(StaticHttpHandlerBase.java:189) at com.sun.enterprise.v3.services.impl.ContainerMapper$HttpHandlerCallable.call(ContainerMapper.java:459) at com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:167) at org.glassfish.grizzly.http.server.HttpHandler.runService(HttpHandler.java:206) at org.glassfish.grizzly.http.server.HttpHandler.doHandle(HttpHandler.java:180) at org.glassfish.grizzly.http.server.HttpServerFilter.handleRead(HttpServerFilter.java:235) at org.glassfish.grizzly.filterchain.ExecutorResolver$9.execute(ExecutorResolver.java:119) at org.glassfish.grizzly.filterchain.DefaultFilterChain.executeFilter(DefaultFilterChain.java:283) at org.glassfish.grizzly.filterchain.DefaultFilterChain.executeChainPart(DefaultFilterChain.java:200) at org.glassfish.grizzly.filterchain.DefaultFilterChain.execute(DefaultFilterChain.java:132) at org.glassfish.grizzly.filterchain.DefaultFilterChain.process(DefaultFilterChain.java:111) at org.glassfish.grizzly.ProcessorExecutor.execute(ProcessorExecutor.java:77) at org.glassfish.grizzly.nio.transport.TCPNIOTransport.fireIOEvent(TCPNIOTransport.java:536) at org.glassfish.grizzly.strategies.AbstractIOStrategy.fireIOEvent(AbstractIOStrategy.java:112) at org.glassfish.grizzly.strategies.WorkerThreadIOStrategy.run0(WorkerThreadIOStrategy.java:117) at org.glassfish.grizzly.strategies.WorkerThreadIOStrategy.access$100(WorkerThreadIOStrategy.java:56) at org.glassfish.grizzly.strategies.WorkerThreadIOStrategy$WorkerThreadRunnable.run(WorkerThreadIOStrategy.java:137) at org.glassfish.grizzly.threadpool.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:591) at org.glassfish.grizzly.threadpool.AbstractThreadPool$Worker.run(AbstractThreadPool.java:571) at java.lang.Thread.run(Thread.java:748)

Severe: Exception while loading the app Severe: Undeployment failed for context /hmis Warning: EJB Timer Service is not available. Timers for application with id 107940896189644800 will not be deleted Info: /file:/D:/hmis/target/arogya-2.0-SNAPSHOT/WEB-INF/classes/

*hmisPU logout successful Severe: Exception while loading the app : EJB Timer Service is not available Warning:***

Thanks and regards

— Reply to this email directly, view it on GitHub https://github.com/hmislk/hmis/issues/418#issuecomment-1065783935, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAJLRQWV6EKCU3ZUIIDF4QTU7PZNDANCNFSM4SKNEZYA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

You are receiving this because you were mentioned.Message ID: @.***>

ippezshelby commented 2 years ago

@buddhika75 can we have it tomorrow 25 Oct 2022 at 10:30am IST

thanks

buddhika75 commented 2 years ago

Yes, please schedule a google calendar event with the link to the online meeting. I will participate.

On Mon, 24 Oct 2022 at 11:52, Ippez Robert @.***> wrote:

@buddhika75 https://github.com/buddhika75 can we have it tomorrow at 10:30am IST

thanks

— Reply to this email directly, view it on GitHub https://github.com/hmislk/hmis/issues/418#issuecomment-1288477386, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAJLRQUA2TXRAWO5ZCB66IDWEYTLZANCNFSM4SKNEZYA . You are receiving this because you were mentioned.Message ID: @.***>

ippezshelby commented 2 years ago

I have created a meeting to help those of us who have never succeeded in running the application, any interested person can join by the link below

Guidance through Installation Process of HMIS by Dr. M H B Ariyaratne

Time: Tuesday, October 25⋅10:30 – 11:00am IST ·

Google Meet joining info Video call link: https://meet.google.com/iis-rgqe-xwc

buddhika75 commented 2 years ago

I am ready. Can I have email address to share the calender event.

Regards,

On Mon, 24 Oct 2022 at 14:30, Ippez Robert @.***> wrote:

I have created a meeting to help those of us who have never succeeded in running the application, any interested person can join by the link below

Guidance through Installation Process of HMIS by Dr. M H B Ariyaratne

Time: Tuesday, October 25⋅10:30 – 11:00am IST ·

Google Meet joining info Video call link: https://meet.google.com/iis-rgqe-xwc

— Reply to this email directly, view it on GitHub https://github.com/hmislk/hmis/issues/418#issuecomment-1288684767, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAJLRQR44KGVFJN2Q45EYZ3WEZF3DANCNFSM4SKNEZYA . You are receiving this because you were mentioned.Message ID: @.***>

ippezshelby commented 2 years ago

ippezrobert@apache.org

buddhika75 commented 2 years ago

I am logged in. please let me in

On Tue, 25 Oct 2022 at 09:04, Ippez Robert @.***> wrote:

@.***

— Reply to this email directly, view it on GitHub https://github.com/hmislk/hmis/issues/418#issuecomment-1289930880, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAJLRQU2ZXZITREELRVIUFTWE5IKVANCNFSM4SKNEZYA . You are receiving this because you were mentioned.Message ID: @.***>

ippezshelby commented 2 years ago

Iam logged in too...

ghost commented 2 years ago

when i change RUN configuration, project run in browser but get an following error. error

Can you please share how you resolve it?

buddhika75 commented 2 years ago

Create a Java Connection with the name as in the persistance.xml file

Link

ghost commented 2 years ago

Create a Java Connection with the name as in the persistance.xml file

Link

I think I have a same.

Screenshot 2022-12-01 at 17 34 56 Screenshot 2022-12-01 at 17 35 11 Screenshot 2022-12-01 at 17 35 42
buddhika75 commented 2 years ago

The tables are NOT created it seems. Need to add table generation strategy

Full FIle as below

<?xml version="1.0" encoding="UTF-8"?>
<persistence version="2.0" xmlns="http://java.sun.com/xml/ns/persistence" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/persistence http://java.sun.com/xml/ns/persistence/persistence_2_0.xsd">
    <persistence-unit name="hmisPU" transaction-type="JTA">
        <jta-data-source>jdbc/rh</jta-data-source>
        <exclude-unlisted-classes>false</exclude-unlisted-classes>
        <shared-cache-mode>ALL</shared-cache-mode>
        <properties>
            <property name="javax.persistence.schema-generation.database.action" value="create-or-extend-tables"/>
        </properties>
    </persistence-unit>
</persistence>